|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.argouml.ui.PerspectiveSupport
org.argouml.ui.TreeModelSupport
org.argouml.ui.TreeModelComposite
org.argouml.cognitive.ui.ToDoPerspective
This class represents: - a todo tree model / perspective (which is a collection of GoRules)$Id: ToDoPerspective.java,v 1.10 2005/01/09 14:58:05 linus Exp $
| Field Summary | |
private boolean |
flat
todoList specific |
private Vector |
flatChildren
todoList specific |
private static Logger |
LOG
|
| Fields inherited from class org.argouml.ui.TreeModelComposite |
|
| Fields inherited from class org.argouml.ui.TreeModelSupport |
|
| Fields inherited from class org.argouml.ui.PerspectiveSupport |
|
| Constructor Summary | |
ToDoPerspective(String name)
The constructor. |
|
| Method Summary | |
void |
addFlatChildren(Object node)
TodoList specific. |
void |
calcFlatChildren()
TodoList specific. |
Object |
getChild(Object parent,
int index)
Finds the each of the children of a parent in the tree. |
int |
getChildCount(Object parent)
|
boolean |
getFlat()
todoList specific |
int |
getIndexOfChild(Object parent,
Object child)
|
void |
setFlat(boolean b)
todoList specific |
| Methods inherited from class org.argouml.ui.TreeModelComposite |
getRoot, isLeaf, setRoot, valueForPathChanged |
| Methods inherited from class org.argouml.ui.TreeModelSupport |
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, fireTreeStructureChanged, fireTreeStructureChanged, fireTreeStructureChanged, fireTreeStructureChanged, removeTreeModelListener |
| Methods inherited from class org.argouml.ui.PerspectiveSupport |
addSubTreeModel, getGoRules, getName, getSubTreeModels, registerRule, removeSubTreeModel, setName, 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.TreeModel |
addTreeModelListener, removeTreeModelListener |
| Field Detail |
private static final Logger LOG
private boolean flat
private Vector flatChildren
| Constructor Detail |
public ToDoPerspective(String name)
name - the name that will be localized| Method Detail |
public Object getChild(Object parent,
int index)
getChild in interface TreeModelgetChild in class TreeModelCompositeparent - in the treeindex - of child to find
public int getChildCount(Object parent)
getChildCount in interface TreeModelgetChildCount in class TreeModelCompositeTreeModel.getChildCount(java.lang.Object)
public int getIndexOfChild(Object parent,
Object child)
getIndexOfChild in interface TreeModelgetIndexOfChild in class TreeModelCompositeTreeModel.getIndexOfChild(java.lang.Object,
java.lang.Object)public void setFlat(boolean b)
b - true if flatpublic boolean getFlat()
public void calcFlatChildren()
public void addFlatChildren(Object node)
node - the object to be added
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |