All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.as400.access.RecordDescriptionEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.ibm.as400.access.RecordDescriptionEvent
- public class RecordDescriptionEvent
- extends EventObject
The RecordDescriptionEvent class represents a RecordDescriptionEvent. This class is used to
fire events from the record description classes,
RecordFormat and
Record
to listeners that have implemented the
RecordDescriptionListener
interface.
-
FIELD_DESCRIPTION_ADDED
- Event id indicating that a field description has been added
to a RecordFormat object.
-
FIELD_MODIFIED
- Event id indicating that a field value has been modified
in a Record object.
-
KEY_FIELD_DESCRIPTION_ADDED
- Event id indicating that a key field description has been added
to a RecordFormat object.
-
RecordDescriptionEvent(Object, int)
- Constructs a RecordDescriptionEvent object.
-
getID()
- Returns the identifier for this event.
FIELD_DESCRIPTION_ADDED
public static final int FIELD_DESCRIPTION_ADDED
- Event id indicating that a field description has been added
to a RecordFormat object.
- See Also:
- addFieldDescription
KEY_FIELD_DESCRIPTION_ADDED
public static final int KEY_FIELD_DESCRIPTION_ADDED
- Event id indicating that a key field description has been added
to a RecordFormat object.
- See Also:
- addKeyFieldDescription
FIELD_MODIFIED
public static final int FIELD_MODIFIED
- Event id indicating that a field value has been modified
in a Record object.
- See Also:
- setField, setContents
RecordDescriptionEvent
public RecordDescriptionEvent(Object source,
int id)
- Constructs a RecordDescriptionEvent object. It uses the
source and ID specified.
- Parameters:
- source - The object where the event originated.
- id - The event identifier. The id must
be a valid event id for this class.
getID
public int getID()
- Returns the identifier for this event.
- Returns:
- The ID.
All Packages Class Hierarchy This Package Previous Next Index