org.apache.myfaces.custom.datascroller
Class HtmlDataScroller

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIPanel
              extended by org.apache.myfaces.custom.datascroller.AbstractHtmlDataScroller
                  extended by org.apache.myfaces.custom.datascroller.HtmlDataScroller
All Implemented Interfaces:
javax.faces.component.ActionSource, javax.faces.component.StateHolder, DisplayValueOnlyAware, ForceIdAware, StyleAware, UniversalProperties, UserRoleAware, DisplayValueOnlyCapable

public class HtmlDataScroller
extends AbstractHtmlDataScroller


Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String DEFAULT_RENDERER_TYPE
           
 
Fields inherited from class org.apache.myfaces.custom.datascroller.AbstractHtmlDataScroller
FACET_FAST_FORWARD, FACET_FAST_REWIND, FACET_FIRST, FACET_LAST, FACET_NEXT, FACET_PREVIOUS
 
Fields inherited from interface org.apache.myfaces.component.UserRoleAware
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR
 
Fields inherited from interface org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable
DISPLAY_VALUE_ONLY_ATTR, DISPLAY_VALUE_ONLY_STYLE_ATTR, DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR
 
Constructor Summary
HtmlDataScroller()
           
 
Method Summary
 int getColspan()
          standard html colspan attribute for table cell
 java.lang.String getDir()
          HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
 java.lang.String getDisplayedRowsCountVar()
          A parameter name, under which the actual displayed rows count is set in request scope similar to the var parameter.
 java.lang.Boolean getDisplayValueOnly()
          If true, renders only the value of the component, but no input widget.
 java.lang.String getDisplayValueOnlyStyle()
          Style used when displayValueOnly is true.
 java.lang.String getDisplayValueOnlyStyleClass()
          Style class used when displayValueOnly is true.
 java.lang.String getEnabledOnUserRole()
          If user is in given role, this component will be rendered normally.
 java.lang.String getFamily()
           
 java.lang.String getFastfStyleClass()
          style-class for data-scroller fast-forward-element
 java.lang.String getFastrStyleClass()
          style-class for data-scroller fast-rewind-element
 int getFastStep()
          step (pages) used for fastforward and fastrewind
 java.lang.String getFirstRowIndexVar()
          A parameter name, under which the actual first displayed row index is set in request scope similar to the var parameter.
 java.lang.String getFirstStyleClass()
          style-class for data-scroller first-element
 java.lang.String getFor()
          The JSF id of a UIData component that this scroller will affect.
 java.lang.String getLang()
          HTML: The base language of this document.
 java.lang.String getLastRowIndexVar()
          A parameter name, under which the actual last displayed row index is set in request scope similar to the var parameter.
 java.lang.String getLastStyleClass()
          style-class for data-scroller last-element
 java.lang.String getLayout()
          The layout this scroller should render with.
 java.lang.String getNextStyleClass()
          style-class for dataScroller next-element
 java.lang.String getOnclick()
          HTML: Script to be invoked when the element is clicked.
 java.lang.String getOndblclick()
          HTML: Script to be invoked when the element is double-clicked.
 java.lang.String getPageCountVar()
          A parameter name, under which the actual page count is set in request scope similar to the var parameter.
 java.lang.String getPageIndexVar()
          A parameter name, under which the actual page index is set in request scope similar to the var parameter.
 java.lang.String getPaginatorActiveColumnClass()
          styleClass for paginator's column with pageIndex = currentPageIndex
 java.lang.String getPaginatorActiveColumnStyle()
          style for paginator's column with pageIndex = currentPageIndex
 java.lang.String getPaginatorColumnClass()
          styleClass for paginator's column
 java.lang.String getPaginatorColumnStyle()
          style for paginator's column
 int getPaginatorMaxPages()
          The maximum amount of pages to be displayed in the paginator.
 java.lang.String getPaginatorTableClass()
          styleclass for pagingator
 java.lang.String getPaginatorTableStyle()
          style for pagingator
 java.lang.String getPreviousStyleClass()
          style-class for data-scroller previous-element
 java.lang.String getRowsCountVar()
          A parameter name, under which the actual rows count is set in request scope similar to the var parameter.
 java.lang.String getStyle()
          HTML: CSS styling instructions.
 java.lang.String getStyleClass()
          The CSS class for this element.
 java.lang.String getTitle()
          HTML: An advisory title for this element.
 java.lang.String getVisibleOnUserRole()
          If user is in given role, this component will be rendered normally.
 boolean isDisableFacetLinksIfFirstPage()
          If the dataScroller is on the first page (index is at 1), links for first, prev and fastprev are disabled.
 boolean isDisableFacetLinksIfLastPage()
          If the dataScroller is on the last page (index is at pagecount), links for last, next and fastnext are disabled.
 boolean isForceId()
          If true, this component will force the use of the specified id when rendering.
 boolean isForceIdIndex()
          If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components that are contained within a "list." This value will be true by default and the value will be ignored if the value of forceId is false (or not specified.)
 boolean isImmediate()
          True means that the default ActionListener should be executed immediately (i.e.
 boolean isPaginator()
          If set true, then the paginator gets rendered
 boolean isPaginatorRenderLinkForActive()
          'true' - render a link for the paginator's column with pageIndex = currentPageIndex.
 boolean isRenderFacetLinksIfFirstPage()
          If the dataScroller is on the first page (index is at 1), links for first, prev and fastprev are rendered.
 boolean isRenderFacetLinksIfLastPage()
          If the dataScroller is on the last page (index is at pagecount), links for last, next and fastnext are rendered.
 boolean isRenderFacetsIfSinglePage()
          If set to false, the facets aren't renderd if all the lines are contained on a single page.
 void restoreState(javax.faces.context.FacesContext facesContext, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
           
 void setColspan(int colspan)
           
 void setDir(java.lang.String dir)
           
 void setDisableFacetLinksIfFirstPage(boolean disableFacetLinksIfFirstPage)
           
 void setDisableFacetLinksIfLastPage(boolean disableFacetLinksIfLastPage)
           
 void setDisplayedRowsCountVar(java.lang.String displayedRowsCountVar)
           
 void setDisplayValueOnly(java.lang.Boolean displayValueOnly)
           
 void setDisplayValueOnlyStyle(java.lang.String displayValueOnlyStyle)
           
 void setDisplayValueOnlyStyleClass(java.lang.String displayValueOnlyStyleClass)
           
 void setEnabledOnUserRole(java.lang.String enabledOnUserRole)
           
 void setFastfStyleClass(java.lang.String fastfStyleClass)
           
 void setFastrStyleClass(java.lang.String fastrStyleClass)
           
 void setFastStep(int fastStep)
           
 void setFirstRowIndexVar(java.lang.String firstRowIndexVar)
           
 void setFirstStyleClass(java.lang.String firstStyleClass)
           
 void setFor(java.lang.String forParam)
           
 void setForceId(boolean forceId)
           
 void setForceIdIndex(boolean forceIdIndex)
           
 void setImmediate(boolean immediate)
           
 void setLang(java.lang.String lang)
           
 void setLastRowIndexVar(java.lang.String lastRowIndexVar)
           
 void setLastStyleClass(java.lang.String lastStyleClass)
           
 void setLayout(java.lang.String layout)
           
 void setNextStyleClass(java.lang.String nextStyleClass)
           
 void setOnclick(java.lang.String onclick)
           
 void setOndblclick(java.lang.String ondblclick)
           
 void setPageCountVar(java.lang.String pageCountVar)
           
 void setPageIndexVar(java.lang.String pageIndexVar)
           
 void setPaginator(boolean paginator)
           
 void setPaginatorActiveColumnClass(java.lang.String paginatorActiveColumnClass)
           
 void setPaginatorActiveColumnStyle(java.lang.String paginatorActiveColumnStyle)
           
 void setPaginatorColumnClass(java.lang.String paginatorColumnClass)
           
 void setPaginatorColumnStyle(java.lang.String paginatorColumnStyle)
           
 void setPaginatorMaxPages(int paginatorMaxPages)
           
 void setPaginatorRenderLinkForActive(boolean paginatorRenderLinkForActive)
           
 void setPaginatorTableClass(java.lang.String paginatorTableClass)
           
 void setPaginatorTableStyle(java.lang.String paginatorTableStyle)
           
 void setPreviousStyleClass(java.lang.String previousStyleClass)
           
 void setRenderFacetLinksIfFirstPage(boolean renderFacetLinksIfFirstPage)
           
 void setRenderFacetLinksIfLastPage(boolean renderFacetLinksIfLastPage)
           
 void setRenderFacetsIfSinglePage(boolean renderFacetsIfSinglePage)
           
 void setRowsCountVar(java.lang.String rowsCountVar)
           
 void setStyle(java.lang.String style)
           
 void setStyleClass(java.lang.String styleClass)
           
 void setTitle(java.lang.String title)
           
 void setVisibleOnUserRole(java.lang.String visibleOnUserRole)
           
 
Methods inherited from class org.apache.myfaces.custom.datascroller.AbstractHtmlDataScroller
addActionListener, broadcast, broadcastToActionListener, findUIData, getAction, getActionListener, getActionListeners, getClientId, getFastForward, getFastRewind, getFirst, getFirstRow, getLast, getNext, getPageCount, getPageIndex, getPrevious, getRendersChildren, getRowCount, getRows, getUIData, isDisplayValueOnly, isListLayout, isRendered, isSetDisplayValueOnly, isSingleElementLayout, queueEvent, removeActionListener, setAction, setActionListener, setDisplayValueOnly, setFastForward, setFastRewind, setFirst, setFirst, setLast, setNext, setPrevious
 
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
 

Field Detail

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

DEFAULT_RENDERER_TYPE

public static final java.lang.String DEFAULT_RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

HtmlDataScroller

public HtmlDataScroller()
Method Detail

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class javax.faces.component.UIPanel

getLayout

public java.lang.String getLayout()
Description copied from class: AbstractHtmlDataScroller
The layout this scroller should render with. Default is 'table', 'list' is implemented as well. Additionally you can use 'singleList' - then the data-scroller will render a list, but not the paginator - same with the value 'singleTable'.

Specified by:
getLayout in class AbstractHtmlDataScroller

setLayout

public void setLayout(java.lang.String layout)

getColspan

public int getColspan()
Description copied from class: AbstractHtmlDataScroller
standard html colspan attribute for table cell

Specified by:
getColspan in class AbstractHtmlDataScroller

setColspan

public void setColspan(int colspan)

getOnclick

public java.lang.String getOnclick()
Description copied from class: AbstractHtmlDataScroller
HTML: Script to be invoked when the element is clicked.

Specified by:
getOnclick in class AbstractHtmlDataScroller

setOnclick

public void setOnclick(java.lang.String onclick)

getOndblclick

public java.lang.String getOndblclick()
Description copied from class: AbstractHtmlDataScroller
HTML: Script to be invoked when the element is double-clicked.

Specified by:
getOndblclick in class AbstractHtmlDataScroller

setOndblclick

public void setOndblclick(java.lang.String ondblclick)

getFor

public java.lang.String getFor()
Description copied from class: AbstractHtmlDataScroller
The JSF id of a UIData component that this scroller will affect. If this attribute is not present then the datascroller must be a child of a UIData component.

Specified by:
getFor in class AbstractHtmlDataScroller

setFor

public void setFor(java.lang.String forParam)

getFastStep

public int getFastStep()
Description copied from class: AbstractHtmlDataScroller
step (pages) used for fastforward and fastrewind

Specified by:
getFastStep in class AbstractHtmlDataScroller

setFastStep

public void setFastStep(int fastStep)

getPageIndexVar

public java.lang.String getPageIndexVar()
Description copied from class: AbstractHtmlDataScroller
A parameter name, under which the actual page index is set in request scope similar to the var parameter.

Specified by:
getPageIndexVar in class AbstractHtmlDataScroller

setPageIndexVar

public void setPageIndexVar(java.lang.String pageIndexVar)

getPageCountVar

public java.lang.String getPageCountVar()
Description copied from class: AbstractHtmlDataScroller
A parameter name, under which the actual page count is set in request scope similar to the var parameter.

Specified by:
getPageCountVar in class AbstractHtmlDataScroller

setPageCountVar

public void setPageCountVar(java.lang.String pageCountVar)

getRowsCountVar

public java.lang.String getRowsCountVar()
Description copied from class: AbstractHtmlDataScroller
A parameter name, under which the actual rows count is set in request scope similar to the var parameter.

Specified by:
getRowsCountVar in class AbstractHtmlDataScroller

setRowsCountVar

public void setRowsCountVar(java.lang.String rowsCountVar)

getDisplayedRowsCountVar

public java.lang.String getDisplayedRowsCountVar()
Description copied from class: AbstractHtmlDataScroller
A parameter name, under which the actual displayed rows count is set in request scope similar to the var parameter.

Specified by:
getDisplayedRowsCountVar in class AbstractHtmlDataScroller

setDisplayedRowsCountVar

public void setDisplayedRowsCountVar(java.lang.String displayedRowsCountVar)

getFirstRowIndexVar

public java.lang.String getFirstRowIndexVar()
Description copied from class: AbstractHtmlDataScroller
A parameter name, under which the actual first displayed row index is set in request scope similar to the var parameter.

Specified by:
getFirstRowIndexVar in class AbstractHtmlDataScroller

setFirstRowIndexVar

public void setFirstRowIndexVar(java.lang.String firstRowIndexVar)

getLastRowIndexVar

public java.lang.String getLastRowIndexVar()
Description copied from class: AbstractHtmlDataScroller
A parameter name, under which the actual last displayed row index is set in request scope similar to the var parameter.

Specified by:
getLastRowIndexVar in class AbstractHtmlDataScroller

setLastRowIndexVar

public void setLastRowIndexVar(java.lang.String lastRowIndexVar)

isPaginator

public boolean isPaginator()
Description copied from class: AbstractHtmlDataScroller
If set true, then the paginator gets rendered

Specified by:
isPaginator in class AbstractHtmlDataScroller

setPaginator

public void setPaginator(boolean paginator)

getPaginatorMaxPages

public int getPaginatorMaxPages()
Description copied from class: AbstractHtmlDataScroller
The maximum amount of pages to be displayed in the paginator.

Specified by:
getPaginatorMaxPages in class AbstractHtmlDataScroller

setPaginatorMaxPages

public void setPaginatorMaxPages(int paginatorMaxPages)

getPaginatorTableClass

public java.lang.String getPaginatorTableClass()
Description copied from class: AbstractHtmlDataScroller
styleclass for pagingator

Specified by:
getPaginatorTableClass in class AbstractHtmlDataScroller

setPaginatorTableClass

public void setPaginatorTableClass(java.lang.String paginatorTableClass)

getPaginatorTableStyle

public java.lang.String getPaginatorTableStyle()
Description copied from class: AbstractHtmlDataScroller
style for pagingator

Specified by:
getPaginatorTableStyle in class AbstractHtmlDataScroller

setPaginatorTableStyle

public void setPaginatorTableStyle(java.lang.String paginatorTableStyle)

getPaginatorColumnClass

public java.lang.String getPaginatorColumnClass()
Description copied from class: AbstractHtmlDataScroller
styleClass for paginator's column

Specified by:
getPaginatorColumnClass in class AbstractHtmlDataScroller

setPaginatorColumnClass

public void setPaginatorColumnClass(java.lang.String paginatorColumnClass)

getPaginatorColumnStyle

public java.lang.String getPaginatorColumnStyle()
Description copied from class: AbstractHtmlDataScroller
style for paginator's column

Specified by:
getPaginatorColumnStyle in class AbstractHtmlDataScroller

setPaginatorColumnStyle

public void setPaginatorColumnStyle(java.lang.String paginatorColumnStyle)

getPaginatorActiveColumnClass

public java.lang.String getPaginatorActiveColumnClass()
Description copied from class: AbstractHtmlDataScroller
styleClass for paginator's column with pageIndex = currentPageIndex

Specified by:
getPaginatorActiveColumnClass in class AbstractHtmlDataScroller

setPaginatorActiveColumnClass

public void setPaginatorActiveColumnClass(java.lang.String paginatorActiveColumnClass)

isPaginatorRenderLinkForActive

public boolean isPaginatorRenderLinkForActive()
Description copied from class: AbstractHtmlDataScroller
'true' - render a link for the paginator's column with pageIndex = currentPageIndex. Default-value is 'true'.

Specified by:
isPaginatorRenderLinkForActive in class AbstractHtmlDataScroller

setPaginatorRenderLinkForActive

public void setPaginatorRenderLinkForActive(boolean paginatorRenderLinkForActive)

getFirstStyleClass

public java.lang.String getFirstStyleClass()
Description copied from class: AbstractHtmlDataScroller
style-class for data-scroller first-element

Specified by:
getFirstStyleClass in class AbstractHtmlDataScroller

setFirstStyleClass

public void setFirstStyleClass(java.lang.String firstStyleClass)

getLastStyleClass

public java.lang.String getLastStyleClass()
Description copied from class: AbstractHtmlDataScroller
style-class for data-scroller last-element

Specified by:
getLastStyleClass in class AbstractHtmlDataScroller

setLastStyleClass

public void setLastStyleClass(java.lang.String lastStyleClass)

getPreviousStyleClass

public java.lang.String getPreviousStyleClass()
Description copied from class: AbstractHtmlDataScroller
style-class for data-scroller previous-element

Specified by:
getPreviousStyleClass in class AbstractHtmlDataScroller

setPreviousStyleClass

public void setPreviousStyleClass(java.lang.String previousStyleClass)

getNextStyleClass

public java.lang.String getNextStyleClass()
Description copied from class: AbstractHtmlDataScroller
style-class for dataScroller next-element

Specified by:
getNextStyleClass in class AbstractHtmlDataScroller

setNextStyleClass

public void setNextStyleClass(java.lang.String nextStyleClass)

getFastfStyleClass

public java.lang.String getFastfStyleClass()
Description copied from class: AbstractHtmlDataScroller
style-class for data-scroller fast-forward-element

Specified by:
getFastfStyleClass in class AbstractHtmlDataScroller

setFastfStyleClass

public void setFastfStyleClass(java.lang.String fastfStyleClass)

getFastrStyleClass

public java.lang.String getFastrStyleClass()
Description copied from class: AbstractHtmlDataScroller
style-class for data-scroller fast-rewind-element

Specified by:
getFastrStyleClass in class AbstractHtmlDataScroller

setFastrStyleClass

public void setFastrStyleClass(java.lang.String fastrStyleClass)

getPaginatorActiveColumnStyle

public java.lang.String getPaginatorActiveColumnStyle()
Description copied from class: AbstractHtmlDataScroller
style for paginator's column with pageIndex = currentPageIndex

Specified by:
getPaginatorActiveColumnStyle in class AbstractHtmlDataScroller

setPaginatorActiveColumnStyle

public void setPaginatorActiveColumnStyle(java.lang.String paginatorActiveColumnStyle)

isRenderFacetsIfSinglePage

public boolean isRenderFacetsIfSinglePage()
Description copied from class: AbstractHtmlDataScroller
If set to false, the facets aren't renderd if all the lines are contained on a single page. Default is true.

Specified by:
isRenderFacetsIfSinglePage in class AbstractHtmlDataScroller

setRenderFacetsIfSinglePage

public void setRenderFacetsIfSinglePage(boolean renderFacetsIfSinglePage)

isImmediate

public boolean isImmediate()
Description copied from class: AbstractHtmlDataScroller
True means that the default ActionListener should be executed immediately (i.e. during Apply Request Values phase of the request processing lifecycle), rather than waiting until the Invoke Application phase.

Specified by:
isImmediate in interface javax.faces.component.ActionSource
Specified by:
isImmediate in class AbstractHtmlDataScroller

setImmediate

public void setImmediate(boolean immediate)

isDisableFacetLinksIfFirstPage

public boolean isDisableFacetLinksIfFirstPage()
Description copied from class: AbstractHtmlDataScroller
If the dataScroller is on the first page (index is at 1), links for first, prev and fastprev are disabled. Default is false.

Specified by:
isDisableFacetLinksIfFirstPage in class AbstractHtmlDataScroller

setDisableFacetLinksIfFirstPage

public void setDisableFacetLinksIfFirstPage(boolean disableFacetLinksIfFirstPage)

isDisableFacetLinksIfLastPage

public boolean isDisableFacetLinksIfLastPage()
Description copied from class: AbstractHtmlDataScroller
If the dataScroller is on the last page (index is at pagecount), links for last, next and fastnext are disabled. Default is false.

Specified by:
isDisableFacetLinksIfLastPage in class AbstractHtmlDataScroller

setDisableFacetLinksIfLastPage

public void setDisableFacetLinksIfLastPage(boolean disableFacetLinksIfLastPage)

isRenderFacetLinksIfFirstPage

public boolean isRenderFacetLinksIfFirstPage()
Description copied from class: AbstractHtmlDataScroller
If the dataScroller is on the first page (index is at 1), links for first, prev and fastprev are rendered. Default is true.

Specified by:
isRenderFacetLinksIfFirstPage in class AbstractHtmlDataScroller

setRenderFacetLinksIfFirstPage

public void setRenderFacetLinksIfFirstPage(boolean renderFacetLinksIfFirstPage)

isRenderFacetLinksIfLastPage

public boolean isRenderFacetLinksIfLastPage()
Description copied from class: AbstractHtmlDataScroller
If the dataScroller is on the last page (index is at pagecount), links for last, next and fastnext are rendered. Default is true.

Specified by:
isRenderFacetLinksIfLastPage in class AbstractHtmlDataScroller

setRenderFacetLinksIfLastPage

public void setRenderFacetLinksIfLastPage(boolean renderFacetLinksIfLastPage)

getDisplayValueOnly

public java.lang.Boolean getDisplayValueOnly()
Description copied from interface: DisplayValueOnlyAware
If true, renders only the value of the component, but no input widget. Default is false.


setDisplayValueOnly

public void setDisplayValueOnly(java.lang.Boolean displayValueOnly)

getDisplayValueOnlyStyle

public java.lang.String getDisplayValueOnlyStyle()
Description copied from interface: DisplayValueOnlyAware
Style used when displayValueOnly is true.


setDisplayValueOnlyStyle

public void setDisplayValueOnlyStyle(java.lang.String displayValueOnlyStyle)

getDisplayValueOnlyStyleClass

public java.lang.String getDisplayValueOnlyStyleClass()
Description copied from interface: DisplayValueOnlyAware
Style class used when displayValueOnly is true.


setDisplayValueOnlyStyleClass

public void setDisplayValueOnlyStyleClass(java.lang.String displayValueOnlyStyleClass)

getEnabledOnUserRole

public java.lang.String getEnabledOnUserRole()
Description copied from interface: UserRoleAware
If user is in given role, this component will be rendered normally. If not, no hyperlink is rendered but all nested tags (=body) are rendered.

Returns:

setEnabledOnUserRole

public void setEnabledOnUserRole(java.lang.String enabledOnUserRole)

getVisibleOnUserRole

public java.lang.String getVisibleOnUserRole()
Description copied from interface: UserRoleAware
If user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped.

Returns:

setVisibleOnUserRole

public void setVisibleOnUserRole(java.lang.String visibleOnUserRole)

isForceId

public boolean isForceId()
Description copied from interface: ForceIdAware
If true, this component will force the use of the specified id when rendering.

Returns:

setForceId

public void setForceId(boolean forceId)

isForceIdIndex

public boolean isForceIdIndex()
Description copied from interface: ForceIdAware
If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components that are contained within a "list." This value will be true by default and the value will be ignored if the value of forceId is false (or not specified.)

Returns:

setForceIdIndex

public void setForceIdIndex(boolean forceIdIndex)

getDir

public java.lang.String getDir()
Description copied from interface: UniversalProperties
HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).


setDir

public void setDir(java.lang.String dir)

getLang

public java.lang.String getLang()
Description copied from interface: UniversalProperties
HTML: The base language of this document.


setLang

public void setLang(java.lang.String lang)

getTitle

public java.lang.String getTitle()
Description copied from interface: UniversalProperties
HTML: An advisory title for this element. Often used by the user agent as a tooltip.


setTitle

public void setTitle(java.lang.String title)

getStyle

public java.lang.String getStyle()
Description copied from interface: StyleAware
HTML: CSS styling instructions.


setStyle

public void setStyle(java.lang.String style)

getStyleClass

public java.lang.String getStyleClass()
Description copied from interface: StyleAware
The CSS class for this element. Corresponds to the HTML 'class' attribute.


setStyleClass

public void setStyleClass(java.lang.String styleClass)

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class AbstractHtmlDataScroller

restoreState

public void restoreState(javax.faces.context.FacesContext facesContext,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class AbstractHtmlDataScroller


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.