public abstract class AbstractUIData
extends javax.faces.component.UIData
Modifier and Type | Field and Description |
---|---|
static String |
SUFFIX_EXPANDED |
static String |
SUFFIX_MARKED
Deprecated.
Since 2.0.0. The marked concept has been replaced by "selected".
|
static String |
SUFFIX_SELECTED |
Constructor and Description |
---|
AbstractUIData() |
Modifier and Type | Method and Description |
---|---|
protected void |
createTreeDataModel(Object value,
boolean showRoot)
Creates the TreeDataModel which should be used.
|
void |
encodeBegin(javax.faces.context.FacesContext context) |
protected javax.faces.model.DataModel |
getDataModel() |
abstract ExpandedState |
getExpandedState() |
TreePath |
getPath() |
String |
getRowClientId() |
List<Integer> |
getRowIndicesOfChildren() |
String |
getRowParentClientId() |
Selectable |
getSelectableAsEnum()
Will be obsolete later when selectable has the type TreeSelectable.
|
abstract SelectedState |
getSelectedState() |
TreeDataModel |
getTreeDataModel() |
boolean |
hasRows()
Deprecated.
The name of this method is ambiguous.
You may use the inverse of
isRowsUnlimited() . Deprecated since 1.5.5. |
boolean |
invokeOnComponent(javax.faces.context.FacesContext facesContext,
String clientId,
javax.faces.component.ContextCallback callback) |
boolean |
isFolder() |
boolean |
isRendersRowContainer()
The value describes, if the UIData renderer creates container elements to hold the row information.
|
boolean |
isRowsUnlimited() |
boolean |
isRowVisible() |
abstract boolean |
isShowRoot() |
boolean |
isShowRootJunction() |
boolean |
isTreeModel() |
broadcast, createUniqueId, encodeEnd, getContainerClientId, getFamily, getFirst, getFooter, getHeader, getRowCount, getRowData, getRowIndex, getRows, getValue, getVar, isRowAvailable, processDecodes, processUpdates, processValidators, queueEvent, setDataModel, setFirst, setFooter, setHeader, setRowIndex, setRows, setValue, setValueExpression, setVar, visitTree
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent
@Deprecated public static final String SUFFIX_MARKED
public static final String SUFFIX_SELECTED
public static final String SUFFIX_EXPANDED
public boolean isTreeModel()
public TreeDataModel getTreeDataModel()
protected javax.faces.model.DataModel getDataModel()
getDataModel
in class javax.faces.component.UIData
public Selectable getSelectableAsEnum()
protected void createTreeDataModel(Object value, boolean showRoot)
TreeNode
out of the box.value
- The reference to the data model
(comes from the value attribute of the UIData
)showRoot
- comes from the showRoot attribute.public void encodeBegin(javax.faces.context.FacesContext context) throws IOException
encodeBegin
in class javax.faces.component.UIData
IOException
public abstract ExpandedState getExpandedState()
public abstract SelectedState getSelectedState()
@Deprecated public boolean hasRows()
isRowsUnlimited()
. Deprecated since 1.5.5.public boolean isRowVisible()
public String getRowClientId()
public String getRowParentClientId()
public abstract boolean isShowRoot()
public boolean isShowRootJunction()
public boolean isRowsUnlimited()
public boolean isRendersRowContainer()
public boolean invokeOnComponent(javax.faces.context.FacesContext facesContext, String clientId, javax.faces.component.ContextCallback callback) throws javax.faces.FacesException
invokeOnComponent
in class javax.faces.component.UIData
javax.faces.FacesException
public TreePath getPath()
public boolean isFolder()
Copyright © 2002-2021 The Apache Software Foundation. All Rights Reserved.