org.alfresco.web.ui.common.component.debug
Class BaseDebugComponent

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.common.component.debug.BaseDebugComponent
All Implemented Interfaces:
javax.faces.component.StateHolder
Direct Known Subclasses:
UIHttpApplicationState, UIHttpRequestHeaders, UIHttpRequestParams, UIHttpRequestState, UIHttpSessionState, UIRepositoryProperties, UISystemProperties

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

Base class for all debug components


Constructor Summary
BaseDebugComponent()
           
 
Method Summary
 void encodeBegin(javax.faces.context.FacesContext context)
           
abstract  java.util.Map getDebugData()
          Retrieves the debug data to show for the component as a Map
 boolean getRendersChildren()
           
 java.lang.String getTitle()
          Returns the title
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setTitle(java.lang.String title)
          Sets the title
 
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, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
getFamily
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseDebugComponent

public BaseDebugComponent()
Method Detail

getDebugData

public abstract java.util.Map getDebugData()
Retrieves the debug data to show for the component as a Map

Returns:
The Map of data

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
See Also:
UIComponent.encodeBegin(javax.faces.context.FacesContext)

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class javax.faces.component.UIComponentBase
See Also:
UIComponent.getRendersChildren()

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
See Also:
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)

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
See Also:
StateHolder.saveState(javax.faces.context.FacesContext)

getTitle

public java.lang.String getTitle()
Returns the title

Returns:
The title

setTitle

public void setTitle(java.lang.String title)
Sets the title

Parameters:
title - The title


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