org.apache.myfaces.tobago.taglib.component
Interface SheetTagDeclaration

All Superinterfaces:
HasBinding, HasId, HasIdBindingAndRendered, IsRendered, JspTag, Tag, TobagoTagDeclaration
All Known Implementing Classes:
SheetTag

public interface SheetTagDeclaration
extends TobagoTagDeclaration, HasIdBindingAndRendered

Render a sheet element.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Method Summary
 void setColumns(java.lang.String columns)
          LayoutConstraints for column layout.
 void setDirectLinkCount(java.lang.String directLinkCount)
          The count of rendered direct paging links in the sheet's footer.
 void setFirst(java.lang.String pagingStart)
          Zero-relative row number of the first row to be displayed.
 void setForceVerticalScrollbar(java.lang.String forceVerticalScrollbar)
          Flag indicating whether or not this sheet should reserve space for vertical toolbar when calculating column width's.
 void setPagingLength(java.lang.String pagingLength)
          Deprecated. 
 void setPagingStart(java.lang.String pagingStart)
          Deprecated. 
 void setRows(java.lang.String pagingLength)
          The number of rows to display, starting with the one identified by the "pagingStart/first" property.
 void setSelectable(java.lang.String selectable)
          Flag indicating whether or not the sheet should be selectable.
 void setShowDirectLinks(java.lang.String showDirectLinks)
          Flag indicating whether or not a range of direct paging links should be rendered in the sheet's footer.
 void setShowHeader(java.lang.String showHeader)
          Flag indicating the header should be rendered.
 void setShowPageRange(java.lang.String showPageRange)
          Flag indicating whether and where the range pages should rendered in the sheet's footer.
 void setShowRowRange(java.lang.String showRowRange)
          Flag indicating whether or not the range of displayed rows should rendered in the sheet's footer.
 void setSortActionListener(java.lang.String sortActionListener)
          Method binding representing an actionListener method that will be invoked when sorting was requested by the user.
 void setState(java.lang.String state)
          Sheet state saving object.
 void setStateChangeListener(java.lang.String stateChangeListener)
          Method binding representing a stateChangeListener method that will be notified when the state was changed by the user.
 void setValue(java.lang.String value)
          The sheet's data.
 void setVar(java.lang.String var)
          Name of a request-scope attribute under which the model data for the row selected by the current value of the "rowIndex" property (i.e. also the current value of the "rowData" property) will be exposed.
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId
setId
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasBinding
setBinding
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.IsRendered
setRendered
 

Method Detail

setColumns

void setColumns(java.lang.String columns)
LayoutConstraints for column layout. Semicolon separated list of layout tokens ('<x>*', '<x>px' or '<x>%').


setShowHeader

void setShowHeader(java.lang.String showHeader)
Flag indicating the header should be rendered.


setPagingLength

@Deprecated
void setPagingLength(java.lang.String pagingLength)
Deprecated. 

Please use "rows" instead. The number of rows to display, starting with the one identified by the "pagingStart" property.


setRows

void setRows(java.lang.String pagingLength)
The number of rows to display, starting with the one identified by the "pagingStart/first" property.


setPagingStart

@Deprecated
void setPagingStart(java.lang.String pagingStart)
Deprecated. 

Please use "first" instead. Zero-relative row number of the first row to be displayed.


setFirst

void setFirst(java.lang.String pagingStart)
Zero-relative row number of the first row to be displayed.


setValue

void setValue(java.lang.String value)
The sheet's data.


setVar

void setVar(java.lang.String var)
Name of a request-scope attribute under which the model data for the row selected by the current value of the "rowIndex" property (i.e. also the current value of the "rowData" property) will be exposed.


setDirectLinkCount

void setDirectLinkCount(java.lang.String directLinkCount)
The count of rendered direct paging links in the sheet's footer.


setForceVerticalScrollbar

void setForceVerticalScrollbar(java.lang.String forceVerticalScrollbar)
Flag indicating whether or not this sheet should reserve space for vertical toolbar when calculating column width's.
Possible values are:
      'auto'  : sheet try to estimate the need of scrollbar
      'true'  : space for scrollbar is reserved.
      'false' : no space is reserved.
      


setShowDirectLinks

void setShowDirectLinks(java.lang.String showDirectLinks)
Flag indicating whether or not a range of direct paging links should be rendered in the sheet's footer.
Valid values are left, center, right and none.


setShowPageRange

void setShowPageRange(java.lang.String showPageRange)
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.
Valid values are left, center, right and none.


setShowRowRange

void setShowRowRange(java.lang.String showRowRange)
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.
Valid values are left, center, right and none.


setSelectable

void setSelectable(java.lang.String selectable)
Flag indicating whether or not the sheet should be selectable.


setState

void setState(java.lang.String state)
Sheet state saving object.


setStateChangeListener

void setStateChangeListener(java.lang.String stateChangeListener)
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

void setSortActionListener(java.lang.String sortActionListener)
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 a SortActionEvent. The method should sort according to the sortColumnId and direction getting from the sheet's SheetState object.



Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.