Serializable
, TableModel
public class SimpleMibTreeTableModelAdapter extends AbstractTableModel
SimpleMibTreeTableModelAdapter
provides a tree table model for a tree node's table.listenerList
Constructor | Description |
---|---|
SimpleMibTreeTableModelAdapter(SimpleAbstractTreeTableModel treeTableModel,
JTree tree) |
Modifier and Type | Method | Description |
---|---|---|
Class<?> |
getColumnClass(int column) |
|
int |
getColumnCount() |
|
String |
getColumnName(int column) |
|
int |
getRowCount() |
|
Object |
getValueAt(int row,
int column) |
|
boolean |
isCellEditable(int row,
int column) |
|
protected Object |
nodeForRow(int row) |
|
void |
setValueAt(Object value,
int row,
int column) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public SimpleMibTreeTableModelAdapter(SimpleAbstractTreeTableModel treeTableModel, JTree tree)
public int getColumnCount()
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public Class<?> getColumnClass(int column)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public int getRowCount()
protected Object nodeForRow(int row)
public Object getValueAt(int row, int column)
public boolean isCellEditable(int row, int column)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public void setValueAt(Object value, int row, int column)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
Copyright © 2020 SNMP4J.org. All rights reserved.