| |
|
| java.lang.Object org.acm.seguin.ide.elixir.UMLLeaf
UMLLeaf | class UMLLeaf implements TNode(Code) | | Stores a leaf node for a UML class diagram
author: Chris Seguin |
UMLLeaf | public UMLLeaf(TNode parent, File file, UMLDocManager docManager)(Code) | | Constructor for the UMLLeaf object
Parameters: parent - the parent file Parameters: file - the file Parameters: docManager - the document manager |
children | public Enumeration children()(Code) | | Gets an enumeration of the children
An empty enumeration |
doDoubleClick | public void doDoubleClick()(Code) | | Perform double-click action. Hopefully this will open the file.
|
fireChanged | public void fireChanged()(Code) | | Notify the TreeModel and hence the TreeModel listeners that this node
has changed
|
getAllowsChildren | public boolean getAllowsChildren()(Code) | | Can we add children to this
The AllowsChildren value |
getChildAt | public TreeNode getChildAt(int idx)(Code) | | Return the child from an index
Parameters: idx - Description of Parameter The ChildAt value |
getChildCount | public int getChildCount()(Code) | | Count the children
The ChildCount value |
getFullName | public String getFullName()(Code) | | Get the full name of the node, usually composed by walking the TreePath
a/b/c etc.
The FullName value |
getIcon | public Icon getIcon(boolean expanded)(Code) | | Get the icon to show in the tree
Parameters: expanded - Description of Parameter The Icon value |
getIndex | public int getIndex(TreeNode child)(Code) | | Return the index of a child. This has no children so always returns -1.
Parameters: child - Description of Parameter The Index value |
getName | public String getName()(Code) | | Get the name to show in the tree
The Name value |
getParent | public TreeNode getParent()(Code) | | Gets the Parent attribute of the UMLLeaf object
The Parent value |
getPopupMenu | public JPopupMenu getPopupMenu()(Code) | | Get the popup menu to show for this node
The PopupMenu value |
getToolTipText | public String getToolTipText()(Code) | | Return the tooltip help to be shown when the mouse is over this node.
The ToolTipText value |
getTreeModel | public TModel getTreeModel()(Code) | | Return the model which this node belongs to
The TreeModel value |
getTreePath | public TreePath getTreePath()(Code) | | Get the TreePath which represents this node
The TreePath value |
isLeaf | public boolean isLeaf()(Code) | | Gets the Leaf attribute of the UMLLeaf object
The Leaf value |
setName | public void setName(String name)(Code) | | Sets a new name for the node.
Parameters: name - The new Name value |
setParent | public void setParent(TParent value)(Code) | | Sets a new parent for the node.
Parameters: value - The new Parent value |
sortChildren | public void sortChildren(SortUtil.Comparator c)(Code) | | Sort the children of this node based on the comparator. Since there are
no children, this does nothing.
Parameters: c - the comparator |
toString | public String toString()(Code) | | Return the name of the node as its String representation
Gets the string representation of this node |
|
|
|