org.xmlhammer.gui.output
Class ElementNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.xmlhammer.gui.output.ResultNode
          extended by org.xmlhammer.gui.output.ElementNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class ElementNode
extends ResultNode

The node for an XML Element.

Version:
$Revision: 1.9 $, $Date: 2007/07/04 19:42:48 $
Author:
Edwin Dankert
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
ElementNode(java.net.URI uri, Element value)
           
 
Method Summary
 java.lang.String getCopyValue()
           
 org.bounce.RunnableAction getDefaultAction(javax.swing.JFrame parent)
           
 java.lang.String getDescription()
           
 javax.swing.ImageIcon getIcon()
           
 java.lang.String getName()
           
 javax.swing.JPopupMenu getPopupMenu(javax.swing.JFrame parent)
           
 java.lang.String getValue()
           
 
Methods inherited from class org.xmlhammer.gui.output.ResultNode
getCopyAction, getEditURIAction, getFirstLine, getOpenURIAction, getPropertiesAction
 
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

ElementNode

public ElementNode(java.net.URI uri,
                   Element value)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class ResultNode

getValue

public java.lang.String getValue()
Specified by:
getValue in class ResultNode

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class ResultNode

getIcon

public javax.swing.ImageIcon getIcon()
Specified by:
getIcon in class ResultNode

getPopupMenu

public javax.swing.JPopupMenu getPopupMenu(javax.swing.JFrame parent)
Specified by:
getPopupMenu in class ResultNode

getDefaultAction

public org.bounce.RunnableAction getDefaultAction(javax.swing.JFrame parent)
Specified by:
getDefaultAction in class ResultNode

getCopyValue

public java.lang.String getCopyValue()
Specified by:
getCopyValue in class ResultNode


Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.