public class UIShortcutsShelfItem extends UIShelfItem
Modifier and Type | Class and Description |
---|---|
static class |
UIShortcutsShelfItem.ShortcutEvent
Class representing the an action relevant to the Shortcut element.
|
SHELF_END, SHELF_START
Constructor and Description |
---|
UIShortcutsShelfItem() |
Modifier and Type | Method and Description |
---|---|
void |
broadcast(FacesEvent event) |
void |
decode(FacesContext context) |
void |
encodeBegin(FacesContext context) |
MethodBinding |
getClickActionListener() |
MethodBinding |
getRemoveActionListener() |
Object |
getValue()
Get the value (for this component the value is used as the List of shortcut nodes)
|
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setClickActionListener(MethodBinding binding) |
void |
setRemoveActionListener(MethodBinding binding) |
void |
setValue(Object value)
Set the value (for this component the value is used as the List of shortcut nodes)
|
getFamily
outputAttribute
addFacesListener, 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, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class UIComponentBase
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)
public Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class UIComponentBase
StateHolder.saveState(javax.faces.context.FacesContext)
public Object getValue()
public void setValue(Object value)
value
- the valuepublic void setClickActionListener(MethodBinding binding)
binding
- The MethodBinding to call when Click is performed by the userpublic MethodBinding getClickActionListener()
public void setRemoveActionListener(MethodBinding binding)
binding
- The MethodBinding to call when Remove is performed by the userpublic MethodBinding getRemoveActionListener()
public void decode(FacesContext context)
decode
in class UIComponentBase
UIComponentBase.decode(javax.faces.context.FacesContext)
public void encodeBegin(FacesContext context) throws IOException
encodeBegin
in class UIComponentBase
IOException
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)
public void broadcast(FacesEvent event) throws AbortProcessingException
broadcast
in class UIComponentBase
AbortProcessingException
UIComponentBase.broadcast(javax.faces.event.FacesEvent)
Copyright © 2005–2017 Alfresco Software. All rights reserved.