|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.yasl.debugging.components.appinspector.YASLPreferencesTableModel
Constructor Summary | |
YASLPreferencesTableModel(YASLApplication app)
|
Method Summary | |
void |
addTableModelListener(TableModelListener l)
Adds a listener to the list that is notified each time a change to the data model occurs. |
Class |
getColumnClass(int columnIndex)
Returns the most specific superclass for all the cell values in the column. |
int |
getColumnCount()
Returns the number of columns in the model. |
String |
getColumnName(int columnIndex)
Returns the name of the column at columnIndex . |
int |
getRowCount()
Returns the number of rows in the model. |
Object |
getValueAt(int rowIndex,
int columnIndex)
Returns the value for the cell at columnIndex and
rowIndex . |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
Returns true if the cell at rowIndex and
columnIndex is editable. |
void |
removeTableModelListener(TableModelListener l)
Removes a listener from the list that is notified each time a change to the data model occurs. |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex)
Sets the value in the cell at columnIndex and
rowIndex to aValue . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public YASLPreferencesTableModel(YASLApplication app) throws YASLApplicationException
Method Detail |
public void addTableModelListener(TableModelListener l)
addTableModelListener
in interface TableModel
l
- the TableModelListenerpublic Class getColumnClass(int columnIndex)
getColumnClass
in interface TableModel
columnIndex
- the index of the column
public int getColumnCount()
getColumnCount
in interface TableModel
public String getColumnName(int columnIndex)
columnIndex
.
getColumnName
in interface TableModel
columnIndex
- the index of the column
public int getRowCount()
getRowCount
in interface TableModel
public Object getValueAt(int rowIndex, int columnIndex)
columnIndex
and
rowIndex
.
getValueAt
in interface TableModel
rowIndex
- the row whose value is to be queriedcolumnIndex
- the column whose value is to be queried
public boolean isCellEditable(int rowIndex, int columnIndex)
rowIndex
and
columnIndex
is editable.
isCellEditable
in interface TableModel
rowIndex
- the row whose value to be queriedcolumnIndex
- the column whose value to be queried
public void removeTableModelListener(TableModelListener l)
removeTableModelListener
in interface TableModel
l
- the TableModelListenerpublic void setValueAt(Object aValue, int rowIndex, int columnIndex)
columnIndex
and
rowIndex
to aValue
.
setValueAt
in interface TableModel
aValue
- the new valuerowIndex
- the row whose value is to be changedcolumnIndex
- the column whose value is to be changed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |