org.argouml.uml.diagram.ui
Class GoFilteredChildren

java.lang.Object
  |
  +--org.argouml.ui.AbstractGoRule
        |
        +--org.argouml.uml.diagram.ui.GoFilteredChildren
All Implemented Interfaces:
javax.swing.tree.TreeModel

public class GoFilteredChildren
extends AbstractGoRule


Constructor Summary
GoFilteredChildren(java.lang.String name, javax.swing.tree.TreeModel tm, org.tigris.gef.util.Predicate pred)
           
 
Method Summary
 java.lang.Object getChild(java.lang.Object parent, int index)
           
 int getChildCount(java.lang.Object parent)
           
 java.util.Collection getChildren(java.lang.Object parent)
           
 int getIndexOfChild(java.lang.Object parent, java.lang.Object child)
           
 java.lang.Object getRoot()
           
 java.lang.String getRuleName()
          return the name of the rule as it is displayed in the nav perspective edit pane.
 boolean isLeaf(java.lang.Object node)
           
 
Methods inherited from class org.argouml.ui.AbstractGoRule
addTreeModelListener, removeTreeModelListener, toString, valueForPathChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GoFilteredChildren

public GoFilteredChildren(java.lang.String name,
                          javax.swing.tree.TreeModel tm,
                          org.tigris.gef.util.Predicate pred)
Method Detail

getRuleName

public java.lang.String getRuleName()
Description copied from class: AbstractGoRule
return the name of the rule as it is displayed in the nav perspective edit pane. Returns for example "State->Substates".
Overrides:
getRuleName in class AbstractGoRule
Following copied from class: org.argouml.ui.AbstractGoRule
See Also:
AbstractGoRule.toString()

getRoot

public java.lang.Object getRoot()
Overrides:
getRoot in class AbstractGoRule
Following copied from class: org.argouml.ui.AbstractGoRule
See Also:
TreeModel.getRoot()

getChild

public java.lang.Object getChild(java.lang.Object parent,
                                 int index)
Overrides:
getChild in class AbstractGoRule
Following copied from class: org.argouml.ui.AbstractGoRule
See Also:
TreeModel.getChild(Object, int)

getChildren

public java.util.Collection getChildren(java.lang.Object parent)
Overrides:
getChildren in class AbstractGoRule

getChildCount

public int getChildCount(java.lang.Object parent)
Overrides:
getChildCount in class AbstractGoRule
Following copied from class: org.argouml.ui.AbstractGoRule
See Also:
TreeModel.getChildCount(Object)

getIndexOfChild

public int getIndexOfChild(java.lang.Object parent,
                           java.lang.Object child)
Overrides:
getIndexOfChild in class AbstractGoRule
Following copied from class: org.argouml.ui.AbstractGoRule
See Also:
TreeModel.getIndexOfChild(Object, Object)

isLeaf

public boolean isLeaf(java.lang.Object node)
Overrides:
isLeaf in class AbstractGoRule
Following copied from class: org.argouml.ui.AbstractGoRule
See Also:
TreeModel.isLeaf(Object)


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook