public class UILockIcon
extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
Constructor and Description |
---|
UILockIcon() |
Modifier and Type | Method and Description |
---|---|
void |
encodeBegin(FacesContext context) |
protected void |
encodeBegin(FacesContext context,
boolean locked,
boolean lockedOwner,
String[] lockUser) |
String |
getAlign() |
String |
getFamily() |
int |
getHeight() |
String |
getLockedOwnerTooltip() |
String |
getLockedUserTooltip() |
String |
getLockImage() |
String |
getLockOwnerImage() |
Object |
getValue() |
int |
getWidth() |
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setAlign(String align) |
void |
setHeight(int height) |
void |
setLockedOwnerTooltip(String lockedOwnerTooltip) |
void |
setLockedUserTooltip(String lockedUserTooltip) |
void |
setLockImage(String lockImage) |
void |
setLockOwnerImage(String lockOwnerImage) |
void |
setValue(Object value) |
void |
setWidth(int width) |
outputAttribute
addFacesListener, broadcast, decode, 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 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)
protected void encodeBegin(FacesContext context, boolean locked, boolean lockedOwner, String[] lockUser) throws IOException
IOException
public String getLockImage()
public void setLockImage(String lockImage)
lockImage
- the image to display as the lock icon. A default is provided if none is set.public String getLockOwnerImage()
public void setLockOwnerImage(String lockOwnerImage)
lockOwnerImage
- the image to display if the owner has the lock.public String getAlign()
public void setAlign(String align)
align
- The image alignment value to set.public int getHeight()
public void setHeight(int height)
height
- The icon height to set.public int getWidth()
public void setWidth(int width)
width
- The iconwidth to set.public String getLockedOwnerTooltip()
public void setLockedOwnerTooltip(String lockedOwnerTooltip)
lockedOwnerTooltip
- The lockedOwnerTooltip to set.public String getLockedUserTooltip()
public void setLockedUserTooltip(String lockedUserTooltip)
lockedUserTooltip
- The lockedUserTooltip to set.public Object getValue()
public void setValue(Object value)
value
- The Node or NodeRef value to set.Copyright © 2005–2017 Alfresco Software. All rights reserved.