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, SEP
SUFFIX_EXPANDED, SUFFIX_MARKED, SUFFIX_SELECTED
Constructor and Description |
---|
UITree() |
Modifier and Type | Method and Description |
---|---|
Markup |
getCurrentMarkup() |
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.
|
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setCurrentMarkup(Markup currentMarkup) |
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, setState
createTreeDataModel, encodeBegin, getDataModel, getPath, getRowClientId, getRowIndicesOfChildren, getRowParentClientId, getSelectableAsEnum, getTreeDataModel, hasRows, invokeOnComponent, isFolder, isRendersRowContainer, isRowsUnlimited, isRowVisible, isTreeModel
broadcast, createUniqueId, encodeEnd, getContainerClientId, getFirst, getFooter, getHeader, getRowCount, getRowData, getRowIndex, getRows, getValue, getVar, isRowAvailable, 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, 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
getRendererType
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 Style getStyle()
public Selectable getSelectable()
multi
none,multi,single,multiLeafOnly,singleLeafOnly
getSelectable
in class AbstractUIData
public void setSelectable(Selectable selectable)
public Markup getCurrentMarkup()
getCurrentMarkup
in interface Visual
public void setCurrentMarkup(Markup currentMarkup)
setCurrentMarkup
in interface Visual
public boolean isShowRootJunction()
false
isShowRootJunction
in class AbstractUIData
public void setShowRootJunction(boolean showRootJunction)
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 Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class AbstractUITree
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.