Copyright © 2005 Scientific Applications. All Rights Reserved.

com.sciapp.tree
Class DataRow

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by com.sciapp.tree.TreeTableRow
          extended by com.sciapp.tree.DataRow
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode

public class DataRow
extends TreeTableRow

A subclass of TreeTableRow that represents nodes of a TreeTable that are associated with an object row of the ListTableModel that holds the actual tabular data. Note that these nodes cannot have children.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sciapp.tree.TreeTableRow
modelIndex
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
DataRow(Object o, int modelIndex)
          Constructs a DataRow object.
 
Method Summary
 boolean isAggregate()
          Returns false.
 boolean isFooter()
          Returns false.
 boolean isHeader()
          Returns false.
 
Methods inherited from class com.sciapp.tree.TreeTableRow
getModelIndex
 
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

DataRow

public DataRow(Object o,
               int modelIndex)
Constructs a DataRow object.

Method Detail

isAggregate

public boolean isAggregate()
Returns false.

Returns true if this node represents an aggregate row in the tree data structure created by TreeTableModel.

Specified by:
isAggregate in class TreeTableRow
Returns:
true if this node is an aggregate row, false otherwise.

isFooter

public boolean isFooter()
Returns false.

Returns true if this node represents a footer row in the tree data structure created by TreeTableModel.

Specified by:
isFooter in class TreeTableRow
Returns:
true if this node is a footer row, false otherwise.

isHeader

public boolean isHeader()
Returns false.

Returns true if this node represents a header row in the tree data structure created by TreeTableModel.

Specified by:
isHeader in class TreeTableRow
Returns:
true if this node is a header row, false otherwise.

Copyright © 2005 Scientific Applications. All Rights Reserved.