public class UILockIcon
extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
| Constructor and Description |
|---|
UILockIcon() |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeBegin(javax.faces.context.FacesContext context) |
protected void |
encodeBegin(javax.faces.context.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(javax.faces.context.FacesContext context,
Object state) |
Object |
saveState(javax.faces.context.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) |
outputAttributeaddFacesListener, 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, setValueBindingpublic String getFamily()
getFamily in class javax.faces.component.UIComponentUIComponent.getFamily()public void restoreState(javax.faces.context.FacesContext context,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBaseStateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)public Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBaseStateHolder.saveState(javax.faces.context.FacesContext)public void encodeBegin(javax.faces.context.FacesContext context)
throws IOException
encodeBegin in class javax.faces.component.UIComponentBaseIOExceptionUIComponentBase.encodeBegin(javax.faces.context.FacesContext)protected void encodeBegin(javax.faces.context.FacesContext context,
boolean locked,
boolean lockedOwner,
String[] lockUser)
throws IOException
IOExceptionpublic 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–2018 Alfresco Software. All rights reserved.