au.edu.jcu.hermes.plugin.icat
Class DataFileParameterNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by au.edu.jcu.hermes.plugin.icat.DataFileParameterNode
All Implemented Interfaces:
ITreeNode, java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class DataFileParameterNode
extends javax.swing.tree.DefaultMutableTreeNode
implements ITreeNode

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
DataFileParameterNode(DataFileParameter parameter)
          Default Constructor.
 
Method Summary
 DataFileParameter getDataFileParameter()
          Get the associated DataFileParameter.
 javax.swing.Icon getIcon()
          Get the icon.
 long getId()
          Get the id.
 java.lang.String getName()
          Get the name.
 void setName(java.lang.String name)
          Set the name.
 
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

DataFileParameterNode

public DataFileParameterNode(DataFileParameter parameter)
Default Constructor.

Parameters:
parameter - - DataFileParameter
Method Detail

getId

public long getId()
Get the id.

Specified by:
getId in interface ITreeNode
Returns:
the id of the associated DataFileParameter

getName

public java.lang.String getName()
Get the name.

Specified by:
getName in interface ITreeNode
Returns:
the name of the associated DataFileParameter

setName

public void setName(java.lang.String name)
Set the name.

Specified by:
setName in interface ITreeNode
Parameters:
name - - the new name.

getDataFileParameter

public DataFileParameter getDataFileParameter()
Get the associated DataFileParameter.

Returns:

getIcon

public javax.swing.Icon getIcon()
Get the icon.

Specified by:
getIcon in interface ITreeNode
Returns: