org.argouml.uml.diagram.static_structure.ui
Class GoClassToNavigableClass

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

public class GoClassToNavigableClass
extends AbstractGoRule


Constructor Summary
GoClassToNavigableClass()
           
 
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.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)
           
 void removeTreeModelListener(javax.swing.event.TreeModelListener l)
           
 void setRoot(java.lang.Object r)
           
 void valueForPathChanged(javax.swing.tree.TreePath path, java.lang.Object newValue)
           
 
Methods inherited from class org.argouml.ui.AbstractGoRule
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GoClassToNavigableClass

public GoClassToNavigableClass()
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()

setRoot

public void setRoot(java.lang.Object r)

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)

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)

getChildren

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

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)

valueForPathChanged

public void valueForPathChanged(javax.swing.tree.TreePath path,
                                java.lang.Object newValue)
Overrides:
valueForPathChanged in class AbstractGoRule
Following copied from class: org.argouml.ui.AbstractGoRule
See Also:
TreeModel.valueForPathChanged(TreePath, Object)

addTreeModelListener

public void addTreeModelListener(javax.swing.event.TreeModelListener l)
Overrides:
addTreeModelListener in class AbstractGoRule
Following copied from class: org.argouml.ui.AbstractGoRule
See Also:
TreeModel.addTreeModelListener(TreeModelListener)

removeTreeModelListener

public void removeTreeModelListener(javax.swing.event.TreeModelListener l)
Overrides:
removeTreeModelListener in class AbstractGoRule
Following copied from class: org.argouml.ui.AbstractGoRule
See Also:
TreeModel.removeTreeModelListener(TreeModelListener)


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