net.ezcontent.web.admin.sections.docs
Class SubjectTree

java.lang.Object
  extended byorg.apache.tapestry.spec.BaseLocatable
      extended byorg.apache.tapestry.AbstractComponent
          extended byorg.apache.tapestry.BaseComponent
              extended bynet.ezcontent.web.admin.sections.docs.SubjectTree
All Implemented Interfaces:
IComponent, ILocatable, ILocationHolder, IRender, ITreeStateListener

public class SubjectTree
extends BaseComponent
implements ITreeStateListener

MAneja el arbol jerarquico de temas.

Author:
Enrique Zamudio

Field Summary
private  TreeDataModel dataModel
           
private  ITreeModel treeModel
           
 
Fields inherited from class org.apache.tapestry.BaseComponent
 
Fields inherited from class org.apache.tapestry.AbstractComponent
 
Fields inherited from class org.apache.tapestry.spec.BaseLocatable
 
Constructor Summary
SubjectTree()
           
 
Method Summary
 ITreeModel getModeloArbol()
           
 INodeRenderFactory getRenderFactory()
           
 ITreeStateListener getTreeStateListener()
           
 void treeStateChanged(TreeStateEvent ev)
          Este metodo lo llama el arbol cuando se selecciona un nodo.
 
Methods inherited from class org.apache.tapestry.BaseComponent
addOuter, finishLoad, renderComponent
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, cleanupAfterRender, finishLoad, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, format, format, format, format, formatString, formatString, formatString, formatString, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getChangeObserver, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification, toString
 
Methods inherited from class org.apache.tapestry.spec.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Field Detail

treeModel

private ITreeModel treeModel

dataModel

private TreeDataModel dataModel
Constructor Detail

SubjectTree

public SubjectTree()
Method Detail

getModeloArbol

public ITreeModel getModeloArbol()

getRenderFactory

public INodeRenderFactory getRenderFactory()

getTreeStateListener

public ITreeStateListener getTreeStateListener()

treeStateChanged

public void treeStateChanged(TreeStateEvent ev)
Este metodo lo llama el arbol cuando se selecciona un nodo.

Specified by:
treeStateChanged in interface ITreeStateListener