public class UITree extends AbstractUITree implements Visual
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, SEPSUFFIX_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.
|
Style |
getStyle()
For internal use.
|
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 |
setCustomClass(CustomClass customClass) |
void |
setMarkup(Markup markup) |
void |
setSelectable(Selectable selectable) |
void |
setShowRoot(boolean showRoot) |
void |
setShowRootJunction(boolean showRootJunction) |
void |
setStyle(Style style) |
getExpandedState, getRendersChildren, getRoot, getSelectedState, getState, processDecodes, processUpdates, processValidators, restoreState, saveState, setStatecreateTreeDataModel, encodeBegin, getDataModel, getPath, getRowClientId, getRowIndicesOfChildren, getRowParentClientId, getSelectableAsEnum, getTreeDataModel, hasRows, invokeOnComponent, isFolder, isRendersRowContainer, isRowsUnlimited, isRowVisible, isTreeModel, visitTreebroadcast, createUniqueId, encodeEnd, getContainerClientId, getFirst, getFooter, getHeader, getRowCount, getRowData, getRowIndex, getRows, getValue, getVar, isRowAvailable, queueEvent, setDataModel, setFirst, setFooter, setHeader, setRowIndex, setRows, setValue, setValueExpression, setVaraddClientBehavior, 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, setValueBindinggetClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRendererTypepublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily in class javax.faces.component.UIDatapublic boolean isShowRoot()
falseisShowRoot in class AbstractUIDatapublic void setShowRoot(boolean showRoot)
public boolean isShowRootJunction()
falseisShowRootJunction in class AbstractUIDatapublic void setShowRootJunction(boolean showRootJunction)
public Selectable getSelectable()
multinone,multi,single,multiLeafOnly,singleLeafOnlygetSelectable in class AbstractUIDatapublic 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 Visualpublic void setCustomClass(CustomClass customClass)
setCustomClass in interface Visualpublic Style getStyle()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.