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 AbstractFileNode

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

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

Direct Known Subclasses:
  DirNode, FileNode

    public class AbstractFileNode

extends GenericTreeNode

See Also:
  Serialized Form

Field Summary
`protected Entry` | `entry`
`protected java.io.File` | `file`

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

Constructor Summary
`AbstractFileNode(Entry _entry)`
`AbstractFileNode(java.io.File _file)`

Method Summary
`Entry` | `getEntry()`
`java.io.File` | `getFile()`
`static java.lang.String` | `getNameFromPath(java.lang.String s)`
`void` | `setEntry(Entry entry)`
`void` | `setFile(java.io.File file)`

Methods inherited from class madkit.TreeTools.GenericTreeNode
`execute, getBranchIcon, getDescriptor, getLeafIcon, setDescriptor`

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

### file

    protected java.io.File file

### entry

    protected Entry entry

Constructor Detail

### AbstractFileNode

    public AbstractFileNode(java.io.File _file)

### AbstractFileNode

    public AbstractFileNode(Entry _entry)

Method Detail

### getNameFromPath

    public static java.lang.String getNameFromPath(java.lang.String s)

### getEntry

    public Entry getEntry()

  Returns:
    Returns the entry.

### setEntry

    public void setEntry(Entry entry)

  Parameters:
    `entry` - The entry to set.

### getFile

    public java.io.File getFile()

  Returns:
    Returns the file.

### setFile

    public void setFile(java.io.File file)

  Parameters:
    `file` - The file to set.

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.