Package com.jidesoft.utils
Class RegistrationEvent
java.lang.Object
java.util.EventObject
com.jidesoft.utils.RegistrationEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RegistrationEvent
An
AWTEvent
that adds support for registration objects as the event source.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
This event is delivered when the a new object is registered.static final int
This event is delivered when the whole registration is clearedstatic final int
The first number in the range of IDs used forDockableFrame
events.static final int
The last number in the range of IDs used forDockableFrame
events.static final int
This event is delivered when the registered object is removed.Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionRegistrationEvent
(Object source, int id) Create a REGISTRATION_CLEARED event.RegistrationEvent
(Object source, int id, Object object, Object key, Object context) Constructs anRegistrationEvent
object. -
Method Summary
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
REGISTRATION_EVENT_FIRST
public static final int REGISTRATION_EVENT_FIRSTThe first number in the range of IDs used forDockableFrame
events.- See Also:
-
REGISTRATION_EVENT_LAST
public static final int REGISTRATION_EVENT_LASTThe last number in the range of IDs used forDockableFrame
events.- See Also:
-
REGISTRATION_ADDED
public static final int REGISTRATION_ADDEDThis event is delivered when the a new object is registered.- See Also:
-
REGISTRATION_REMOVED
public static final int REGISTRATION_REMOVEDThis event is delivered when the registered object is removed.- See Also:
-
REGISTRATION_CLEARED
public static final int REGISTRATION_CLEAREDThis event is delivered when the whole registration is cleared- See Also:
-
-
Constructor Details
-
RegistrationEvent
Create a REGISTRATION_CLEARED event.- Parameters:
source
-id
- must be equal to REGISTRATION_CLEARED.
-
RegistrationEvent
Constructs anRegistrationEvent
object.- Parameters:
source
- theRegistration
object that originated the eventid
- an integer indicating the type of event
-
-
Method Details
-
getKey
-
getContext
-
getObject
-
getId
public int getId() -
toString
- Overrides:
toString
in classEventObject
-