psdi.util

Class MXEvent

  • java.lang.Object
    • psdi.util.MXEvent


  • public class MXEvent
    extends java.lang.Object
    Base class for all PSDI events. This looks exactly like the java.util.EventObject and will eventually subclass it when the browsers support it.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected int eventID
      ID of the event
      protected java.lang.Object source
      Source of the event
    • Constructor Summary

      Constructors 
      Constructor and Description
      MXEvent(java.lang.Object src)
      Construct the Event, specifying the source
      MXEvent(java.lang.Object src, int event)
      Construct the Event, specifying the source and event id
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getEventID()
      Return the id of the event
      java.lang.Object getSource()
      Get the source object of this event
      java.lang.String toString()
      Return string representation of the object
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • source

        protected transient java.lang.Object source
        Source of the event
      • eventID

        protected int eventID
        ID of the event
    • Constructor Detail

      • MXEvent

        public MXEvent(java.lang.Object src)
        Construct the Event, specifying the source
      • MXEvent

        public MXEvent(java.lang.Object src,
                       int event)
        Construct the Event, specifying the source and event id
    • Method Detail

      • getSource

        public java.lang.Object getSource()
        Get the source object of this event
      • getEventID

        public int getEventID()
        Return the id of the event
      • toString

        public java.lang.String toString()
        Return string representation of the object
        Overrides:
        toString in class java.lang.Object