de.matthias_burbach.mosaique.swing
Class InsertNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byde.matthias_burbach.mosaique.swing.BaseMutableTreeNode
          extended byde.matthias_burbach.mosaique.swing.AbstractFileItemNode
              extended byde.matthias_burbach.mosaique.swing.InsertNode
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class InsertNode
extends AbstractFileItemNode

Author:
Matthias Burbach
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
InsertNode(Insert insert, TilesContext tilesContext, javax.swing.tree.DefaultTreeModel treeModel)
           
 
Method Summary
 AbstractFileItem getFileItem()
          
 Insert getInsert()
           
protected  void initChildren()
          Initializes the children nodes of this node.
 boolean isLeaf()
          
 java.lang.String toString()
          
 
Methods inherited from class de.matthias_burbach.mosaique.swing.AbstractFileItemNode
getMessage, isErroneous
 
Methods inherited from class de.matthias_burbach.mosaique.swing.BaseMutableTreeNode
assertChildrenAreInitialized, childrenAreInitialized, getChildCount, getChildren
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InsertNode

public InsertNode(Insert insert,
                  TilesContext tilesContext,
                  javax.swing.tree.DefaultTreeModel treeModel)
Parameters:
insert - The insert tag to display.
tilesContext - The Tiles context used when the Tile is inserted by the insert element being displayed.
treeModel - The tree model to delegate change operations to.
Method Detail

initChildren

protected void initChildren()
Initializes the children nodes of this node.

Specified by:
initChildren in class BaseMutableTreeNode

getFileItem

public AbstractFileItem getFileItem()

Specified by:
getFileItem in class AbstractFileItemNode
Returns:
The file item being displayed by this node.

isLeaf

public boolean isLeaf()

Specified by:
isLeaf in interface javax.swing.tree.TreeNode
Overrides:
isLeaf in class BaseMutableTreeNode

getInsert

public Insert getInsert()
Returns:
The insert of this node.

toString

public java.lang.String toString()



Copyright © 2005-2006 . All Rights Reserved.