public class UIActions
extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
Modifier and Type | Field and Description |
---|---|
static Class[] |
ACTION_CLASS_ARGS |
static String |
COMPONENT_ACTIONEVAL |
static String |
COMPONENT_ACTIONLINK |
static String |
COMPONENT_PERMISSIONEVAL |
static String |
RENDERER_ACTIONLINK |
Constructor and Description |
---|
UIActions() |
Modifier and Type | Method and Description |
---|---|
void |
encodeBegin(FacesContext context) |
void |
encodeChildren(FacesContext context) |
void |
encodeEnd(FacesContext context) |
Object |
getContext()
Get the object that forms the context for this group of actions
|
String |
getFamily() |
boolean |
getRendersChildren() |
boolean |
getShowLink()
Get whether to show the link as well as the image if specified
|
String |
getValue()
Get the value (for this component the value is the ID of an Action Group config block)
|
int |
getVerticalSpacing() |
void |
reset()
Resets the component to force a re-initialisation.
|
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setContext(Object context)
Set the the object that forms the context for this group of actions
|
void |
setShowLink(boolean showLink)
Set whether to show the link as well as the image if specified
|
void |
setValue(String value)
Set the value (for this component the value is the ID of an Action Group config block)
|
void |
setVerticalSpacing(int verticalSpacing) |
outputAttribute
addFacesListener, broadcast, decode, 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 RENDERER_ACTIONLINK
public static final String COMPONENT_ACTIONLINK
public static final String COMPONENT_PERMISSIONEVAL
public static final String COMPONENT_ACTIONEVAL
public static final Class[] ACTION_CLASS_ARGS
public String getFamily()
getFamily
in class UIComponent
UIComponent.getFamily()
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 void encodeBegin(FacesContext context) throws IOException
encodeBegin
in class UIComponentBase
IOException
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)
public boolean getRendersChildren()
getRendersChildren
in class UIComponentBase
UIComponentBase.getRendersChildren()
public void encodeChildren(FacesContext context) throws IOException
encodeChildren
in class UIComponentBase
IOException
UIComponentBase.encodeChildren(javax.faces.context.FacesContext)
public void encodeEnd(FacesContext context) throws IOException
encodeEnd
in class UIComponentBase
IOException
UIComponentBase.encodeEnd(javax.faces.context.FacesContext)
public String getValue()
public void setValue(String value)
value
- the valuepublic Object getContext()
public void setContext(Object context)
context
- the contextpublic boolean getShowLink()
public void setShowLink(boolean showLink)
showLink
- Whether to show the link as well as the image if specifiedpublic int getVerticalSpacing()
public void setVerticalSpacing(int verticalSpacing)
verticalSpacing
- The verticalSpacing to set.public void reset()
Copyright © 2005–2017 Alfresco Software. All rights reserved.