public class UIActionLink extends UICommand
COMPONENT_FAMILY, COMPONENT_TYPE
Constructor and Description |
---|
UIActionLink()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getFamily() |
String |
getHref() |
String |
getImage()
Return the Image path to use for this actionlink.
|
String |
getOnclick()
Returns the onclick handler
|
int |
getPadding()
Get the padding value for rendering this component in a table.
|
Map<String,String> |
getParameterMap()
Return the current child parameter map for this action link instance.
|
boolean |
getShowLink()
Get whether to show the link as well as the image if specified
|
String |
getTarget()
Get the target
|
String |
getTooltip()
Get the tooltip title text
|
String |
getVerticalAlign() |
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setHref(String href) |
void |
setImage(String image)
Set the Image path to use for this actionlink.
|
void |
setOnclick(String onclick)
Sets the onclick handler
|
void |
setPadding(int padding)
Set the padding value for rendering this component in a table.
|
void |
setShowLink(boolean showLink)
Set whether to show the link as well as the image if specified
|
void |
setTarget(String target)
Set the target
|
void |
setTooltip(String tooltip)
Set the tooltip title text
|
void |
setVerticalAlign(String verticalAlign) |
addActionListener, broadcast, getAction, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionListener, setImmediate, setValue
addFacesListener, 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, setValueBinding
public String getFamily()
getFamily
in class UICommand
UIComponent.getFamily()
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class UICommand
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)
public Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class UICommand
StateHolder.saveState(javax.faces.context.FacesContext)
public Map<String,String> getParameterMap()
public boolean getShowLink()
public void setShowLink(boolean showLink)
showLink
- Whether to show the link as well as the image if specifiedpublic int getPadding()
public void setPadding(int padding)
padding
- value in pixels, if set != 0 then a table will be rendering around the itemspublic String getImage()
public void setImage(String image)
image
- Image path to displaypublic String getHref()
public void setHref(String href)
href
- The href to set.public String getTooltip()
public void setTooltip(String tooltip)
tooltip
- the tooltippublic String getTarget()
public void setTarget(String target)
target
- the targetpublic String getVerticalAlign()
public void setVerticalAlign(String verticalAlign)
verticalAlign
- the verticalAlign to setpublic String getOnclick()
public void setOnclick(String onclick)
onclick
- The onclick handlerCopyright © 2005–2017 Alfresco Software. All rights reserved.