com.altair.hwm.beans.utils
Class HWMTreeTableNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by com.altair.hwm.beans.utils.HWMTreeTableNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

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

Title: Description: Copyright: Copyright (c) 2003 Company:

Version:
1.0
Author:
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
HWMTreeTableNode()
          Constructor
 
Method Summary
 java.lang.Class GetColumnClass(int nColumn)
          Get the type of class represented by this column
 int GetColumnCount()
          Get the number of columns
 java.lang.String GetColumnName(int nColumn)
          Returns a default name for the column that is represented by this node
 java.lang.Object GetValueAt(int nColumn)
          Get the value of this node that needs to be displayed in the nth column of the tree table
 boolean IsCellEditable(int column)
          Ascertain whether the cell specified by the ith row, jth column is editable
 void SetValueAt(int nColumn, java.lang.Object objValue)
          Set the value of this node that needs to be displayed in the nth column of this node
 
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, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HWMTreeTableNode

public HWMTreeTableNode()
Constructor

Method Detail

GetValueAt

public java.lang.Object GetValueAt(int nColumn)
Get the value of this node that needs to be displayed in the nth column of the tree table

Parameters:
nCol - -- The nth column of the tree table
Returns:
Object The object to be displayed in the nth column

SetValueAt

public void SetValueAt(int nColumn,
                       java.lang.Object objValue)
Set the value of this node that needs to be displayed in the nth column of this node

Parameters:
nColumn - -- The nth column of the node

GetColumnClass

public java.lang.Class GetColumnClass(int nColumn)
Get the type of class represented by this column

Parameters:
nColumn - the column being queried
Returns:
Class

GetColumnCount

public int GetColumnCount()
Get the number of columns

Returns:
The number of columns

GetColumnName

public java.lang.String GetColumnName(int nColumn)
Returns a default name for the column that is represented by this node

Parameters:
nColumn - the column being queried
Returns:
a string containing the default name of the column

IsCellEditable

public boolean IsCellEditable(int column)
Ascertain whether the cell specified by the ith row, jth column is editable

Parameters:
column - The column index of the tree table