Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.tree
Class FooterRow

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

public class FooterRow
extends AggregateRow

The FooterRow class corresponds to rows of a TreeTable component that are placed at the bottom of each tree hierarchy. There can be an infinite number of FooterRows at every tree level. In order to discriminate between them, each FooterRow bears an index which corresponds to the order with which the FooterRow was added to the TreeTable.

See Also:
Serialized Form

Field Summary
protected  int footerIndex
          the order with which the FooterRow was added to the TreeTable.
 
Fields inherited from class com.citra.tree.AggregateRow
aggregateValues
 
Fields inherited from class com.citra.tree.TreeTableRow
modelIndex
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
FooterRow(Object o, int modelIndex, int footerIndex)
          Constructs a FooterRow object.
 
Method Summary
 int getFooterIndex()
          Returns the order with which the FooterRow was added to the TreeTable.
 boolean isFooter()
          Returns true.
 boolean isHeader()
          Returns false.
 
Methods inherited from class com.citra.tree.AggregateRow
getAggregateValue, isAggregate, setAggregateValue
 
Methods inherited from class com.citra.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
 

Field Detail

footerIndex

protected int footerIndex
the order with which the FooterRow was added to the TreeTable.

Constructor Detail

FooterRow

public FooterRow(Object o,
                 int modelIndex,
                 int footerIndex)
Constructs a FooterRow object. footerIndex is the order with which this object is added to the TreeTable.

Method Detail

getFooterIndex

public int getFooterIndex()
Returns the order with which the FooterRow was added to the TreeTable.

Returns:
an index

isFooter

public boolean isFooter()
Returns true.

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 © 2011 Citra Technologies. All Rights Reserved.