|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
org.apache.myfaces.trinidad.component.UIXComponent
org.apache.myfaces.trinidad.component.UIXComponentBase
org.apache.myfaces.trinidad.component.UIXCollection
org.apache.myfaces.trinidad.component.UIXHierarchy
org.apache.myfaces.trinidad.component.UIXNavigationHierarchy
org.apache.myfaces.trinidad.component.UIXNavigationLevel
public class UIXNavigationLevel
The navigationLevel component creates a series of navigation items representing one level in a navigation hierarchy.
Type | Phases | Description |
---|---|---|
org.apache.myfaces.trinidad.event.AttributeChangeEvent |
Invoke Application Apply Request Values |
Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing. |
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static PropertyKey |
LEVEL_KEY
|
static java.lang.String |
NODE_STAMP_FACET
|
static FacesBean.Type |
TYPE
|
static PropertyKey |
VALUE_KEY
|
static PropertyKey |
VAR_STATUS_KEY
|
Fields inherited from class org.apache.myfaces.trinidad.component.UIXCollection |
---|
VAR_KEY |
Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
---|
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY |
Fields inherited from interface javax.faces.component.NamingContainer |
---|
SEPARATOR_CHAR |
Constructor Summary | |
---|---|
|
UIXNavigationLevel()
Construct an instance of the UIXNavigationLevel. |
protected |
UIXNavigationLevel(java.lang.String rendererType)
Construct an instance of the UIXNavigationLevel. |
Method Summary | |
---|---|
protected FacesBean.Type |
getBeanType()
|
java.lang.String |
getFamily()
|
int |
getLevel()
Gets the level, based on a 0 based index, in the menuModel to render based on the focusPath of the menuModel. |
javax.faces.component.UIComponent |
getNodeStamp()
the component to use to stamp each element in the navigation. |
java.lang.Object |
getValue()
Gets the hierarchy of navigation data - must be of type org.apache.myfaces.trinidad.model.MenuModel |
java.lang.String |
getVarStatus()
Gets Name of the EL variable used to reference the varStatus information. |
protected void |
processFacetsAndChildren(javax.faces.context.FacesContext context,
javax.faces.event.PhaseId phaseId)
Process this component's facets and children. |
void |
setLevel(int level)
Sets the level, based on a 0 based index, in the menuModel to render based on the focusPath of the menuModel. |
void |
setNodeStamp(javax.faces.component.UIComponent nodeStampFacet)
the component to use to stamp each element in the navigation. |
void |
setValue(java.lang.Object value)
Sets the hierarchy of navigation data - must be of type org.apache.myfaces.trinidad.model.MenuModel |
void |
setVarStatus(java.lang.String varStatus)
Sets Name of the EL variable used to reference the varStatus information. |
Methods inherited from class org.apache.myfaces.trinidad.component.UIXNavigationHierarchy |
---|
createCollectionModel, getFocusRowKey, getMenuModel |
Methods inherited from class org.apache.myfaces.trinidad.component.UIXHierarchy |
---|
enterContainer, exitContainer, getAllAncestorContainerRowKeys, getContainerRowKey, getContainerRowKey, getDepth, getDepth, getFirst, getRows, getStamps, getTreeModel, isContainer, isContainerEmpty |
Methods inherited from class org.apache.myfaces.trinidad.component.UIXCollection |
---|
broadcast, clearCurrencyStringCache, createVarStatusMap, decodeChildrenImpl, encodeBegin, encodeEnd, getClientRowKey, getClientRowKeyManager, getCollectionModel, getCollectionModel, getCurrencyString, getLocalClientId, getRowCount, getRowData, getRowData, getRowIndex, getRowKey, getSortCriteria, getVar, isRowAvailable, isRowAvailable, isSortable, postRowDataChange, preRowDataChange, processComponent, processDecodes, processSaveState, queueEvent, resetStampState, restoreStampState, restoreState, saveStampState, saveState, setClientRowKey, setCurrencyString, setRowIndex, setRowKey, setSortCriteria, setVar, updateChildrenImpl, validateChildrenImpl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.myfaces.trinidad.component.CollectionComponent |
---|
getVar |
Methods inherited from interface org.apache.myfaces.trinidad.model.RowKeyIndex |
---|
getRowCount, getRowData, getRowData, getRowIndex, getRowKey, isRowAvailable, isRowAvailable, setRowIndex, setRowKey |
Field Detail |
---|
public static final FacesBean.Type TYPE
public static final PropertyKey VALUE_KEY
public static final PropertyKey LEVEL_KEY
public static final PropertyKey VAR_STATUS_KEY
public static final java.lang.String NODE_STAMP_FACET
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
Constructor Detail |
---|
public UIXNavigationLevel()
protected UIXNavigationLevel(java.lang.String rendererType)
Method Detail |
---|
protected void processFacetsAndChildren(javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId)
UIXCollection
UIXCollection.processComponent(javax.faces.context.FacesContext, javax.faces.component.UIComponent, javax.faces.event.PhaseId)
as many times as necessary for each facet and child.
UIXCollection.processComponent(javax.faces.context.FacesContext, javax.faces.component.UIComponent, javax.faces.event.PhaseId)
may be called repeatedly for the same child if that child is
being stamped.
processFacetsAndChildren
in class UIXCollection
public final javax.faces.component.UIComponent getNodeStamp()
public final void setNodeStamp(javax.faces.component.UIComponent nodeStampFacet)
public final java.lang.Object getValue()
getValue
in class UIXCollection
public final void setValue(java.lang.Object value)
value
- the new value valuepublic final int getLevel()
public final void setLevel(int level)
level
- the new level valuepublic final java.lang.String getVarStatus()
getVarStatus
in class UIXCollection
UIXCollection.createVarStatusMap()
public final void setVarStatus(java.lang.String varStatus)
varStatus
- the new varStatus valuepublic java.lang.String getFamily()
getFamily
in class UIXComponentBase
protected FacesBean.Type getBeanType()
getBeanType
in class UIXComponentBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |