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 intThis event is delivered when the a new object is registered.static final intThis event is delivered when the whole registration is clearedstatic final intThe first number in the range of IDs used forDockableFrameevents.static final intThe last number in the range of IDs used forDockableFrameevents.static final intThis 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 anRegistrationEventobject. -
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 forDockableFrameevents.- See Also:
-
REGISTRATION_EVENT_LAST
public static final int REGISTRATION_EVENT_LASTThe last number in the range of IDs used forDockableFrameevents.- 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 anRegistrationEventobject.- Parameters:
source- theRegistrationobject that originated the eventid- an integer indicating the type of event
-
-
Method Details
-
getKey
-
getContext
-
getObject
-
getId
public int getId() -
toString
- Overrides:
toStringin classEventObject
-