org.xmlhammer.gui.output
Class ResultNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.xmlhammer.gui.output.ResultNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
Direct Known Subclasses:
AttributeNode, CommentNode, ElementNode, ErrorNode, FatalNode, MessageNode, ProcessingInstructionNode, RootNode, TextNode, URINode, ValueNode, WarningNode

public abstract class ResultNode
extends javax.swing.tree.DefaultMutableTreeNode

The base node for Result Nodes.

Version:
$Revision: 1.7 $, $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
ResultNode()
           
 
Method Summary
protected  CopyAction getCopyAction()
           
abstract  java.lang.String getCopyValue()
           
abstract  org.bounce.RunnableAction getDefaultAction(javax.swing.JFrame parent)
           
abstract  java.lang.String getDescription()
           
protected  EditURIAction getEditURIAction(java.net.URI uri, int line, int column)
           
static java.lang.String getFirstLine(java.lang.String lines)
           
abstract  javax.swing.Icon getIcon()
           
abstract  java.lang.String getName()
           
protected  OpenURIAction getOpenURIAction(java.net.URI uri, int line, int column)
           
abstract  javax.swing.JPopupMenu getPopupMenu(javax.swing.JFrame parent)
           
protected  PropertiesAction getPropertiesAction(javax.swing.JDialog dialog)
           
abstract  java.lang.String getValue()
           
 
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

ResultNode

public ResultNode()
Method Detail

getName

public abstract java.lang.String getName()

getValue

public abstract java.lang.String getValue()

getDescription

public abstract java.lang.String getDescription()

getIcon

public abstract javax.swing.Icon getIcon()

getDefaultAction

public abstract org.bounce.RunnableAction getDefaultAction(javax.swing.JFrame parent)

getPopupMenu

public abstract javax.swing.JPopupMenu getPopupMenu(javax.swing.JFrame parent)

getFirstLine

public static java.lang.String getFirstLine(java.lang.String lines)

getOpenURIAction

protected OpenURIAction getOpenURIAction(java.net.URI uri,
                                         int line,
                                         int column)

getEditURIAction

protected EditURIAction getEditURIAction(java.net.URI uri,
                                         int line,
                                         int column)

getCopyAction

protected CopyAction getCopyAction()

getCopyValue

public abstract java.lang.String getCopyValue()

getPropertiesAction

protected PropertiesAction getPropertiesAction(javax.swing.JDialog dialog)


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