org.kabeja.ui.model
Class ProcessingTreeModelPresenter

java.lang.Object
  extended by org.kabeja.ui.model.AbstractProcessingTreeNode
      extended by org.kabeja.ui.model.ProcessingTreeModelPresenter
All Implemented Interfaces:
javax.swing.tree.TreeModel, javax.swing.tree.TreeNode

public class ProcessingTreeModelPresenter
extends AbstractProcessingTreeNode
implements javax.swing.tree.TreeModel


Field Summary
protected  java.util.List listeners
           
 
Fields inherited from class org.kabeja.ui.model.AbstractProcessingTreeNode
children, label, manager, parent
 
Constructor Summary
ProcessingTreeModelPresenter(ProcessingManager manager)
           
 
Method Summary
 void addTreeModelListener(javax.swing.event.TreeModelListener l)
           
 boolean getAllowsChildren()
           
 java.lang.Object getChild(java.lang.Object parent, int index)
           
 int getChildCount(java.lang.Object parent)
           
 int getIndexOfChild(java.lang.Object parent, java.lang.Object child)
           
 java.lang.Object getRoot()
           
protected  void initializeChildren()
           
 boolean isLeaf()
           
 boolean isLeaf(java.lang.Object obj)
           
 void removeTreeModelListener(javax.swing.event.TreeModelListener l)
           
 void valueForPathChanged(javax.swing.tree.TreePath path, java.lang.Object newValue)
           
 
Methods inherited from class org.kabeja.ui.model.AbstractProcessingTreeNode
addChild, children, getChildAt, getChildCount, getIndex, getLabel, getParent, propertiesToChildren, setProcessorManager, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

listeners

protected java.util.List listeners
Constructor Detail

ProcessingTreeModelPresenter

public ProcessingTreeModelPresenter(ProcessingManager manager)
Method Detail

isLeaf

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

initializeChildren

protected void initializeChildren()
Specified by:
initializeChildren in class AbstractProcessingTreeNode

getAllowsChildren

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

addTreeModelListener

public void addTreeModelListener(javax.swing.event.TreeModelListener l)
Specified by:
addTreeModelListener in interface javax.swing.tree.TreeModel

getChild

public java.lang.Object getChild(java.lang.Object parent,
                                 int index)
Specified by:
getChild in interface javax.swing.tree.TreeModel

getChildCount

public int getChildCount(java.lang.Object parent)
Specified by:
getChildCount in interface javax.swing.tree.TreeModel

getIndexOfChild

public int getIndexOfChild(java.lang.Object parent,
                           java.lang.Object child)
Specified by:
getIndexOfChild in interface javax.swing.tree.TreeModel

getRoot

public java.lang.Object getRoot()
Specified by:
getRoot in interface javax.swing.tree.TreeModel

isLeaf

public boolean isLeaf(java.lang.Object obj)
Specified by:
isLeaf in interface javax.swing.tree.TreeModel

removeTreeModelListener

public void removeTreeModelListener(javax.swing.event.TreeModelListener l)
Specified by:
removeTreeModelListener in interface javax.swing.tree.TreeModel

valueForPathChanged

public void valueForPathChanged(javax.swing.tree.TreePath path,
                                java.lang.Object newValue)
Specified by:
valueForPathChanged in interface javax.swing.tree.TreeModel