|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JTable | +--gate.swing.XJTable | +--gate.swing.JTreeTable
A TreeTable component. That is a component that looks like a table apart from the first column that contains a tree.
Inner Class Summary | |
class |
JTreeTable.TreeTableCellRenderer
The renderer used to display the table cells containing tree nodes. |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Fields inherited from class javax.swing.JTable |
AUTO_RESIZE_ALL_COLUMNS, AUTO_RESIZE_LAST_COLUMN, AUTO_RESIZE_NEXT_COLUMN, AUTO_RESIZE_OFF, AUTO_RESIZE_SUBSEQUENT_COLUMNS |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
JTreeTable(TreeTableModel model)
Constructs a JTreeTable from a model |
Method Summary | |
void |
expandPath(TreePath path)
|
void |
expandRow(int row)
|
JTree |
getTree()
|
void |
setSortable(boolean b)
Overrides the setSortable() method from XJTable so the table is NOT
sortable. |
Methods inherited from class gate.swing.XJTable |
getActualModel, getTableRow, setAscending, setAutoResizeMode, setModel, setSortedColumn, tableChanged |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setLayout, validate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JTreeTable(TreeTableModel model)
Method Detail |
public void setSortable(boolean b)
XJTable
so the table is NOT
sortable. In a tree-table component the ordering for the rows is given by
the structure of the tree and they cannot be reordered.setSortable
in class XJTable
public JTree getTree()
public void expandPath(TreePath path)
public void expandRow(int row)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |