public class UISheet extends AbstractUISheet implements SortActionSource2, Visual
component.stg
with class
SheetTagDeclaration
.Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
SORTER_ID
SUFFIX_EXPANDED, SUFFIX_MARKED, SUFFIX_SELECTED
Constructor and Description |
---|
UISheet() |
Modifier and Type | Method and Description |
---|---|
String |
getColumns()
LayoutConstraints for column layout.
|
CustomClass |
getCustomClass()
Sets a CSS class in its parent, if the parent supports it.
|
String |
getDefaultEventName() |
Integer |
getDirectLinkCount()
The count of rendered direct paging links in the sheet's footer.
|
Collection<String> |
getEventNames() |
String |
getFamily() |
Markup |
getMarkup() |
Selectable |
getSelectable()
Indicating the selection mode of the sheet.
|
ShowPosition |
getShowDirectLinks()
Flag indicating whether or not a range of direct paging links should be
rendered in the sheet's footer.
|
ShowPosition |
getShowPageRange()
Flag indicating whether and where the range pages should
rendered in the sheet's footer.
|
ShowPosition |
getShowRowRange()
Flag indicating whether or not the range of displayed rows should
rendered in the sheet's footer.
|
javax.faces.el.MethodBinding |
getSortActionListener()
Deprecated.
since 2.0.0
|
javax.el.MethodExpression |
getSortActionListenerExpression() |
javax.faces.el.MethodBinding |
getStateChangeListener()
Deprecated.
since 2.0.0
|
javax.el.MethodExpression |
getStateChangeListenerExpression() |
Style |
getStyle()
For internal use.
|
boolean |
isShowDirectLinksArrows()
Flag indicating if paging arrows are shown near direct links
Default: false |
boolean |
isShowHeader()
Flag indicating the header should be rendered.
|
boolean |
isShowPageRangeArrows()
Flag indicating if paging arrows are shown near page range
Default: true |
boolean |
isShowPagingAlways()
Flag indicating whether or not the paging panel should be display, if it is not needed for paging.
|
boolean |
isShowRoot()
Only applicable in the case that the data model is a tree.
|
boolean |
isShowRootJunction()
Only applicable in the case that the data model is a tree.
|
void |
setColumns(String columns) |
void |
setCustomClass(CustomClass customClass) |
void |
setDirectLinkCount(Integer directLinkCount) |
void |
setMarkup(Markup markup) |
void |
setSelectable(Selectable selectable) |
void |
setShowDirectLinks(ShowPosition showDirectLinks) |
void |
setShowDirectLinksArrows(boolean showDirectLinksArrows) |
void |
setShowHeader(boolean showHeader) |
void |
setShowPageRange(ShowPosition showPageRange) |
void |
setShowPageRangeArrows(boolean showPageRangeArrows) |
void |
setShowPagingAlways(boolean showPagingAlways) |
void |
setShowRoot(boolean showRoot) |
void |
setShowRootJunction(boolean showRootJunction) |
void |
setShowRowRange(ShowPosition showRowRange) |
void |
setSortActionListener(javax.faces.el.MethodBinding sortActionListener)
Deprecated.
since 2.0.0
|
void |
setSortActionListenerExpression(javax.el.MethodExpression sortActionListener) |
void |
setStateChangeListener(javax.faces.el.MethodBinding stateChangeListener)
Deprecated.
since 2.0.0
|
void |
setStateChangeListenerExpression(javax.el.MethodExpression stateChangeListener) |
void |
setStyle(Style style) |
addStateChangeListener, broadcast, encodeBegin, findComponent, getAllColumns, getColumnLayout, getCurrentPage, getExpandedState, getFirstRowIndexOfLastPage, getHeaderGrid, getLast, getLastRowIndexOfCurrentPage, getPage, getPages, getRenderedChildrenOf, getSelectedState, getSheetState, getState, getStateChangeListeners, hasRowCount, init, isAtBeginning, isAtEnd, isAutoLayout, isPagingVisible, isRendersRowContainer, needMoreThanOnePage, performPaging, processEvent, processUpdates, queueEvent, removeStateChangeListener, restoreState, saveState, setHeaderGrid, setState, sort, stripRowIndex
createTreeDataModel, getDataModel, getPath, getRowClientId, getRowIndicesOfChildren, getRowParentClientId, getSelectableAsEnum, getTreeDataModel, hasRows, invokeOnComponent, isFolder, isRowsUnlimited, isRowVisible, isTreeModel, visitTree
createUniqueId, encodeEnd, getContainerClientId, getFirst, getFooter, getHeader, getRowCount, getRowData, getRowIndex, getRows, getValue, getVar, isRowAvailable, processDecodes, processValidators, setDataModel, setFirst, setFooter, setHeader, setRowIndex, setRows, setValue, setValueExpression, setVar
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeChildren, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRendererType
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public String getDefaultEventName()
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class javax.faces.component.UIComponentBase
public String getFamily()
getFamily
in class javax.faces.component.UIData
public ShowPosition getShowPageRange()
right
left,center,right,none
public void setShowPageRange(ShowPosition showPageRange)
public boolean isShowPagingAlways()
false
isShowPagingAlways
in class AbstractUISheet
public void setShowPagingAlways(boolean showPagingAlways)
public Integer getDirectLinkCount()
9
public void setDirectLinkCount(Integer directLinkCount)
public boolean isShowRootJunction()
false
isShowRootJunction
in class AbstractUIData
public void setShowRootJunction(boolean showRootJunction)
public String getColumns()
getColumns
in class AbstractUISheet
public void setColumns(String columns)
public boolean isShowHeader()
true
isShowHeader
in class AbstractUISheet
public void setShowHeader(boolean showHeader)
public boolean isShowPageRangeArrows()
true
public void setShowPageRangeArrows(boolean showPageRangeArrows)
public Selectable getSelectable()
multi
none,single,singleOrNone,multi
getSelectable
in class AbstractUIData
public void setSelectable(Selectable selectable)
@Deprecated public javax.faces.el.MethodBinding getSortActionListener()
getSortActionListener
in interface SortActionSource
@Deprecated public void setSortActionListener(javax.faces.el.MethodBinding sortActionListener)
setSortActionListener
in interface SortActionSource
public javax.el.MethodExpression getSortActionListenerExpression()
getSortActionListenerExpression
in interface SortActionSource2
public void setSortActionListenerExpression(javax.el.MethodExpression sortActionListener)
setSortActionListenerExpression
in interface SortActionSource2
public ShowPosition getShowDirectLinks()
center
left,center,right,none
public void setShowDirectLinks(ShowPosition showDirectLinks)
public boolean isShowDirectLinksArrows()
false
public void setShowDirectLinksArrows(boolean showDirectLinksArrows)
public boolean isShowRoot()
false
isShowRoot
in class AbstractUIData
public void setShowRoot(boolean showRoot)
public ShowPosition getShowRowRange()
left
left,center,right,none
public void setShowRowRange(ShowPosition showRowRange)
public CustomClass getCustomClass()
<tc:in> <tc:style customClass="my-emphasized"/> </tc:in>One capability is, to used external CSS libs.
getCustomClass
in interface Visual
public void setCustomClass(CustomClass customClass)
setCustomClass
in interface Visual
public Style getStyle()
@Deprecated public javax.faces.el.MethodBinding getStateChangeListener()
getStateChangeListener
in interface SheetStateChangeSource
@Deprecated public void setStateChangeListener(javax.faces.el.MethodBinding stateChangeListener)
setStateChangeListener
in interface SheetStateChangeSource
public javax.el.MethodExpression getStateChangeListenerExpression()
getStateChangeListenerExpression
in interface SheetStateChangeSource2
public void setStateChangeListenerExpression(javax.el.MethodExpression stateChangeListener)
setStateChangeListenerExpression
in interface SheetStateChangeSource2
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.