org.kabeja.ui.model
Class AbstractProcessingTreeNode

java.lang.Object
  extended by org.kabeja.ui.model.AbstractProcessingTreeNode
All Implemented Interfaces:
javax.swing.tree.TreeNode
Direct Known Subclasses:
ParsersTreeNode, ParserTreeNode, PipelinesTreeNode, PipelineTreeNode, PostProcessorsTreeNode, PostProcessorTreeNode, ProcessingTreeModelPresenter, PropertiesTreeNode, PropertyTreeNode, SAXFiltersTreeNode, SAXFilterTreeNode, SAXGeneratorsTreeNode, SAXGeneratorTreeNode, SAXSerializersTreeNode, SAXSerializerTreeNode

public abstract class AbstractProcessingTreeNode
extends java.lang.Object
implements javax.swing.tree.TreeNode


Field Summary
protected  java.util.List children
           
protected  java.lang.String label
           
protected  ProcessingManager manager
           
protected  javax.swing.tree.TreeNode parent
           
 
Constructor Summary
AbstractProcessingTreeNode(javax.swing.tree.TreeNode parent, java.lang.String label)
           
 
Method Summary
protected  void addChild(AbstractProcessingTreeNode child)
           
 java.util.Enumeration children()
           
 javax.swing.tree.TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 int getIndex(javax.swing.tree.TreeNode node)
           
protected  java.lang.String getLabel()
           
 javax.swing.tree.TreeNode getParent()
           
protected abstract  void initializeChildren()
           
protected  void propertiesToChildren(java.util.Map properties)
           
 void setProcessorManager(ProcessingManager manager)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.swing.tree.TreeNode
getAllowsChildren, isLeaf
 

Field Detail

manager

protected ProcessingManager manager

parent

protected javax.swing.tree.TreeNode parent

children

protected java.util.List children

label

protected java.lang.String label
Constructor Detail

AbstractProcessingTreeNode

public AbstractProcessingTreeNode(javax.swing.tree.TreeNode parent,
                                  java.lang.String label)
Method Detail

setProcessorManager

public void setProcessorManager(ProcessingManager manager)

getParent

public javax.swing.tree.TreeNode getParent()
Specified by:
getParent in interface javax.swing.tree.TreeNode

addChild

protected void addChild(AbstractProcessingTreeNode child)

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface javax.swing.tree.TreeNode

getIndex

public int getIndex(javax.swing.tree.TreeNode node)
Specified by:
getIndex in interface javax.swing.tree.TreeNode

getChildAt

public javax.swing.tree.TreeNode getChildAt(int childIndex)
Specified by:
getChildAt in interface javax.swing.tree.TreeNode

children

public java.util.Enumeration children()
Specified by:
children in interface javax.swing.tree.TreeNode

initializeChildren

protected abstract void initializeChildren()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

propertiesToChildren

protected void propertiesToChildren(java.util.Map properties)

getLabel

protected java.lang.String getLabel()