Class MyTreeTableModelAdapter
java.lang.Object
javax.swing.table.AbstractTableModel
edu.jiangxin.apktoolbox.swing.treetable.MyTreeTableModelAdapter
- All Implemented Interfaces:
Serializable
,TableModel
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
ConstructorDescriptionMyTreeTableModelAdapter
(MyAbstractTreeTableModel treeTableModel, JTree tree) -
Method Summary
Modifier and TypeMethodDescriptionClass<?>
getColumnClass
(int column) int
getColumnName
(int column) int
getValueAt
(int row, int column) boolean
isCellEditable
(int row, int column) protected Object
nodeForRow
(int row) void
setValueAt
(Object value, int row, int column) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Constructor Details
-
MyTreeTableModelAdapter
-
-
Method Details
-
getColumnCount
public int getColumnCount() -
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getColumnClass
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
getRowCount
public int getRowCount() -
nodeForRow
-
getValueAt
-
isCellEditable
public boolean isCellEditable(int row, int column) - Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
setValueAt
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classAbstractTableModel
-