| javax.swing.table.DefaultTableModel org.apache.jorphan.gui.AbstractTreeTableModel
All known Subclasses: org.apache.jorphan.gui.DefaultTreeTableModel,
Method Summary | |
public void | addTableModelListener(TableModelListener l) | public void | clearData() | public void | fireTreeNodesChanged(TreeNode source, Object[] path, int[] indexes, Object[] children) | public Object | getChild(Object parent, int index) | public int | getChildCount(Object parent) | public Class | getColumnClass(int arg0) | public int | getColumnCount() The implementation is exactly the same as ObjectTableModel.getColumnCount. | public String | getColumnName(int columnIndex) | public Object | getRootNode() | public int | getRowCount() The implementation is exactly the same as ObjectTableModel.getRowCount. | public Object | getValueAt(Object node, int col) | public Object | getValueAt(int rowIndex, int columnIndex) Subclasses need to implement the logic for the method and
return the value at the specific cell. | public boolean | isCellEditable(Object node, int col) | public boolean | isCellEditable(int rowIndex, int columnIndex) By default the abstract class returns true. | public boolean | isLeaf(Object node) the implementation checks if the Object is a treenode. | public void | nodeStructureChanged(TreeNode node) | public void | removeTableModelListener(TableModelListener l) | public void | setValueAt(Object val, Object node, int column) | public void | setValueAt(Object aValue, int rowIndex, int columnIndex) |
AbstractTreeTableModel | public AbstractTreeTableModel(TreeNode root)(Code) | | |
AbstractTreeTableModel | public AbstractTreeTableModel(TreeNode root, boolean editable)(Code) | | |
clearData | public void clearData()(Code) | | |
getColumnClass | public Class getColumnClass(int arg0)(Code) | | |
getColumnCount | public int getColumnCount()(Code) | | The implementation is exactly the same as ObjectTableModel.getColumnCount.
|
getColumnName | public String getColumnName(int columnIndex)(Code) | | |
getRootNode | public Object getRootNode()(Code) | | The root node for the TreeTable
the root node |
getRowCount | public int getRowCount()(Code) | | The implementation is exactly the same as ObjectTableModel.getRowCount.
|
getValueAt | public Object getValueAt(int rowIndex, int columnIndex)(Code) | | Subclasses need to implement the logic for the method and
return the value at the specific cell.
|
isCellEditable | public boolean isCellEditable(Object node, int col)(Code) | | |
isCellEditable | public boolean isCellEditable(int rowIndex, int columnIndex)(Code) | | By default the abstract class returns true. It is up to subclasses
to override the implementation.
|
isLeaf | public boolean isLeaf(Object node)(Code) | | the implementation checks if the Object is a treenode. If it is,
it returns isLeaf(), otherwise it returns false.
Parameters: node - whether object is a leaf node or not |
nodeStructureChanged | public void nodeStructureChanged(TreeNode node)(Code) | | |
setValueAt | public void setValueAt(Object aValue, int rowIndex, int columnIndex)(Code) | | |
Methods inherited from javax.swing.table.DefaultTableModel | public void addColumn(Object columnName)(Code)(Java Doc) public void addColumn(Object columnName, Vector columnData)(Code)(Java Doc) public void addColumn(Object columnName, Object[] columnData)(Code)(Java Doc) public void addRow(Vector rowData)(Code)(Java Doc) public void addRow(Object[] rowData)(Code)(Java Doc) protected static Vector convertToVector(Object[] anArray)(Code)(Java Doc) protected static Vector convertToVector(Object[][] anArray)(Code)(Java Doc) public int getColumnCount()(Code)(Java Doc) public String getColumnName(int column)(Code)(Java Doc) public Vector getDataVector()(Code)(Java Doc) public int getRowCount()(Code)(Java Doc) public Object getValueAt(int row, int column)(Code)(Java Doc) public void insertRow(int row, Vector rowData)(Code)(Java Doc) public void insertRow(int row, Object[] rowData)(Code)(Java Doc) public boolean isCellEditable(int row, int column)(Code)(Java Doc) public void moveRow(int start, int end, int to)(Code)(Java Doc) public void newDataAvailable(TableModelEvent event)(Code)(Java Doc) public void newRowsAdded(TableModelEvent e)(Code)(Java Doc) public void removeRow(int row)(Code)(Java Doc) public void rowsRemoved(TableModelEvent event)(Code)(Java Doc) public void setColumnCount(int columnCount)(Code)(Java Doc) public void setColumnIdentifiers(Vector columnIdentifiers)(Code)(Java Doc) public void setColumnIdentifiers(Object[] newIdentifiers)(Code)(Java Doc) public void setDataVector(Vector dataVector, Vector columnIdentifiers)(Code)(Java Doc) public void setDataVector(Object[][] dataVector, Object[] columnIdentifiers)(Code)(Java Doc) public void setNumRows(int rowCount)(Code)(Java Doc) public void setRowCount(int rowCount)(Code)(Java Doc) public void setValueAt(Object aValue, int row, int column)(Code)(Java Doc)
|
|
|