org.argouml.cognitive.ui
Class GoListToGoalsToItems

java.lang.Object
  extended by org.argouml.cognitive.ui.AbstractGoList2
      extended by org.argouml.cognitive.ui.GoListToGoalsToItems
All Implemented Interfaces:
javax.swing.tree.TreeModel

public class GoListToGoalsToItems
extends AbstractGoList2

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


Constructor Summary
GoListToGoalsToItems()
           
 
Method Summary
 void addTreeModelListener(javax.swing.event.TreeModelListener l)
           
 java.lang.Object getChild(java.lang.Object parent, int index)
           
 int getChildCount(java.lang.Object parent)
           
 java.util.List<Goal> getGoalList()
           
 int getIndexOfChild(java.lang.Object parent, java.lang.Object child)
           
 boolean isLeaf(java.lang.Object node)
           
 void removeTreeModelListener(javax.swing.event.TreeModelListener l)
           
 void valueForPathChanged(javax.swing.tree.TreePath path, java.lang.Object newValue)
           
 
Methods inherited from class org.argouml.cognitive.ui.AbstractGoList2
getPredicate, 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 java.lang.Object getChild(java.lang.Object parent,
                                 int index)

getChildCount

public int getChildCount(java.lang.Object parent)

getIndexOfChild

public int getIndexOfChild(java.lang.Object parent,
                           java.lang.Object child)

isLeaf

public boolean isLeaf(java.lang.Object node)

valueForPathChanged

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

addTreeModelListener

public void addTreeModelListener(javax.swing.event.TreeModelListener l)

removeTreeModelListener

public void removeTreeModelListener(javax.swing.event.TreeModelListener l)

getGoalList

public java.util.List<Goal> getGoalList()
Returns:
the goals


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook