abbot.editor
Class ComponentPropertyModel
java.lang.Object
|
+--javax.swing.table.AbstractTableModel
|
+--javax.swing.table.DefaultTableModel
|
+--abbot.editor.ComponentPropertyModel
- All Implemented Interfaces:
- Serializable, TableModel
- class ComponentPropertyModel
- extends DefaultTableModel
- See Also:
- Serialized Form
Constructor Summary |
ComponentPropertyModel()
Create a model with two columns, the property name and the property
value. |
Methods inherited from class javax.swing.table.DefaultTableModel |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, insertRow, insertRow, isCellEditable, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_NAME
public static final int PROPERTY_NAME
PROPERTY_VALUE
public static final int PROPERTY_VALUE
METHOD_OBJECT
public static final int METHOD_OBJECT
ComponentPropertyModel
public ComponentPropertyModel()
- Create a model with two columns, the property name and the property
value.
static void ()
setFilteredPropertyMethods
public static void setFilteredPropertyMethods(Class cls,
String[] methods)
- Install the given filtered property method properties. Add-on
ComponentTester classes should invoke this for the list of property
methods they want to appear in the filtered property list.
clear
public void clear()
setComponent
public void setComponent(Component comp)
setComponent
public void setComponent(Component comp,
boolean filterMethods)
- Update the list of property methods based on the newly selected
component.
getPropertyMethods
Method[] getPropertyMethods(Class cls,
boolean filterMethods)
getValueAt
public Object getValueAt(int row,
int col)
- Display the property name column apropriately.
- Overrides:
getValueAt
in class DefaultTableModel
Copyright © 2002-2003 Timothy Wall. All Rights Reserved.
Abbot is hosted on