org.xmlhammer.gui.output
Class MessageNode

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

public class MessageNode
extends ResultNode

The node for the XML Comment.

Version:
$Revision$, $Date$
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
MessageNode(java.net.URI uri, Message message)
           
 
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

MessageNode

public MessageNode(java.net.URI uri,
                   Message message)
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.