public class UIBreadcrumb
extends javax.faces.component.UICommand
| Modifier and Type | Class and Description |
|---|---|
static class |
UIBreadcrumb.BreadcrumbEvent
Class representing the clicking of a breadcrumb element.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SEPARATOR
the separator for a breadcrumb path value
|
| Constructor and Description |
|---|
UIBreadcrumb()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendHandler(IBreadcrumbHandler handler)
Append a handler object to the current breadcrumb structure
|
void |
broadcast(javax.faces.event.FacesEvent event) |
java.lang.String |
getFamily() |
java.lang.String |
getSeparator()
Get the separator string to output between each breadcrumb element
|
boolean |
getShowRoot()
Get whether to show the root of the path
|
java.lang.Object |
getValue()
Override getValue() to deal with converting a String path into a valid List of IBreadcrumbHandler
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state) |
java.lang.Object |
saveState(javax.faces.context.FacesContext context) |
void |
setSelectedPathIndex(int index)
Set the selected path index.
|
void |
setSeparator(java.lang.String separator)
Set separator
|
void |
setShowRoot(boolean showRoot)
Set whether to show the root of the path
|
addActionListener, getAction, getActionListener, getActionListeners, isImmediate, queueEvent, removeActionListener, setAction, setActionListener, setImmediate, setValueaddFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBindingpublic static final java.lang.String SEPARATOR
public java.lang.String getFamily()
getFamily in class javax.faces.component.UICommandUIComponent.getFamily()public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UICommandStateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UICommandStateHolder.saveState(javax.faces.context.FacesContext)public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class javax.faces.component.UICommandjavax.faces.event.AbortProcessingExceptionUICommand.broadcast(javax.faces.event.FacesEvent)public void setSelectedPathIndex(int index)
public java.lang.Object getValue()
getValue in class javax.faces.component.UICommandpublic void appendHandler(IBreadcrumbHandler handler)
handler - The IBreadcrumbHandler to appendpublic java.lang.String getSeparator()
public void setSeparator(java.lang.String separator)
separator - the separator string to output between each breadcrumb elementpublic boolean getShowRoot()
public void setShowRoot(boolean showRoot)
showRoot - Whether to show the root of the pathCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.