|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TreeTableNode
The TreeTableNode is an extension of the javax.swing.tree.TreeNode, and is specifically
used by the tree contained in the JTreeTable It provides some extra methods required
by the JTreeTable to determine the variable heights of components that may be contained
in a cell. The setLastHeight(int) and getLastHeight() are exclusively used by the
JTreeTable
| Method Summary | |
|---|---|
java.lang.Object |
getColumnValue(int columnIndex)
Returns the column value for specified column index. |
int |
getLastHeight()
Gets the height used last by the JTreeTable for this node. |
java.lang.String |
getNodeText()
Gets the text field to be displayed for the node. |
java.awt.Dimension |
getPreferredSize()
Gets the preferred height of the node in the tree. |
void |
setLastHeight(int height)
Sets the current height being used by the JTreeTable for later use. |
| Methods inherited from interface javax.swing.tree.TreeNode |
|---|
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf |
| Method Detail |
|---|
java.lang.String getNodeText()
java.awt.Dimension getPreferredSize()
java.lang.Object getColumnValue(int columnIndex)
columnIndex - The of the column object to be returned
int getLastHeight()
JTreeTable for this node.
void setLastHeight(int height)
JTreeTable for later use.
height - The height being used
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||