hades.manager.tree
Class DesignFileTreeNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byhades.manager.tree.SortedTreeNode
          extended byhades.manager.tree.DesignFileTreeNode
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class DesignFileTreeNode
extends SortedTreeNode

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
Field Summary
(package private) static javax.swing.ImageIcon _icon
           
 
Fields inherited from class hades.manager.tree.SortedTreeNode
__url, debug
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
DesignFileTreeNode()
           
 
Method Summary
 javax.swing.ImageIcon getIcon()
          this is a base class without icon: return the "unknown" icon
 void handleDoubleClick(BrowserFrame browser)
          handle a tree double click event on this node in the Colibri tree control.
 void handleTreeSelection(BrowserFrame browser)
          load and set the thumbnail Icon for this HADES design, also try to * load and display the name/author/version/description attributes and display in the Browser InfoPanel
 
Methods inherited from class hades.manager.tree.SortedTreeNode
add, getURL, loadIcon, msg, setURL
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_icon

static javax.swing.ImageIcon _icon
Constructor Detail

DesignFileTreeNode

public DesignFileTreeNode()
Method Detail

getIcon

public javax.swing.ImageIcon getIcon()
Description copied from class: SortedTreeNode
this is a base class without icon: return the "unknown" icon

Overrides:
getIcon in class SortedTreeNode

handleTreeSelection

public void handleTreeSelection(BrowserFrame browser)
load and set the thumbnail Icon for this HADES design, also try to * load and display the name/author/version/description attributes and display in the Browser InfoPanel

Overrides:
handleTreeSelection in class SortedTreeNode

handleDoubleClick

public void handleDoubleClick(BrowserFrame browser)
handle a tree double click event on this node in the Colibri tree control. For a Hades design, we open the design in the active editor.

Overrides:
handleDoubleClick in class SortedTreeNode