| java.lang.Object jacareto.record.RecordChangeEvent
RecordChangeEvent | public class RecordChangeEvent (Code) | | This event will be delivered to record change listeners when the properties have been changed.
It contains the information about the record change.
author: Christian Spannagel version: 1.0 |
Constructor Summary | |
public | RecordChangeEvent(int ID, Recordable[] recordables, int[] indices) Creates a record change event with the specified values.
Parameters: ID - the ID of the change Parameters: recordables - the recordables which have caused the change. |
Method Summary | |
public int | getID() Returns the type of the event. | public int[] | getIndices() Returns the indices of the recordables, or null if there is no one. | public Recordable[] | getRecordables() Returns the recordables which have caused the record change. |
RECORDABLES_ADDED | final public static int RECORDABLES_ADDED(Code) | | Recordables have been added to the end of the record.
|
RECORDABLES_CHANGED | final public static int RECORDABLES_CHANGED(Code) | | Existent recordables have been changed.
|
RECORDABLES_INSERTED | final public static int RECORDABLES_INSERTED(Code) | | Recordables have been inserted.
|
RECORDABLES_REMOVED | final public static int RECORDABLES_REMOVED(Code) | | Existent recordables have been removed.
|
RECORD_CLEARED | final public static int RECORD_CLEARED(Code) | | The record has been cleared.
|
RECORD_CLOSED | final public static int RECORD_CLOSED(Code) | | The record has been closed.
|
RECORD_NAME_CHANGED | final public static int RECORD_NAME_CHANGED(Code) | | The record name has been changed.
|
RECORD_OPENED | final public static int RECORD_OPENED(Code) | | The record has been opened.
|
RECORD_RESETTED | final public static int RECORD_RESETTED(Code) | | The record has been resetted.
|
RecordChangeEvent | public RecordChangeEvent(int ID, Recordable[] recordables, int[] indices)(Code) | | Creates a record change event with the specified values.
Parameters: ID - the ID of the change Parameters: recordables - the recordables which have caused the change. If no element has causedthe change (a RECORD_OPENED event, for example), this value should benull . Parameters: indices - the indices of the recordables. If no element has caused the change (aRECORD_OPENED event, for example), this value should be null . |
getID | public int getID()(Code) | | Returns the type of the event.
the type |
getIndices | public int[] getIndices()(Code) | | Returns the indices of the recordables, or null if there is no one.
DOCUMENT ME! |
getRecordables | public Recordable[] getRecordables()(Code) | | Returns the recordables which have caused the record change. If no recordables has caused
the change (a RECORD_OPENED event, for example), this method will return null .
the recordables which have caused the change, of null if there is nosuch element. |
|
|