org.kabeja.ui.model
Class AbstractProcessingTreeNode
java.lang.Object
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
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 |
manager
protected ProcessingManager manager
parent
protected javax.swing.tree.TreeNode parent
children
protected java.util.List children
label
protected java.lang.String label
AbstractProcessingTreeNode
public AbstractProcessingTreeNode(javax.swing.tree.TreeNode parent,
java.lang.String label)
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()