|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
threeD.ui.panels.EditablePropertiesTableModel
An EditablePropertiesTableModel object can be used to manage the data needed when displaying the properties of an Editable object in a table. The table model also handles applying changes made in the table to the stored Editable object.
| Field Summary | |
static java.lang.String[] |
columnNames
|
| Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
| Constructor Summary | |
EditablePropertiesTableModel()
Constructs a new EditablePropertiesTableModel object. |
|
EditablePropertiesTableModel(Editable editing)
Constructs a new EditablePropertiesTableModel object using the specified Editable object. |
|
| Method Summary | |
int |
getColumnCount()
Returns the number of columns (4) of this table model. |
java.lang.String |
getColumnName(int index)
Returns the name of the column at the specified index. |
Editable |
getEditing()
Returns the Editable object used by this EditablePropertiesTableModel object. |
int |
getRowCount()
Returns the number of rows (editable properties displayed) in this table model. |
java.lang.Object |
getValueAt(int row,
int column)
Returns the value for the cell at the specified row and column index. |
boolean |
isCellEditable(int row,
int column)
Returns true if the cell at the specified row and column is editable. |
void |
setEditing(Editable editing)
Sets the Editable object used by this EditablePropertiesTableModel object to the specified Editable object and notifies listeners that all table data may have changed. |
void |
setValueAt(java.lang.Object value,
int row,
int column)
Sets the value of the Editable object property that is represented in the cell at the specified row and column index to the specified value and notifies listeners that the cell value may have changed. |
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String[] columnNames
| Constructor Detail |
public EditablePropertiesTableModel()
public EditablePropertiesTableModel(Editable editing)
| Method Detail |
public void setEditing(Editable editing)
public Editable getEditing()
public java.lang.String getColumnName(int index)
public boolean isCellEditable(int row,
int column)
public int getRowCount()
public int getColumnCount()
public java.lang.Object getValueAt(int row,
int column)
public void setValueAt(java.lang.Object value,
int row,
int column)
|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||