|
Copyright © 2011 Citra Technologies. 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.citra.treetable.TreeTableRow
com.citra.treetable.AggregateRow
com.citra.treetable.HeaderRow
com.citra.treetable.db.DatabaseHeaderRow
public class DatabaseHeaderRow
DatabaseHeaderRow is a specialized HeaderRow that allows setting its children count and assign children at a random index.
Field Summary |
---|
Fields inherited from class com.citra.treetable.TreeTableRow |
---|
aggregateValues, modelIndex |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
DatabaseHeaderRow(Object o,
int modelIndex)
Constructs a DatabaseHeaderRow. |
Method Summary | |
---|---|
TreeNode |
getChildAt(int index)
Returns the child at the specified index in this node's child array. |
int |
getChildCount()
Returns the number of children of this node. |
void |
removeAllChildren()
Removes all of this node's children, setting their parents to null. |
void |
setChildAt(TreeTableRow newChild,
int index)
Assignes newChild as the child at index . |
void |
setChildCount(int childCount)
Assigns childCount as this node's children count. |
Methods inherited from class com.citra.treetable.HeaderRow |
---|
isCountEvaluated, isFooter, isHeader, remove, setCountEvaluated |
Methods inherited from class com.citra.treetable.AggregateRow |
---|
isAggregate |
Methods inherited from class com.citra.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 DatabaseHeaderRow(Object o, int modelIndex)
Method Detail |
---|
public TreeNode getChildAt(int index)
getChildAt
in interface TreeNode
getChildAt
in class DefaultMutableTreeNode
index
- an index into this node's child array
public int getChildCount()
getChildCount
in interface TreeNode
getChildCount
in class DefaultMutableTreeNode
public void removeAllChildren()
removeAllChildren
in class DefaultMutableTreeNode
public void setChildAt(TreeTableRow newChild, int index)
newChild
as the child at index
.
newChild
- the child to assignindex
- the index at which the new child is to be assignedpublic void setChildCount(int childCount)
childCount
as this node's children count.
childCount
- the child count to assign
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |