| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.swing.table.AbstractTableModel
|
+--com.togethersoft.openapi.ide.inspector.util.table.PropertyTableModelBase
|
+--com.togethersoft.openapi.ide.inspector.util.table.PropertyTableModel
Represents default implementation of PropertyTableModel. This TableModel is listener for property change event so it can iteract with it's visual representation in order to synchronize changes.
| Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
| Constructor Summary | |
PropertyTableModel(IdeInspectorPropertySetComponent inspectorPropertySetComponent)Constructs this table model from the existing InspectorPropertySetComponent. | |
PropertyTableModel(IdeInspectorPropertySetComponent inspectorPropertySetComponent, int valueColumn)Constructs this table model from the existing InspectorPropertySetComponent. | |
| Method Summary | |
static IdeInspectorProperty | extractIdeInspectorPropertyFromModel(TableModel tableModel, int row, int column)There can be different table models so this method can be overwritten in PropertyValueEditor subclasses. |
int | getColumnCount()Returns count of ths columns. |
IdeInspectorProperty | getInspectorProperty(int row, int column)Fetches InspectorProperty from this table model. |
protected IdeInspectorProperty[] | getPropertySetProperties()Returns array of all properties. |
int | getRowCount()Returns count of rows. |
Object | getValueAt(int i, int j)Fetches value of the certain property. |
boolean | isCellEditable(int row, int column)Checks whether certain cell is editable. |
void | propertyChange(PropertyChangeEvent e)Synchronize this table model with changes in UI representation. |
protected void | setPropertySetProperties(IdeInspectorProperty[] properties)Specifies new table model contents from existing array of InspectorProperties. |
void | setValueAt(Object obj, int i, int j)Sets new value to the certain property. |
| Methods inherited from class com.togethersoft.openapi.ide.inspector.util.table.PropertyTableModelBase |
getPropertyEditor, getPropertyType |
| Methods inherited from class javax.swing.table.AbstractTableModel |
getColumnName, findColumn, getColumnClass, addTableModelListener, removeTableModelListener, fireTableDataChanged, fireTableStructureChanged, fireTableRowsInserted, fireTableRowsUpdated, fireTableRowsDeleted, fireTableCellUpdated, fireTableChanged, getListeners |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |
| Constructor Detail |
public PropertyTableModel(IdeInspectorPropertySetComponent inspectorPropertySetComponent)
public PropertyTableModel(IdeInspectorPropertySetComponent inspectorPropertySetComponent, int valueColumn)
| Method Detail |
public static IdeInspectorProperty extractIdeInspectorPropertyFromModel(TableModel tableModel, int row, int column)
public int getColumnCount()
public IdeInspectorProperty getInspectorProperty(int row, int column)
protected IdeInspectorProperty[] getPropertySetProperties()
public int getRowCount()
public Object getValueAt(int i, int j)
public boolean isCellEditable(int row, int column)
public void propertyChange(PropertyChangeEvent e)
protected void setPropertySetProperties(IdeInspectorProperty[] properties)
public void setValueAt(Object obj, int i, int j)
| Association Links |
to Class com.togethersoft.openapi.ide.inspector.IdeInspectorProperty
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||