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 Summary
Modifier and TypeMethodDescriptionvoid
setColumns
(String columns) LayoutConstraints for column layout.void
setDirectLinkCount
(String directLinkCount) The count of rendered direct paging links in the sheet's footer.void
Zero-relative row number of the first row to be displayed.void
Preliminary feature: lazy loading by scrolling.void
The number of rows to display, starting with the one identified by the "first" property.void
setSelectable
(String selectable) Indicating the selection mode of the sheet.void
setShowDirectLinks
(String showDirectLinks) Flag indicating whether or not a range of direct paging links should be rendered in the sheet's footer.void
setShowDirectLinksArrows
(String showDirectLinksArrows) Flag indicating if paging arrows are shown near direct linksvoid
setShowHeader
(String showHeader) Flag indicating the header should be rendered.void
setShowPageRange
(String showPageRange) Flag indicating whether and where the range pages should rendered in the sheet's footer.void
setShowPageRangeArrows
(String showPageRangeArrows) Flag indicating if paging arrows are shown near page rangevoid
setShowPagingAlways
(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.void
setShowRowRange
(String showRowRange) Flag indicating whether or not the range of displayed rows should rendered in the sheet's footer.void
setSortActionListener
(String sortActionListener) Method binding representing an actionListener method that will be invoked when sorting was requested by the user.void
Sheet state saving object.void
setStateChangeListener
(String stateChangeListener) Method binding representing a stateChangeListener method that will be notified when the state was changed by the user.void
The sheet's data.Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding
setBinding
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasVar
setVar
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRendered
setRendered
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsShowRoot
setShowRoot
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsShowRootJunction
setShowRootJunction
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsVisual
setCustomClass, setMarkup
-
Method Details
-
setColumns
LayoutConstraints 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.
The layout token '<n>*' is deprecated, please use '<n>fr'!
Semicolons as separators are deprecated, please use spaces.
-
setShowHeader
Flag indicating the header should be rendered. -
setRows
The 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). -
setFirst
Zero-relative row number of the first row to be displayed. -
setValue
The sheet's data. -
setShowPagingAlways
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.
- 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.
-
setDirectLinkCount
The count of rendered direct paging links in the sheet's footer. -
setShowDirectLinks
Flag indicating whether or not a range of direct paging links should be rendered in the sheet's footer. -
setShowPageRange
Flag 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. -
setShowRowRange
Flag 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. -
setSelectable
Indicating the selection mode of the sheet. -
setState
Sheet state saving object. -
setStateChangeListener
Method 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. -
setSortActionListener
Method 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'sSheetState
object. -
setLazy
Preliminary feature: lazy loading by scrolling. -
setShowDirectLinksArrows
Flag indicating if paging arrows are shown near direct links- Since:
- 2.0.0
-
setShowPageRangeArrows
Flag indicating if paging arrows are shown near page range- Since:
- 2.0.0
-