org.alfresco.web.ui.repo.component
Class UINodeInfo

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
              extended by org.alfresco.web.ui.repo.component.UINodeInfo
All Implemented Interfaces:
javax.faces.component.StateHolder

public class UINodeInfo
extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent

JSF component that displays information about a node.


Field Summary
protected static java.lang.String NODE_INFO_SCRIPTS_WRITTEN
           
protected  java.lang.Object value
           
 
Constructor Summary
UINodeInfo()
           
 
Method Summary
 void encodeBegin(javax.faces.context.FacesContext context)
           
 void encodeEnd(javax.faces.context.FacesContext context)
           
 java.lang.String getFamily()
           
 java.lang.Object getValue()
          Get the value - the value is used in a equals() match against the current value in the parent ModeList component to set the selected item.
protected static void outputNodeInfoScripts(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter out)
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setValue(java.lang.Object value)
          Set the value - the value is used in a equals() match against the current value in the parent ModeList component to set the selected item.
 
Methods inherited from class org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
outputAttribute
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeChildren, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NODE_INFO_SCRIPTS_WRITTEN

protected static final java.lang.String NODE_INFO_SCRIPTS_WRITTEN
See Also:
Constant Field Values

value

protected java.lang.Object value
Constructor Detail

UINodeInfo

public UINodeInfo()
Method Detail

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIComponentBase

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UIComponentBase

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws java.io.IOException
Overrides:
encodeBegin in class javax.faces.component.UIComponentBase
Throws:
java.io.IOException

outputNodeInfoScripts

protected static void outputNodeInfoScripts(javax.faces.context.FacesContext context,
                                            javax.faces.context.ResponseWriter out)
                                     throws java.io.IOException
Throws:
java.io.IOException

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context)
               throws java.io.IOException
Overrides:
encodeEnd in class javax.faces.component.UIComponentBase
Throws:
java.io.IOException

getValue

public java.lang.Object getValue()
Get the value - the value is used in a equals() match against the current value in the parent ModeList component to set the selected item.

Returns:
the value

setValue

public void setValue(java.lang.Object value)
Set the value - the value is used in a equals() match against the current value in the parent ModeList component to set the selected item.

Parameters:
value - the value


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.