org.apache.myfaces.tobago.component
Class UIData
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIData
org.apache.myfaces.tobago.component.UIData
- All Implemented Interfaces:
- javax.faces.component.NamingContainer, javax.faces.component.StateHolder, AjaxComponent, SheetStateChangeSource, SortActionSource
public class UIData
- extends javax.faces.component.UIData
- implements SheetStateChangeSource, SortActionSource, AjaxComponent
| Fields inherited from class javax.faces.component.UIData |
COMPONENT_FAMILY |
| Fields inherited from interface javax.faces.component.NamingContainer |
SEPARATOR_CHAR |
| Methods inherited from class javax.faces.component.UIData |
getClientId, getFamily, getFirst, getFooter, getHeader, getRowCount, getRowData, getRowIndex, getValue, getVar, isRowAvailable, processValidators, setFirst, setFooter, setHeader, setRowIndex, setValue, setValueBinding, setVar |
| Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, decode, encodeChildren, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
FACET_SORTER
public static final String FACET_SORTER
- See Also:
- Constant Field Values
SORTER_ID
public static final String SORTER_ID
- See Also:
- Constant Field Values
ATTR_SCROLL_POSITION
public static final String ATTR_SCROLL_POSITION
- See Also:
- Constant Field Values
NONE
public static final String NONE
- See Also:
- Constant Field Values
SINGLE
public static final String SINGLE
- See Also:
- Constant Field Values
MULTI
public static final String MULTI
- See Also:
- Constant Field Values
DEFAULT_DIRECT_LINK_COUNT
public static final int DEFAULT_DIRECT_LINK_COUNT
- See Also:
- Constant Field Values
DEFAULT_ROW_COUNT
public static final int DEFAULT_ROW_COUNT
- See Also:
- Constant Field Values
UIData
public UIData()
resetColumnWidths
public void resetColumnWidths()
- Remove the (by user) resized column widths. An application may provide a button to access it.
Since 1.0.26.
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext facesContext)
throws IOException
- Overrides:
encodeBegin in class javax.faces.component.UIData
- Throws:
IOException
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext)
throws IOException
- Overrides:
encodeEnd in class javax.faces.component.UIData
- Throws:
IOException
processDecodes
public void processDecodes(javax.faces.context.FacesContext context)
- Overrides:
processDecodes in class javax.faces.component.UIData
getShowRowRange
public String getShowRowRange()
setShowRowRange
public void setShowRowRange(String showRowRange)
getShowPageRange
public String getShowPageRange()
setShowPageRange
public void setShowPageRange(String showPageRange)
getColumns
public String getColumns()
setColumns
public void setColumns(String columns)
getShowDirectLinks
public String getShowDirectLinks()
setShowDirectLinks
public void setShowDirectLinks(String showDirectLinks)
getSelectable
public String getSelectable()
setSelectable
public void setSelectable(String selectable)
getDirectLinkCount
public Integer getDirectLinkCount()
setDirectLinkCount
public void setDirectLinkCount(Integer directLinkCount)
setState
public void setState(SheetState state)
getSheetState
public SheetState getSheetState(javax.faces.context.FacesContext facesContext)
getColumnLayout
public LayoutTokens getColumnLayout()
getLast
public int getLast()
getPage
public int getPage()
getPages
public int getPages()
getRenderedChildrenOf
public List<javax.faces.component.UIComponent> getRenderedChildrenOf(javax.faces.component.UIColumn column)
isAtBeginning
public boolean isAtBeginning()
hasRowCount
public boolean hasRowCount()
isAtEnd
public boolean isAtEnd()
getLastPageIndex
public int getLastPageIndex()
processUpdates
public void processUpdates(javax.faces.context.FacesContext context)
- Overrides:
processUpdates in class javax.faces.component.UIData
saveState
public Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState in interface javax.faces.component.StateHolder- Overrides:
saveState in class javax.faces.component.UIData
restoreState
public void restoreState(javax.faces.context.FacesContext context,
Object savedState)
- Specified by:
restoreState in interface javax.faces.component.StateHolder- Overrides:
restoreState in class javax.faces.component.UIData
getAllColumns
public List<javax.faces.component.UIColumn> getAllColumns()
getRenderedColumns
public List<javax.faces.component.UIColumn> getRenderedColumns()
getSortActionListener
public javax.faces.el.MethodBinding getSortActionListener()
- Specified by:
getSortActionListener in interface SortActionSource
setSortActionListener
public void setSortActionListener(javax.faces.el.MethodBinding sortActionListener)
- Specified by:
setSortActionListener in interface SortActionSource
queueEvent
public void queueEvent(javax.faces.event.FacesEvent facesEvent)
- Overrides:
queueEvent in class javax.faces.component.UIData
broadcast
public void broadcast(javax.faces.event.FacesEvent facesEvent)
throws javax.faces.event.AbortProcessingException
- Overrides:
broadcast in class javax.faces.component.UIData
- Throws:
javax.faces.event.AbortProcessingException
addStateChangeListener
public void addStateChangeListener(SheetStateChangeListener listener)
- Specified by:
addStateChangeListener in interface SheetStateChangeSource
getStateChangeListeners
public SheetStateChangeListener[] getStateChangeListeners()
- Specified by:
getStateChangeListeners in interface SheetStateChangeSource
removeStateChangeListener
public void removeStateChangeListener(SheetStateChangeListener listener)
- Specified by:
removeStateChangeListener in interface SheetStateChangeSource
getStateChangeListener
public javax.faces.el.MethodBinding getStateChangeListener()
- Specified by:
getStateChangeListener in interface SheetStateChangeSource
setStateChangeListener
public void setStateChangeListener(javax.faces.el.MethodBinding stateChangeListener)
- Specified by:
setStateChangeListener in interface SheetStateChangeSource
getWidthList
public List<Integer> getWidthList()
getRows
public int getRows()
- Overrides:
getRows in class javax.faces.component.UIData
setRows
public void setRows(int rows)
- Overrides:
setRows in class javax.faces.component.UIData
isShowHeader
public boolean isShowHeader()
setShowHeader
public void setShowHeader(boolean showHeader)
encodeAjax
public void encodeAjax(javax.faces.context.FacesContext facesContext)
throws IOException
- Specified by:
encodeAjax in interface AjaxComponent
- Throws:
IOException
processAjax
public void processAjax(javax.faces.context.FacesContext facesContext)
throws IOException
- Specified by:
processAjax in interface AjaxComponent
- Throws:
IOException
getScrollPosition
public Integer[] getScrollPosition()
findComponent
public javax.faces.component.UIComponent findComponent(String searchId)
- Overrides:
findComponent in class javax.faces.component.UIComponentBase
Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.