public abstract class IlvAbstractFlatTableModel extends Object implements IlvFlatTableModel, IlvDataConverter, Cloneable
IlvFlatTableModel
interface which handles the notification to listeners of the model.
However, it does not constrain the nature of the records or table stored in the model.
BEFORE_COLUMN_REMOVED_MASK, BEFORE_DATA_CHANGE_MASK, BEFORE_ROWS_REMOVED_MASK| Constructor and Description |
|---|
IlvAbstractFlatTableModel()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFlatTableModelListener(FlatTableModelListener 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(FlatTableModelEvent 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 |
removeFlatTableModelListener(FlatTableModelListener listener)
Removes a listener.
|
void |
startBatch()
Starts a group of modifications.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumn, getColumnCount, getDoubleAt, getRowCount, getValueAt, setDoubleAt, setValueAtpublic IlvAbstractFlatTableModel()
public void startBatch()
startBatch in interface IlvFlatTableModelstartBatch in interface IlvBatchablepublic void fireModelEvent(FlatTableModelEvent event)
public void endBatch()
endBatch in interface IlvFlatTableModelendBatch in interface IlvBatchablepublic void addFlatTableModelListener(FlatTableModelListener listener)
addFlatTableModelListener in interface IlvFlatTableModelpublic void removeFlatTableModelListener(FlatTableModelListener listener)
removeFlatTableModelListener in interface IlvFlatTableModelpublic int getSupportedEventsMask()
This implementation returns 0. It ought to be overridden in subclasses.
getSupportedEventsMask in interface IlvFlatTableModelIlvFlatTableModel.BEFORE_DATA_CHANGE_MASK,
IlvFlatTableModel.BEFORE_ROWS_REMOVED_MASK,
IlvFlatTableModel.BEFORE_COLUMN_REMOVED_MASKpublic double convertToDouble(Object value)
getDoubleAt for columns that are not
of type Double.convertToDouble in interface IlvDataConverter© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.