org.argouml.cognitive.ui
Class GoListToGoalsToItems

java.lang.Object
  extended byorg.argouml.cognitive.ui.AbstractGoList
      extended byorg.argouml.cognitive.ui.GoListToGoalsToItems
All Implemented Interfaces:
TreeModel

public class GoListToGoalsToItems
extends AbstractGoList

Rule for sorting the ToDo list: Goal -> Item.


Field Summary
 
Fields inherited from class org.argouml.cognitive.ui.AbstractGoList
 
Constructor Summary
GoListToGoalsToItems()
           
 
Method Summary
 void addTreeModelListener(TreeModelListener l)
           
 Object getChild(Object parent, int index)
           
 int getChildCount(Object parent)
           
 Vector getGoals()
           
 int getIndexOfChild(Object parent, Object child)
           
 boolean isLeaf(Object node)
           
 void removeTreeModelListener(TreeModelListener l)
           
 void valueForPathChanged(TreePath path, Object newValue)
           
 
Methods inherited from class org.argouml.cognitive.ui.AbstractGoList
getListPredicate, getRoot, setListPredicate, setRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoListToGoalsToItems

public GoListToGoalsToItems()
Method Detail

getChild

public Object getChild(Object parent,
                       int index)
See Also:
TreeModel.getChild(java.lang.Object, int)

getChildCount

public int getChildCount(Object parent)
See Also:
TreeModel.getChildCount(java.lang.Object)

getIndexOfChild

public int getIndexOfChild(Object parent,
                           Object child)
See Also:
TreeModel.getIndexOfChild( java.lang.Object, java.lang.Object)

isLeaf

public boolean isLeaf(Object node)
See Also:
TreeModel.isLeaf(java.lang.Object)

valueForPathChanged

public void valueForPathChanged(TreePath path,
                                Object newValue)
See Also:
TreeModel.valueForPathChanged( javax.swing.tree.TreePath, java.lang.Object)

addTreeModelListener

public void addTreeModelListener(TreeModelListener l)
See Also:
TreeModel.addTreeModelListener(javax.swing.event.TreeModelListener)

removeTreeModelListener

public void removeTreeModelListener(TreeModelListener l)
See Also:
TreeModel.removeTreeModelListener(javax.swing.event.TreeModelListener)

getGoals

public Vector getGoals()
Returns:
the goals


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook