Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## madkit.TreeTools
Class GenericTreeNode

    java.lang.Object
      javax.swing.tree.DefaultMutableTreeNode
          madkit.TreeTools.GenericTreeNode

All Implemented Interfaces:
  java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

Direct Known Subclasses:
  AbstractFileNode, PluginNode

    public class GenericTreeNode

extends javax.swing.tree.DefaultMutableTreeNode

See Also:
  Serialized Form

Field Summary

Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
`allowsChildren, children, EMPTY_ENUMERATION, parent, userObject`

Constructor Summary
`GenericTreeNode(java.lang.String name)`

Method Summary
`void` | `execute()`
`javax.swing.ImageIcon` | `getBranchIcon(int k, boolean open)`
`GenericIconDescriptor` | `getDescriptor()`
`javax.swing.ImageIcon` | `getLeafIcon()`
`void` | `setDescriptor(GenericIconDescriptor desc)`

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`

Constructor Detail

### GenericTreeNode

    public GenericTreeNode(java.lang.String name)

Method Detail

### getDescriptor

    public GenericIconDescriptor getDescriptor()

### setDescriptor

    public void setDescriptor(GenericIconDescriptor desc)

### execute

    public void execute()

### getLeafIcon

    public javax.swing.ImageIcon getLeafIcon()

### getBranchIcon

    public javax.swing.ImageIcon getBranchIcon(int k,
                                               boolean open)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © Madkit Team (O. Gutknecht, J. Ferber, F. Michel et al.) All Rights Reserved.