org.apache.myfaces.custom.datascroller
Class HtmlDataScroller
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIPanel
javax.faces.component.html.HtmlPanelGroup
org.apache.myfaces.component.html.ext.HtmlPanelGroup
org.apache.myfaces.custom.datascroller.HtmlDataScroller
- All Implemented Interfaces:
- javax.faces.component.ActionSource, javax.faces.component.StateHolder, DisplayValueOnlyCapable, UserRoleAware
public class HtmlDataScroller
- extends HtmlPanelGroup
- implements javax.faces.component.ActionSource
- Version:
- $Revision: 226982 $ $Date: 2005-08-02 12:05:18 +0200 (Tue, 02 Aug 2005) $
- Author:
- Thomas Spiegl (latest modification by $Author: mbr $)
Methods inherited from class org.apache.myfaces.component.html.ext.HtmlPanelGroup |
getClientId, getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, getEnabledOnUserRole, getVisibleOnUserRole, isDisplayValueOnly, isRendered, isSetDisplayValueOnly, setDisplayValueOnly, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass, setEnabledOnUserRole, setVisibleOnUserRole |
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
FACET_FIRST
public static final java.lang.String FACET_FIRST
FACET_PREVIOUS
public static final java.lang.String FACET_PREVIOUS
FACET_NEXT
public static final java.lang.String FACET_NEXT
FACET_LAST
public static final java.lang.String FACET_LAST
FACET_FAST_FORWARD
public static final java.lang.String FACET_FAST_FORWARD
FACET_FAST_REWIND
public static final java.lang.String FACET_FAST_REWIND
HtmlDataScroller
public HtmlDataScroller()
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event)
- Overrides:
queueEvent
in class javax.faces.component.UIComponentBase
- See Also:
UIComponentBase.queueEvent(javax.faces.event.FacesEvent)
broadcast
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
- Overrides:
broadcast
in class javax.faces.component.UIComponentBase
- Throws:
javax.faces.event.AbortProcessingException
- See Also:
UIComponentBase.broadcast(javax.faces.event.FacesEvent)
broadcastToActionListener
protected void broadcastToActionListener(ScrollerActionEvent event)
- Parameters:
event
-
getUIData
public javax.faces.component.UIData getUIData()
- Returns:
- int
getPageIndex
public int getPageIndex()
- Returns:
- the page index of the uidata
getPageCount
public int getPageCount()
- Returns:
- the page count of the uidata
getRowCount
public int getRowCount()
- Returns:
- int
getRows
public int getRows()
- Returns:
- int
getFirstRow
public int getFirstRow()
- Returns:
- int
findUIData
protected javax.faces.component.UIData findUIData()
setFirst
public void setFirst(javax.faces.component.UIComponent first)
getFirst
public javax.faces.component.UIComponent getFirst()
setLast
public void setLast(javax.faces.component.UIComponent last)
getLast
public javax.faces.component.UIComponent getLast()
setNext
public void setNext(javax.faces.component.UIComponent next)
getNext
public javax.faces.component.UIComponent getNext()
setFastForward
public void setFastForward(javax.faces.component.UIComponent previous)
getFastForward
public javax.faces.component.UIComponent getFastForward()
setFastRewind
public void setFastRewind(javax.faces.component.UIComponent previous)
getFastRewind
public javax.faces.component.UIComponent getFastRewind()
setPrevious
public void setPrevious(javax.faces.component.UIComponent previous)
getPrevious
public javax.faces.component.UIComponent getPrevious()
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in class javax.faces.component.UIComponentBase
getAction
public javax.faces.el.MethodBinding getAction()
- Specified by:
getAction
in interface javax.faces.component.ActionSource
- See Also:
ActionSource.getAction()
setAction
public void setAction(javax.faces.el.MethodBinding action)
- Specified by:
setAction
in interface javax.faces.component.ActionSource
- See Also:
ActionSource.setAction(javax.faces.el.MethodBinding)
setActionListener
public void setActionListener(javax.faces.el.MethodBinding actionListener)
- Specified by:
setActionListener
in interface javax.faces.component.ActionSource
- See Also:
ActionSource.setActionListener(javax.faces.el.MethodBinding)
getActionListener
public javax.faces.el.MethodBinding getActionListener()
- Specified by:
getActionListener
in interface javax.faces.component.ActionSource
- See Also:
ActionSource.getActionListener()
addActionListener
public void addActionListener(javax.faces.event.ActionListener listener)
- Specified by:
addActionListener
in interface javax.faces.component.ActionSource
- See Also:
ActionSource.addActionListener(javax.faces.event.ActionListener)
getActionListeners
public javax.faces.event.ActionListener[] getActionListeners()
- Specified by:
getActionListeners
in interface javax.faces.component.ActionSource
- See Also:
ActionSource.getActionListeners()
removeActionListener
public void removeActionListener(javax.faces.event.ActionListener listener)
- Specified by:
removeActionListener
in interface javax.faces.component.ActionSource
- See Also:
ActionSource.removeActionListener(javax.faces.event.ActionListener)
getFamily
public java.lang.String getFamily()
- Overrides:
getFamily
in class javax.faces.component.UIPanel
setFor
public void setFor(java.lang.String forValue)
getFor
public java.lang.String getFor()
setFastStep
public void setFastStep(int fastStep)
getFastStep
public int getFastStep()
setPageIndexVar
public void setPageIndexVar(java.lang.String pageIndexVar)
getPageIndexVar
public java.lang.String getPageIndexVar()
setPageCountVar
public void setPageCountVar(java.lang.String pageCountVar)
getPageCountVar
public java.lang.String getPageCountVar()
setRowsCountVar
public void setRowsCountVar(java.lang.String rowsCountVar)
getRowsCountVar
public java.lang.String getRowsCountVar()
setDisplayedRowsCountVar
public void setDisplayedRowsCountVar(java.lang.String displayedRowsCountVar)
getDisplayedRowsCountVar
public java.lang.String getDisplayedRowsCountVar()
setFirstRowIndexVar
public void setFirstRowIndexVar(java.lang.String firstRowIndexVar)
getFirstRowIndexVar
public java.lang.String getFirstRowIndexVar()
setLastRowIndexVar
public void setLastRowIndexVar(java.lang.String lastRowIndexVar)
getLastRowIndexVar
public java.lang.String getLastRowIndexVar()
setStyle
public void setStyle(java.lang.String style)
- Overrides:
setStyle
in class javax.faces.component.html.HtmlPanelGroup
getStyle
public java.lang.String getStyle()
- Overrides:
getStyle
in class javax.faces.component.html.HtmlPanelGroup
setStyleClass
public void setStyleClass(java.lang.String styleClass)
- Overrides:
setStyleClass
in class javax.faces.component.html.HtmlPanelGroup
getStyleClass
public java.lang.String getStyleClass()
- Overrides:
getStyleClass
in class javax.faces.component.html.HtmlPanelGroup
setPaginator
public void setPaginator(boolean paginator)
isPaginator
public boolean isPaginator()
setPaginatorMaxPages
public void setPaginatorMaxPages(int paginatorMaxPages)
getPaginatorMaxPages
public int getPaginatorMaxPages()
setPaginatorTableClass
public void setPaginatorTableClass(java.lang.String paginatorTableClass)
getPaginatorTableClass
public java.lang.String getPaginatorTableClass()
setPaginatorTableStyle
public void setPaginatorTableStyle(java.lang.String paginatorTableStyle)
getPaginatorTableStyle
public java.lang.String getPaginatorTableStyle()
setPaginatorColumnClass
public void setPaginatorColumnClass(java.lang.String paginatorColumnClass)
getPaginatorColumnClass
public java.lang.String getPaginatorColumnClass()
setPaginatorColumnStyle
public void setPaginatorColumnStyle(java.lang.String paginatorColumnStyle)
getPaginatorColumnStyle
public java.lang.String getPaginatorColumnStyle()
setPaginatorActiveColumnClass
public void setPaginatorActiveColumnClass(java.lang.String paginatorActiveColumnClass)
getPaginatorActiveColumnClass
public java.lang.String getPaginatorActiveColumnClass()
setPaginatorActiveColumnStyle
public void setPaginatorActiveColumnStyle(java.lang.String paginatorActiveColumnStyle)
getPaginatorActiveColumnStyle
public java.lang.String getPaginatorActiveColumnStyle()
setRenderFacetsIfSinglePage
public void setRenderFacetsIfSinglePage(boolean renderFacetsIfSinglePage)
isRenderFacetsIfSinglePage
public boolean isRenderFacetsIfSinglePage()
setImmediate
public void setImmediate(boolean immediate)
- Specified by:
setImmediate
in interface javax.faces.component.ActionSource
isImmediate
public boolean isImmediate()
- Specified by:
isImmediate
in interface javax.faces.component.ActionSource
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
- Overrides:
saveState
in class HtmlPanelGroup
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
- Overrides:
restoreState
in class HtmlPanelGroup