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,
java.lang.String[] lockUser) |
java.lang.String |
getAlign() |
java.lang.String |
getFamily() |
int |
getHeight() |
java.lang.String |
getLockedOwnerTooltip() |
java.lang.String |
getLockedUserTooltip() |
java.lang.String |
getLockImage() |
java.lang.String |
getLockOwnerImage() |
java.lang.Object |
getValue() |
int |
getWidth() |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state) |
java.lang.Object |
saveState(javax.faces.context.FacesContext context) |
void |
setAlign(java.lang.String align) |
void |
setHeight(int height) |
void |
setLockedOwnerTooltip(java.lang.String lockedOwnerTooltip) |
void |
setLockedUserTooltip(java.lang.String lockedUserTooltip) |
void |
setLockImage(java.lang.String lockImage) |
void |
setLockOwnerImage(java.lang.String lockOwnerImage) |
void |
setValue(java.lang.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 java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentUIComponent.getFamily()public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBaseStateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)public java.lang.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 java.io.IOException
encodeBegin in class javax.faces.component.UIComponentBasejava.io.IOExceptionUIComponentBase.encodeBegin(javax.faces.context.FacesContext)protected void encodeBegin(javax.faces.context.FacesContext context,
boolean locked,
boolean lockedOwner,
java.lang.String[] lockUser)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getLockImage()
public void setLockImage(java.lang.String lockImage)
lockImage - the image to display as the lock icon. A default is provided if none is set.public java.lang.String getLockOwnerImage()
public void setLockOwnerImage(java.lang.String lockOwnerImage)
lockOwnerImage - the image to display if the owner has the lock.public java.lang.String getAlign()
public void setAlign(java.lang.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 java.lang.String getLockedOwnerTooltip()
public void setLockedOwnerTooltip(java.lang.String lockedOwnerTooltip)
lockedOwnerTooltip - The lockedOwnerTooltip to set.public java.lang.String getLockedUserTooltip()
public void setLockedUserTooltip(java.lang.String lockedUserTooltip)
lockedUserTooltip - The lockedUserTooltip to set.public java.lang.Object getValue()
public void setValue(java.lang.Object value)
value - The Node or NodeRef value to set.Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.