class ComponentPropertyModel
extends javax.swing.table.DefaultTableModel
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCESSIBLE |
static int |
METHOD_OBJECT |
static int |
PROPERTY_NAME |
static int |
PROPERTY_VALUE |
| 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) java.lang.reflect.Method[] |
getPropertyMethods(java.lang.Class cls,
boolean filter) |
java.lang.Object |
getValueAt(int row,
int col)
Display the property name column apropriately.
|
boolean |
isCellEditable(int row,
int col) |
void |
setComponent(java.awt.Component comp) |
void |
setComponent(java.awt.Component comp,
boolean filter)
Update the list of property methods based on the newly selected
component.
|
static void |
setFilteredPropertyMethods(java.lang.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, setValueAtaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListenerpublic 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(java.lang.String[] methods)
public void clear()
public void setComponent(java.awt.Component comp)
public void setComponent(java.awt.Component comp,
boolean filter)
java.lang.reflect.Method[] getPropertyMethods(java.lang.Class cls,
boolean filter)
public boolean isCellEditable(int row,
int col)
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class javax.swing.table.DefaultTableModelpublic java.lang.Object getValueAt(int row,
int col)
getValueAt in interface javax.swing.table.TableModelgetValueAt in class javax.swing.table.DefaultTableModel
Abbot is hosted on