org.xmlhammer.gui.output
Class URINode

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

public class URINode
extends ResultNode

The node for a URI/File.

Version:
$Revision: 1.12 $, $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
URINode(java.net.URI uri)
           
URINode(java.net.URI uri, boolean valid)
           
 
Method Summary
 void count()
           
 java.lang.String getContext()
           
 java.lang.String getCopyValue()
           
 org.bounce.RunnableAction getDefaultAction(javax.swing.JFrame parent)
           
 java.lang.String getDescription()
           
 javax.swing.Icon getIcon()
           
 java.lang.String getName()
           
 javax.swing.JPopupMenu getPopupMenu(javax.swing.JFrame parent)
           
 java.net.URI getURI()
           
 java.lang.String getValue()
           
 boolean isError()
           
 boolean isValid()
           
 boolean isWarning()
           
 
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

URINode

public URINode(java.net.URI uri)

URINode

public URINode(java.net.URI uri,
               boolean valid)
Method Detail

getName

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

isValid

public boolean isValid()

isWarning

public boolean isWarning()

isError

public boolean isError()

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.Icon getIcon()
Specified by:
getIcon in class ResultNode

getURI

public java.net.URI getURI()

getContext

public java.lang.String getContext()

count

public void count()

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.