|
||||||||||
| 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
public abstract class ToDoPerspective
This class represents a todo tree model / perspective.
A todo tree model / perspective is a collection of GoRules.
| Constructor Summary | |
|---|---|
ToDoPerspective(java.lang.String name)
The constructor. |
|
| Method Summary | |
|---|---|
void |
addFlatChildren(java.lang.Object node)
TodoList specific. |
void |
calcFlatChildren()
TodoList specific. |
java.lang.Object |
getChild(java.lang.Object parent,
int index)
Finds the each of the children of a parent in the tree. |
int |
getChildCount(java.lang.Object parent)
|
boolean |
getFlat()
todoList specific. |
int |
getIndexOfChild(java.lang.Object parent,
java.lang.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, removeTreeModelListener |
| Methods inherited from class org.argouml.ui.PerspectiveSupport |
|---|
addSubTreeModel, getGoRuleList, getName, getSubTreeModelList, 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 |
| Constructor Detail |
|---|
public ToDoPerspective(java.lang.String name)
name - the name that will be localized| Method Detail |
|---|
public java.lang.Object getChild(java.lang.Object parent,
int index)
getChild in interface javax.swing.tree.TreeModelgetChild in class TreeModelCompositeparent - in the treeindex - of child to find
public int getChildCount(java.lang.Object parent)
getChildCount in interface javax.swing.tree.TreeModelgetChildCount in class TreeModelComposite
public int getIndexOfChild(java.lang.Object parent,
java.lang.Object child)
getIndexOfChild in interface javax.swing.tree.TreeModelgetIndexOfChild in class TreeModelCompositepublic void setFlat(boolean b)
b - true if flatpublic boolean getFlat()
public void calcFlatChildren()
public void addFlatChildren(java.lang.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-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |