public class UINavigator
extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
Each panel (apart from my alfresco) uses the tree component to allow navigation around that area of the repository.
Modifier and Type | Class and Description |
---|---|
static class |
UINavigator.NavigatorEvent
Class representing the clicking of a tree node.
|
Modifier and Type | Field and Description |
---|---|
protected String |
activeArea |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UINavigator() |
Modifier and Type | Method and Description |
---|---|
void |
broadcast(FacesEvent event) |
void |
decode(FacesContext context) |
void |
encodeBegin(FacesContext context) |
void |
encodeChildren(FacesContext context) |
String |
getActiveArea()
Returns the active area the navigator component is showing
|
String |
getFamily() |
boolean |
getRendersChildren() |
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setActiveArea(String activeArea)
Sets the active area for the navigator panel
|
outputAttribute
addFacesListener, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
public static final String COMPONENT_TYPE
protected String activeArea
public String getFamily()
getFamily
in class UIComponent
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class UIComponentBase
public Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class UIComponentBase
public void decode(FacesContext context)
decode
in class UIComponentBase
UIComponentBase.decode(javax.faces.context.FacesContext)
public void broadcast(FacesEvent event) throws AbortProcessingException
broadcast
in class UIComponentBase
AbortProcessingException
UIInput.broadcast(javax.faces.event.FacesEvent)
public void encodeBegin(FacesContext context) throws IOException
encodeBegin
in class UIComponentBase
IOException
public void encodeChildren(FacesContext context) throws IOException
encodeChildren
in class UIComponentBase
IOException
public boolean getRendersChildren()
getRendersChildren
in class UIComponentBase
public String getActiveArea()
public void setActiveArea(String activeArea)
activeArea
- StringCopyright © 2005–2017 Alfresco Software. All rights reserved.