Class EventObject

java.lang.Object
com.levigo.jadice.web.client.tool.events.EventObject
Direct Known Subclasses:
EditEvent

public class EventObject extends Object

The root class from which all event state objects shall be derived.

All Events are constructed with a reference to the object, the "source", that is logically deemed to be the object upon which the Event in question initially occurred upon.

Since:
JDK1.1
  • Field Details

    • source

      protected transient PageView source
      The object on which the Event initially occurred.
  • Constructor Details

    • EventObject

      public EventObject(PageView source)
      Constructs a prototypical Event.
      Parameters:
      source - The object on which the Event initially occurred.
      Throws:
      IllegalArgumentException - if source is null.
  • Method Details

    • getSource

      public PageView getSource()
      The object on which the Event initially occurred.
      Returns:
      The object on which the Event initially occurred.
    • toString

      public String toString()
      Returns a String representation of this EventObject.
      Overrides:
      toString in class Object
      Returns:
      A a String representation of this EventObject.