org.xmlhammer.gui.output
Class ErrorNode

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

public class ErrorNode
extends ResultNode

The node for the XML tree, containing an XML element.

Version:
$Revision: 1.14 $, $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
ErrorNode(java.net.URI uri, Error err)
           
 
Method Summary
 java.lang.String getContext()
           
 java.lang.String getCopyValue()
           
 org.bounce.RunnableAction getDefaultAction(javax.swing.JFrame parent)
           
 java.lang.String getDescription()
           
 Error getError()
           
 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

ErrorNode

public ErrorNode(java.net.URI uri,
                 Error err)
Method Detail

getError

public Error getError()

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

getContext

public java.lang.String getContext()

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.