|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
com.sciapp.treetable.TreeTableRow
com.sciapp.treetable.AggregateRow
com.sciapp.treetable.HeaderRow
public class HeaderRow
The HeaderRow class corresponds to group rows (rows that bear children nodes and that can be expanded) of a TreeTable component.
| Field Summary |
|---|
| Fields inherited from class com.sciapp.treetable.TreeTableRow |
|---|
aggregateValues, modelIndex |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
HeaderRow(Object o,
int modelIndex)
Creates a HeaderRow object. |
|
| Method Summary | |
|---|---|
boolean |
isCountEvaluated()
Determines if this header row has evaluated its children count. |
boolean |
isFooter()
Returns false. |
boolean |
isHeader()
Returns true. |
void |
remove(int childIndex)
Removes the child at the specified index from this node's children and sets that node's parent to null. |
void |
setCountEvaluated(boolean countEval)
Assigns a flag that is true if this header row has evaluated its children count. |
| Methods inherited from class com.sciapp.treetable.AggregateRow |
|---|
isAggregate |
| Methods inherited from class com.sciapp.treetable.TreeTableRow |
|---|
clear, getAggregateValue, getAggregateValues, getModelIndex, setAggregateValue, setAggregateValues, setModelIndex, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HeaderRow(Object o,
int modelIndex)
| Method Detail |
|---|
public boolean isCountEvaluated()
public boolean isFooter()
Returns true if this node represents a footer row in the tree data structure created by TreeTableModel.
isFooter in class TreeTableRowpublic boolean isHeader()
Returns true if this node represents a header row in the tree data structure created by TreeTableModel.
isHeader in class TreeTableRowpublic void remove(int childIndex)
MutableTreeNode.
remove in interface MutableTreeNoderemove in class DefaultMutableTreeNodechildIndex - the index in this node's child array
of the child to removepublic void setCountEvaluated(boolean countEval)
countEval - true if the header row has evaluated its children count.
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||