Expresso 5-6

com.jcorporate.expresso.services.controller.configuration
Class ShowContainerTree

java.lang.Object
  extended bycom.jcorporate.expresso.core.controller.State
      extended bycom.jcorporate.expresso.services.controller.configuration.ConfigurationBase
          extended bycom.jcorporate.expresso.services.controller.configuration.ShowContainerTree
All Implemented Interfaces:
Cloneable, Serializable

public class ShowContainerTree
extends ConfigurationBase

State that shows the container hierarchy in a tree. The tree is rendered in the javascript tree in the left of the panel.

Since:
Expresso 5.1
Version:
$Revision: 1.5 $ on $Date: 2004/11/17 20:48:17 $
Author:
Michael Rimov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.jcorporate.expresso.services.controller.configuration.ConfigurationBase
lc
 
Fields inherited from class com.jcorporate.expresso.core.controller.State
NOTEMPTY_MASK, secure
 
Constructor Summary
ShowContainerTree()
           
 
Method Summary
protected  void addOneContainer(Block parentBlock, Containable current)
          Add a container and links to the block tree
protected  void addShowTransition(ExpressoComponent component, Block parent)
          Adds the transition to each block given each component to show any particular component
 void run(ControllerRequest request, ControllerResponse response)
          A state may implement a "run" method to actually perform it's logic by overriding this method.
 
Methods inherited from class com.jcorporate.expresso.services.controller.configuration.ConfigurationBase
getRuntime
 
Methods inherited from class com.jcorporate.expresso.core.controller.State
add, addAutoInput, addAutoInput, addAutoInput, addBlock, addError, addInput, addOptionalParameter, addOutput, addParameter, addParameter, addParameter, addRequiredParameter, addTransition, autoValidate, autoValidate, calculateHandlerName, checkMask, checkParamMasks, clearFormCache, clone, equals, getAttribute, getController, getControllerRequest, getControllerResponse, getDataContext, getDBController, getDBName, getDescription, getErrors, getErrorState, getErrorTransition, getFileName, getFormCache, getHandlerName, getInitParameter, getName, getObjectParameter, getOptionalParameters, getOptionalParametersList, getParameter, getParameters, getPatternMatcher, getRequiredParametersList, getResponse, getReturnToSender, getSession, getStateFormClass, getString, getString, getSuccessTransition, getUid, getUser, hashCode, isFileParameter, isParameter, isSecure, perform, saveErrors, setController, setDescription, setErrorState, setErrorTransition, setFormCache, setHandlerName, setMask, setMask, setMaskError, setName, setResponse, setReturnToSender, setSecure, setStateFormClass, setSuccessTransition, toString, transition
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShowContainerTree

public ShowContainerTree()
Method Detail

run

public void run(ControllerRequest request,
                ControllerResponse response)
         throws NonHandleableException,
                ControllerException
Description copied from class: State
A state may implement a "run" method to actually perform it's logic by overriding this method.

Overrides:
run in class State
Parameters:
request - The controller request object that has been prepared by the framework, that contains all the parameters needed to execute state
response - The controller response object that you use to populate with inputs, outputs and transitions.
Throws:
ControllerException - upon error
NonHandleableException - upon fatal error

addShowTransition

protected void addShowTransition(ExpressoComponent component,
                                 Block parent)
                          throws ControllerException
Adds the transition to each block given each component to show any particular component

Parameters:
component - the ExpressoComponent to create the transition for
parent - the block to add the transition to
Throws:
ControllerException - upon error

addOneContainer

protected void addOneContainer(Block parentBlock,
                               Containable current)
                        throws ControllerException
Add a container and links to the block tree

Parameters:
parentBlock - the parent block to add the subcomponents to
current - the current container
Throws:
ControllerException - upon error

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.