se.datadosen.explorer
Class JAlbumExplorer.FolderTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by se.datadosen.explorer.JAlbumExplorer.FolderTreeNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
Enclosing class:
JAlbumExplorer

public class JAlbumExplorer.FolderTreeNode
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
JAlbumExplorer.FolderTreeNode(AlbumObject ao)
           
 
Method Summary
 AlbumObject getAlbumObject()
           
 int getChildCount()
           
 void invalidate()
          Indicate that underlaying directory structure has changed and needs to be rebuilt Remember to call DefaultTreeModel.nodeStructureChanged afterwards
 boolean isLeaf()
           
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, 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

JAlbumExplorer.FolderTreeNode

public JAlbumExplorer.FolderTreeNode(AlbumObject ao)
Method Detail

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface javax.swing.tree.TreeNode
Overrides:
isLeaf in class javax.swing.tree.DefaultMutableTreeNode

getAlbumObject

public AlbumObject getAlbumObject()

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface javax.swing.tree.TreeNode
Overrides:
getChildCount in class javax.swing.tree.DefaultMutableTreeNode

invalidate

public void invalidate()
Indicate that underlaying directory structure has changed and needs to be rebuilt Remember to call DefaultTreeModel.nodeStructureChanged afterwards