| java.awt.AWTEvent com.salmonllc.sql.ModelChangedEvent
ModelChangedEvent | public class ModelChangedEvent extends java.awt.AWTEvent (Code) | | Event object that gets passed to ModelChangedListeners when data in a model changes.
|
Method Summary | |
public int | getColNo() Returns the col number changed for a data changed event. | public DataStoreBuffer | getDataStore() Returns the DataStore that generated the event. | public Object | getNewData() Returns the new data for a data changed event. | public int | getNewRow() For Row Focus Changed Event, Returns the new row. | public Object | getOldData() Returns the old data for a data changed event. | public int | getOldRow() For Row Focus Changed Event, Returns the old row. | public int | getType() Returns the type of event. | public boolean | isAllDataChanged() |
TYPE_DATA_CHANGED | final public static int TYPE_DATA_CHANGED(Code) | | |
TYPE_DATA_FILTERED | final public static int TYPE_DATA_FILTERED(Code) | | |
TYPE_DATA_LOADED | final public static int TYPE_DATA_LOADED(Code) | | |
TYPE_DATA_SORTED | final public static int TYPE_DATA_SORTED(Code) | | |
TYPE_DATA_SORTING | final public static int TYPE_DATA_SORTING(Code) | | |
TYPE_RESET | final public static int TYPE_RESET(Code) | | |
TYPE_ROW_FOCUS_CHANGED | final public static int TYPE_ROW_FOCUS_CHANGED(Code) | | |
TYPE_ROW_INSERTED_OR_DELETED | final public static int TYPE_ROW_INSERTED_OR_DELETED(Code) | | |
ModelChangedEvent | public ModelChangedEvent(DataStoreBuffer ds, int oldRow, int newRow)(Code) | | Creates a row focused changed event
|
ModelChangedEvent | public ModelChangedEvent(DataStoreBuffer ds, int newRow)(Code) | | For an insert or delete row event
|
ModelChangedEvent | public ModelChangedEvent(int type, DataStoreBuffer ds)(Code) | | For an sort,filter or load event
|
getColNo | public int getColNo()(Code) | | Returns the col number changed for a data changed event.
int |
getDataStore | public DataStoreBuffer getDataStore()(Code) | | Returns the DataStore that generated the event.
DataStoreBuffer |
getNewData | public Object getNewData()(Code) | | Returns the new data for a data changed event.
Object |
getNewRow | public int getNewRow()(Code) | | For Row Focus Changed Event, Returns the new row.
int |
getOldData | public Object getOldData()(Code) | | Returns the old data for a data changed event.
Object |
getOldRow | public int getOldRow()(Code) | | For Row Focus Changed Event, Returns the old row.
int |
getType | public int getType()(Code) | | Returns the type of event.
int |
isAllDataChanged | public boolean isAllDataChanged()(Code) | | Returns true if the event caused the whole table to change or false if only a part changed
|
|
|