public abstract class AbstractUIData extends javax.faces.component.UIData implements Visual
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() |
abstract Selectable |
getSelectable() |
Selectable |
getSelectableAsEnum()
Deprecated.
since 3.0.0, please use
getSelectable() |
abstract SelectedState |
getSelectedState() |
TreeDataModel |
getTreeDataModel() |
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() |
boolean |
visitTree(javax.faces.component.visit.VisitContext context,
javax.faces.component.visit.VisitCallback callback)
This is, because we need to visit the UIRow for each row, which is not done in the base implementation.
|
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
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCustomClass, getMarkup, getRendererType, isPlain, setCustomClass, setMarkup
@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
@Deprecated public Selectable getSelectableAsEnum()
getSelectable()
public abstract Selectable getSelectable()
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()
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()
public boolean visitTree(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback)
visitTree
in class javax.faces.component.UIData
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.