Package org.apache.jorphan.gui
Class DefaultTreeTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
org.apache.jorphan.gui.AbstractTreeTableModel
org.apache.jorphan.gui.DefaultTreeTableModel
- All Implemented Interfaces:
Serializable
,TableModel
,TreeTableModel
- See Also:
-
Field Summary
Fields inherited from class org.apache.jorphan.gui.AbstractTreeTableModel
classes, headers, listener, objects, readFunctors, rootNode, writeFunctors
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
ConstructorDescriptionDefaultTreeTableModel
(String[] headers, Functor[] readFunctors, Functor[] writeFunctors, Class<?>[] editorClasses) -
Method Summary
Methods inherited from class org.apache.jorphan.gui.AbstractTreeTableModel
addTableModelListener, clearData, fireTreeNodesChanged, getChild, getChildCount, getColumnClass, getColumnCount, getColumnName, getRootNode, getRowCount, getValueAt, getValueAt, isCellEditable, isCellEditable, isLeaf, nodeStructureChanged, removeTableModelListener, setValueAt, setValueAt
Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount
Methods inherited from class javax.swing.table.AbstractTableModel
findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners
-
Constructor Details
-
DefaultTreeTableModel
public DefaultTreeTableModel() -
DefaultTreeTableModel
- Parameters:
root
- theTreeNode
to use as root
-
DefaultTreeTableModel
public DefaultTreeTableModel(String[] headers, Functor[] readFunctors, Functor[] writeFunctors, Class<?>[] editorClasses) - Parameters:
headers
- the headers to usereadFunctors
- the read functors to usewriteFunctors
- the write functors to useeditorClasses
- the editor classes to use
-