public abstract class AbstractTreeNode extends javax.faces.component.UIComponentBase implements org.richfaces.ui.common.meta.MetaComponentResolver, org.richfaces.ui.common.meta.MetaComponentEncoder, org.richfaces.ui.iteration.IterationStateHolder, TreeToggleSource
The
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static String |
SUBTREE_META_COMPONENT_ID |
| Constructor and Description |
|---|
AbstractTreeNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTreeToggleListener(TreeToggleListener listener) |
void |
broadcast(javax.faces.event.FacesEvent event) |
void |
encodeMetaComponent(javax.faces.context.FacesContext context,
String metaComponentId) |
AbstractTree |
findTreeComponent() |
String |
getFamily() |
Object |
getIterationState() |
protected Boolean |
getLocalExpandedValue(javax.faces.context.FacesContext facesContext) |
abstract String |
getOnbeforetoggle()
The client-side script method to be called before the node is toggle.
|
abstract String |
getOntoggle()
The client-side script method to be called after the node is toggle.
|
TreeToggleListener[] |
getTreeToggleListeners() |
abstract String |
getType()
The type of the this component.
|
boolean |
isExpanded()
Determines if this tree node is expanded.
|
abstract boolean |
isImmediate() |
void |
queueEvent(javax.faces.event.FacesEvent event) |
void |
removeTreeToggleListener(TreeToggleListener listener) |
String |
resolveClientId(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent contextComponent,
String metaComponentId) |
void |
setExpanded(boolean newValue) |
void |
setIterationState(Object state) |
String |
substituteUnresolvedClientId(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent contextComponent,
String metaComponentId) |
boolean |
visitTree(javax.faces.component.visit.VisitContext context,
javax.faces.component.visit.VisitCallback callback) |
addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpressionpublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public static final String SUBTREE_META_COMPONENT_ID
public String getFamily()
getFamily in class javax.faces.component.UIComponentpublic abstract boolean isImmediate()
public abstract String getType()
public abstract String getOntoggle()
public abstract String getOnbeforetoggle()
protected Boolean getLocalExpandedValue(javax.faces.context.FacesContext facesContext)
public boolean isExpanded()
public void setExpanded(boolean newValue)
public Object getIterationState()
getIterationState in interface org.richfaces.ui.iteration.IterationStateHolderpublic void setIterationState(Object state)
setIterationState in interface org.richfaces.ui.iteration.IterationStateHolderpublic AbstractTree findTreeComponent()
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent in class javax.faces.component.UIComponentBasepublic void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class javax.faces.component.UIComponentBasejavax.faces.event.AbortProcessingExceptionpublic void addTreeToggleListener(TreeToggleListener listener)
addTreeToggleListener in interface TreeToggleSourcepublic TreeToggleListener[] getTreeToggleListeners()
public void removeTreeToggleListener(TreeToggleListener listener)
removeTreeToggleListener in interface TreeToggleSourcepublic String resolveClientId(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent contextComponent, String metaComponentId)
resolveClientId in interface org.richfaces.ui.common.meta.MetaComponentResolverpublic String substituteUnresolvedClientId(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent contextComponent, String metaComponentId)
substituteUnresolvedClientId in interface org.richfaces.ui.common.meta.MetaComponentResolverpublic boolean visitTree(javax.faces.component.visit.VisitContext context,
javax.faces.component.visit.VisitCallback callback)
visitTree in class javax.faces.component.UIComponentpublic void encodeMetaComponent(javax.faces.context.FacesContext context,
String metaComponentId)
throws IOException
encodeMetaComponent in interface org.richfaces.ui.common.meta.MetaComponentEncoderIOExceptionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.