JIDE 3.5.15

com.jidesoft.utils
Class RegistrationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jidesoft.utils.RegistrationEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RegistrationEvent

public class RegistrationEvent
extends EventObject

An AWTEvent that adds support for registration objects as the event source.

See Also:
Serialized Form

Field Summary
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 cleared
static int REGISTRATION_EVENT_FIRST
          The first number in the range of IDs used for DockableFrame events.
static int REGISTRATION_EVENT_LAST
          The last number in the range of IDs used for DockableFrame events.
static int REGISTRATION_REMOVED
          This event is delivered when the registered object is removed.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RegistrationEvent(Object source, int id)
          Create a REGISTRATION_CLEARED event.
RegistrationEvent(Object source, int id, Object object, Object key, Object context)
          Constructs an RegistrationEvent object.
 
Method Summary
 Object getContext()
           
 int getId()
           
 Object getKey()
           
 Object getObject()
           
 String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REGISTRATION_EVENT_FIRST

public static final int REGISTRATION_EVENT_FIRST
The first number in the range of IDs used for DockableFrame 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 for DockableFrame 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(Object source,
                         int id)
Create a REGISTRATION_CLEARED event.

Parameters:
source -
id - must be equal to REGISTRATION_CLEARED.

RegistrationEvent

public RegistrationEvent(Object source,
                         int id,
                         Object object,
                         Object key,
                         Object context)
Constructs an RegistrationEvent object.

Parameters:
source - the Registration object that originated the event
id - an integer indicating the type of event
Method Detail

getKey

public Object getKey()

getContext

public Object getContext()

getObject

public Object getObject()

getId

public int getId()

toString

public String toString()
Overrides:
toString in class EventObject

JIDE 3.5.15