@Generated(value="component.stg") public class UITree extends AbstractUITree implements javax.faces.component.behavior.ClientBehaviorHolder
component.stg
with class
TreeTagDeclaration
.Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
MARKED, MESSAGE_NOT_LEAF, SELECT_STATE, SEP
SUFFIX_EXPANDED, SUFFIX_MARKED, SUFFIX_SELECTED
Constructor and Description |
---|
UITree() |
Modifier and Type | Method and Description |
---|---|
CustomClass |
getCustomClass()
Sets a CSS class in its parent, if the parent supports it.
|
String |
getFamily() |
Markup |
getMarkup() |
Selectable |
getSelectable()
Flag indicating whether or not this component should be render selectable items.
|
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 |
restoreState(javax.faces.context.FacesContext context,
Object state) |
void |
setCustomClass(CustomClass customClass) |
void |
setMarkup(Markup markup) |
void |
setSelectable(Selectable selectable) |
void |
setShowRoot(boolean showRoot) |
void |
setShowRootJunction(boolean showRootJunction) |
getExpandedState, getRendersChildren, getRoot, getSelectedState, getState, processDecodes, processUpdates, processValidators, saveState, setState
createTreeDataModel, encodeBegin, getDataModel, getPath, getRowClientId, getRowIndicesOfChildren, getRowParentClientId, getSelectableAsEnum, getTreeDataModel, invokeOnComponent, isFolder, isRendersRowContainer, isRowsUnlimited, isRowVisible, isTreeModel, visitTree
broadcast, createUniqueId, encodeEnd, getContainerClientId, getFirst, getFooter, getHeader, getRowCount, getRowData, getRowIndex, getRows, getValue, getVar, isRowAvailable, 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, 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, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNames
getRendererType, isPlain
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UIData
public boolean isShowRoot()
false
isShowRoot
in class AbstractUIData
public void setShowRoot(boolean showRoot)
public boolean isShowRootJunction()
false
isShowRootJunction
in class AbstractUIData
public void setShowRootJunction(boolean showRootJunction)
public Selectable getSelectable()
multi
none,multi,single,multiLeafOnly,singleLeafOnly
getSelectable
in class AbstractUIData
public void setSelectable(Selectable selectable)
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 void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class AbstractUITree
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.