Package com.jidesoft.utils
Class RegistrationEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.jidesoft.utils.RegistrationEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
RegistrationEvent
public class RegistrationEvent extends java.util.EventObject
AnAWTEvent
that adds support for registration objects as the event source.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
REGISTRATION_ADDED
This event is delivered when the a new object is registered.static int
REGISTRATION_CLEARED
This event is delivered when the whole registration is clearedstatic int
REGISTRATION_EVENT_FIRST
The first number in the range of IDs used forDockableFrame
events.static int
REGISTRATION_EVENT_LAST
The last number in the range of IDs used forDockableFrame
events.static int
REGISTRATION_REMOVED
This event is delivered when the registered object is removed.
-
Constructor Summary
Constructors Constructor Description RegistrationEvent(java.lang.Object source, int id)
Create a REGISTRATION_CLEARED event.RegistrationEvent(java.lang.Object source, int id, java.lang.Object object, java.lang.Object key, java.lang.Object context)
Constructs anRegistrationEvent
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getContext()
int
getId()
java.lang.Object
getKey()
java.lang.Object
getObject()
java.lang.String
toString()
-
-
-
Field Detail
-
REGISTRATION_EVENT_FIRST
public static final int REGISTRATION_EVENT_FIRST
The first number in the range of IDs used forDockableFrame
events.- See Also:
- Constant Field Values
-
REGISTRATION_EVENT_LAST
public static final int REGISTRATION_EVENT_LAST
The last number in the range of IDs used forDockableFrame
events.- See Also:
- Constant Field Values
-
REGISTRATION_ADDED
public static final int REGISTRATION_ADDED
This event is delivered when the a new object is registered.- See Also:
- Constant Field Values
-
REGISTRATION_REMOVED
public static final int REGISTRATION_REMOVED
This event is delivered when the registered object is removed.- See Also:
- Constant Field Values
-
REGISTRATION_CLEARED
public static final int REGISTRATION_CLEARED
This event is delivered when the whole registration is cleared- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RegistrationEvent
public RegistrationEvent(java.lang.Object source, int id)
Create a REGISTRATION_CLEARED event.- Parameters:
source
-id
- must be equal to REGISTRATION_CLEARED.
-
RegistrationEvent
public RegistrationEvent(java.lang.Object source, int id, java.lang.Object object, java.lang.Object key, java.lang.Object context)
Constructs anRegistrationEvent
object.- Parameters:
source
- theRegistration
object that originated the eventid
- an integer indicating the type of event
-
-