public abstract class IlvAbstractFlatSetModel extends Object implements IlvFlatSetModel, IlvDataConverter, Cloneable
IlvFlatSetModel
interface which handles the notification to the listeners of the model.
However, it does not constrain the nature of the objects stored in the model or of their attributes.
BEFORE_COLUMN_REMOVED_MASK, BEFORE_DATA_CHANGE_MASK, BEFORE_OBJECTS_REMOVED_MASK| Constructor and Description |
|---|
IlvAbstractFlatSetModel()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFlatSetModelListener(FlatSetModelListener listener)
Adds a listener.
|
Object |
clone()
Returns a copy of this object.
|
double |
convertToDouble(Object value)
Converts an object to a double.
|
void |
endBatch()
Terminates a group of modifications.
|
void |
fireModelEvent(FlatSetModelEvent event)
Notifies the listeners of a model event.
|
int |
getSupportedEventsMask()
Returns a bit mask denoting the optional kinds of events that are guaranteed
to be sent by this model to the registered listeners.
|
void |
removeFlatSetModelListener(FlatSetModelListener listener)
Removes a listener.
|
void |
startBatch()
Starts a group of modifications.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumn, getColumnCount, getDoubleAt, getObjects, getValueAt, setDoubleAt, setValueAtpublic void startBatch()
startBatch in interface IlvFlatSetModelstartBatch in interface IlvBatchablepublic void fireModelEvent(FlatSetModelEvent event)
public void endBatch()
endBatch in interface IlvFlatSetModelendBatch in interface IlvBatchablepublic void addFlatSetModelListener(FlatSetModelListener listener)
addFlatSetModelListener in interface IlvFlatSetModelpublic void removeFlatSetModelListener(FlatSetModelListener listener)
removeFlatSetModelListener in interface IlvFlatSetModelpublic int getSupportedEventsMask()
This implementation returns 0. It ought to be overridden in subclasses.
getSupportedEventsMask in interface IlvFlatSetModelIlvFlatSetModel.BEFORE_DATA_CHANGE_MASK,
IlvFlatSetModel.BEFORE_OBJECTS_REMOVED_MASK,
IlvFlatSetModel.BEFORE_COLUMN_REMOVED_MASKpublic double convertToDouble(Object value)
getDoubleAt for columns that are not
of type Double.convertToDouble in interface IlvDataConverter© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.