class ComponentPropertyModel extends DefaultTableModel
Modifier and Type | Field and Description |
---|---|
static int |
ACCESSIBLE |
static int |
METHOD_OBJECT |
static int |
PROPERTY_NAME |
static int |
PROPERTY_VALUE |
columnIdentifiers, dataVector
listenerList
Constructor and Description |
---|
ComponentPropertyModel()
Create a model with two columns, the property name and the property
value.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
(package private) Method[] |
getPropertyMethods(Class cls,
boolean filter) |
Object |
getValueAt(int row,
int col)
Display the property name column apropriately.
|
boolean |
isCellEditable(int row,
int col) |
void |
setComponent(Component comp) |
void |
setComponent(Component comp,
boolean filter)
Update the list of property methods based on the newly selected
component.
|
static void |
setFilteredPropertyMethods(String[] methods)
Install the given filtered property method properties.
|
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
public static final int PROPERTY_NAME
public static final int PROPERTY_VALUE
public static final int ACCESSIBLE
public static final int METHOD_OBJECT
public ComponentPropertyModel()
public static void setFilteredPropertyMethods(String[] methods)
public void clear()
public void setComponent(Component comp)
public void setComponent(Component comp, boolean filter)
public boolean isCellEditable(int row, int col)
isCellEditable
in interface TableModel
isCellEditable
in class DefaultTableModel
public Object getValueAt(int row, int col)
getValueAt
in interface TableModel
getValueAt
in class DefaultTableModel
Abbot is hosted on