public class EditableColumn extends WrapperColumn
Constructor and Description |
---|
EditableColumn(ColumnData base)
Constructs a new EditableColumn based on an existing column.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isWritable()
Returns
true . |
java.lang.Object |
readValue(long irow)
Returns the value stored at a given row in this column.
|
void |
storeValue(long irow,
java.lang.Object value)
Stores a given value in a given row for this column.
|
getBaseColumn
getColumnInfo, setColumnInfo
public EditableColumn(ColumnData base)
public boolean isWritable()
true
.isWritable
in class WrapperColumn
public java.lang.Object readValue(long irow) throws java.io.IOException
ColumnData
readValue
in class WrapperColumn
irow
- the row from which to retrieve the valueirow
java.io.IOException
- if there is some problem readingpublic void storeValue(long irow, java.lang.Object value) throws java.io.IOException
ColumnData
isWritable
method returns true.
The implementation in the ColumnData
class throws
an UnsupportedOperationException
.storeValue
in class WrapperColumn
irow
- the row to store it invalue
- the object to storejava.io.IOException
- if there is some problem writing