public class MultChoiceModel extends java.lang.Object implements ModifiedInformer
Modifier and Type | Field and Description |
---|---|
protected int |
columns |
protected java.lang.Object[][] |
data |
protected boolean[] |
oriSelected |
protected java.lang.String |
ownwerId |
protected int |
rows |
Constructor and Description |
---|
MultChoiceModel(java.lang.String ownwerId) |
Modifier and Type | Method and Description |
---|---|
void |
fetchValuesFromRequest(GeneralizedRequest request) |
java.lang.Class<?> |
getColumnClass(int c)
Returns the column class of the specified column
|
int |
getColumnCount() |
int |
getRowCount()
Returns the number of rows - 1.
|
java.lang.Object |
getValueAt(int row,
int col)
Returns the cell object.
|
boolean |
isCellEditable(int row,
int col)
Returns true if the cell is editable.
|
boolean |
isModified()
Indicates whether the component's value differs from its initial value.
|
boolean |
isRowModified(int row)
Returns true if the specified row has changed.
|
void |
setValueAt(java.lang.Object value,
int row,
int col)
Sets a cell's value.
|
void |
setValues(ToAppletWriter out) |
protected java.lang.String ownwerId
protected int rows
protected int columns
protected java.lang.Object[][] data
protected boolean[] oriSelected
public boolean isModified()
ModifiedInformer
isModified
in interface ModifiedInformer
public boolean isRowModified(int row)
row
- the row to checkpublic int getColumnCount()
public int getRowCount()
public java.lang.Object getValueAt(int row, int col)
row
- the row indexcol
- the column indexpublic java.lang.Class<?> getColumnClass(int c)
c
- the column indexpublic boolean isCellEditable(int row, int col)
row
- the row indexcol
- the column indexpublic void setValueAt(java.lang.Object value, int row, int col)
value
- the new value of the cellrow
- the row indexcol
- the column indexpublic void setValues(ToAppletWriter out)
public void fetchValuesFromRequest(GeneralizedRequest request)
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de