Class RegistrationEvent

java.lang.Object
java.util.EventObject
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:
  • Field Details

    • REGISTRATION_EVENT_FIRST

      public static final int REGISTRATION_EVENT_FIRST
      The first number in the range of IDs used for DockableFrame events.
      See Also:
    • REGISTRATION_EVENT_LAST

      public static final int REGISTRATION_EVENT_LAST
      The last number in the range of IDs used for DockableFrame events.
      See Also:
    • REGISTRATION_ADDED

      public static final int REGISTRATION_ADDED
      This event is delivered when the a new object is registered.
      See Also:
    • REGISTRATION_REMOVED

      public static final int REGISTRATION_REMOVED
      This event is delivered when the registered object is removed.
      See Also:
    • REGISTRATION_CLEARED

      public static final int REGISTRATION_CLEARED
      This event is delivered when the whole registration is cleared
      See Also:
  • Constructor Details

    • 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 Details

    • 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