Interface SheetTagDeclaration
- All Superinterfaces:
- HasBinding,- HasId,- HasIdBindingAndRendered,- HasVar,- IsRendered,- IsShowRoot,- IsShowRootJunction,- IsVisual
public interface SheetTagDeclaration
extends HasIdBindingAndRendered, IsVisual, IsShowRoot, IsShowRootJunction, HasVar
Render a sheet element.
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetColumns(String columns) LayoutConstraints for column layout.voidsetDirectLinkCount(String directLinkCount) The count of rendered direct paging links in the sheet's footer.voidZero-relative row number of the first row to be displayed.voidLazy loading by scroll event.voidsetLazyRows(String lazy) Indicate how many rows are loaded at once when lazy loading is enabled.voidsetMaxSortColumns(String maxSortColumns) The maximum count of multi-sorted columns to indicate.voidThe number of rows to display, starting with the one identified by the "first" property.voidsetSelectable(String selectable) Indicating the selection mode of the sheet.voidsetShowDirectLinks(String showDirectLinks) Flag indicating whether or not a range of direct paging links should be rendered in the sheet's footer.voidsetShowDirectLinksArrows(String showDirectLinksArrows) Flag indicating if paging arrows are shown near direct linksvoidsetShowHeader(String showHeader) Flag indicating the header should be rendered.voidsetShowPageRange(String showPageRange) Flag indicating whether and where the range pages should rendered in the sheet's footer.voidsetShowPageRangeArrows(String showPageRangeArrows) Flag indicating if paging arrows are shown near page rangevoidsetShowPagingAlways(String showPagingAlways) Flag indicating whether or not the paging panel should be display, if it is not needed for paging.
 showPagingAlways="false" which is the default means, that the paging footer should be displayed, only when it is needed.voidsetShowRowRange(String showRowRange) Flag indicating whether or not the range of displayed rows should rendered in the sheet's footer.voidsetSortActionListener(String sortActionListener) Method binding representing an actionListener method that will be invoked when sorting was requested by the user.voidSheet state saving object.voidsetStateChangeListener(String stateChangeListener) Method binding representing a stateChangeListener method that will be notified when the state was changed by the user.voidThe sheet's data.Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBindingsetBindingMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasVarsetVarMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRenderedsetRenderedMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsShowRootsetShowRootMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsShowRootJunctionsetShowRootJunctionMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsVisualsetCustomClass, setMarkup
- 
Method Details- 
setColumnsLayoutConstraints for column layout. Contains a space separated list of layout tokens '<n>fr', '<x>px', '<x>%' or 'auto', where x is a number and n is an integer. 
- 
setShowHeaderFlag indicating the header should be rendered.
- 
setRowsThe number of rows to display, starting with the one identified by the "first" property.
 The default has been changed from 100 to 0 because this is the default in the JSF standard (since Tobago 1.5).
- 
setFirstZero-relative row number of the first row to be displayed.
- 
setValueThe sheet's data.
- 
setShowPagingAlwaysFlag indicating whether or not the paging panel should be display, if it is not needed for paging.
 - showPagingAlways="false" which is the default means, that the paging footer should be displayed,
 only when it is needed.
 - When the rows="0" paging is not needed, so the footer will not be rendered,
- when rows="N", N > 0 and the size of the data value is <= N paging is not needed and the footer will not be rendered,
- in any other case the paging footer will be displayed.
 
- showPagingAlways="true" means, that the paging footer should be displayed in any case.
 
- showPagingAlways="false" which is the default means, that the paging footer should be displayed,
 only when it is needed.
 
- 
setDirectLinkCountThe count of rendered direct paging links in the sheet's footer.
- 
setShowDirectLinksFlag indicating whether or not a range of direct paging links should be rendered in the sheet's footer.
- 
setShowPageRangeFlag indicating whether and where the range pages should rendered in the sheet's footer. Rendering this range also offers the capability to enter the index displayed page directly.
- 
setShowRowRangeFlag indicating whether or not the range of displayed rows should rendered in the sheet's footer. Rendering this range also offers the capability to enter the index of the start row directly.
- 
setSelectableIndicating the selection mode of the sheet.
- 
setStateSheet state saving object.
- 
setStateChangeListenerMethod binding representing a stateChangeListener method that will be notified when the state was changed by the user. The expression must evaluate to a public method that takes a SheetStateChangeEvent parameter, with a return type of void.
- 
setSortActionListenerMethod binding representing an actionListener method that will be invoked when sorting was requested by the user. Use this if your application needs special handling for sorting columns. If this is not set and the sortable attribute column is set to true the sheet implementation will use a default sort method. The expression must evaluate to a public method which takes an ActionEvent as parameter and with a return type of void. The method will receive aSortActionEvent. The method should sort according to the sortColumnId and direction getting from the sheet'sSheetStateobject.
- 
setLazyLazy loading by scroll event.
- 
setLazyRowsIndicate how many rows are loaded at once when lazy loading is enabled. Default is 50.
- 
setShowDirectLinksArrowsFlag indicating if paging arrows are shown near direct links- Since:
- 2.0.0
 
- 
setShowPageRangeArrowsFlag indicating if paging arrows are shown near page range- Since:
- 2.0.0
 
- 
setMaxSortColumnsThe maximum count of multi-sorted columns to indicate.- Since:
- 5.3.0
 
 
-