Documentation of 'visad.collab.MonitorEvent' Java class
MonitorEvent
visad.collab

Class MonitorEvent

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int CONTROL_CHANGED
      This event occurs whenever the state of a Control attached to a Display is changed.
      static int CONTROL_INIT_REQUESTED
      This event occurs whenever a Control attached to a Display requests that it be initialized to the state of a remote Control.
      static int MAP_ADDED
      This event occurs whenever a ConstantMap or ScalarMap is added to a Display.
      static int MAP_CHANGED
      This event occurs whenever a ConstantMap or ScalarMap is added to a Display.
      static int MAP_REMOVED
      This event occurs whenever a ConstantMap or ScalarMap is removed from a Display.
      static int MAPS_CLEARED
      This event occurs whenever the ConstantMaps and ScalarMaps are cleared from a Display.
      static int MESSAGE_SENT
      This event occurs whenever a message is sent.
      static int REFERENCE_ADDED
      This event occurs whenever a DataReference is added to a Display.
      static int REFERENCE_REMOVED
      This event occurs whenever a DataReference is removed from a Display.
    • Constructor Summary

      Constructors 
      Constructor and Description
      MonitorEvent(int type, int originator)
      Creates a MonitorEvent
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      abstract java.lang.Object clone()
      Returns an exact copy of this MonitorEvent.
      abstract java.lang.String getKey()
      Get the key used to uniquely identify this event.
      int getOriginator()
      Gets the originator of this MonitorEvent.
      int getSequenceNumber()
      Gets the sequence number of this MonitorEvent.
      int getType()
      Gets the type of this MonitorEvent.
      java.lang.String getTypeName()
      Returns a String description of this MonitorEvent's type.
      static java.lang.String getTypeName(int type)
      Returns a String description of the specified MonitorEvent type.
      void setOriginator(int id)
      Sets the originator of this MonitorEvent.
      java.lang.String toString()
      Returns a String representation of this object.
      • Methods inherited from class java.lang.Object

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

      • MAP_ADDED

        public static final int MAP_ADDED
        This event occurs whenever a ConstantMap or ScalarMap is added to a Display.
        See Also:
        Constant Field Values
      • MAP_CHANGED

        public static final int MAP_CHANGED
        This event occurs whenever a ConstantMap or ScalarMap is added to a Display.
        See Also:
        Constant Field Values
      • MAPS_CLEARED

        public static final int MAPS_CLEARED
        This event occurs whenever the ConstantMaps and ScalarMaps are cleared from a Display.
        See Also:
        Constant Field Values
      • MAP_REMOVED

        public static final int MAP_REMOVED
        This event occurs whenever a ConstantMap or ScalarMap is removed from a Display.
        See Also:
        Constant Field Values
      • REFERENCE_ADDED

        public static final int REFERENCE_ADDED
        This event occurs whenever a DataReference is added to a Display.
        See Also:
        Constant Field Values
      • REFERENCE_REMOVED

        public static final int REFERENCE_REMOVED
        This event occurs whenever a DataReference is removed from a Display.
        See Also:
        Constant Field Values
      • CONTROL_INIT_REQUESTED

        public static final int CONTROL_INIT_REQUESTED
        This event occurs whenever a Control attached to a Display requests that it be initialized to the state of a remote Control.
        See Also:
        Constant Field Values
      • CONTROL_CHANGED

        public static final int CONTROL_CHANGED
        This event occurs whenever the state of a Control attached to a Display is changed.
        See Also:
        Constant Field Values
      • MESSAGE_SENT

        public static final int MESSAGE_SENT
        This event occurs whenever a message is sent.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MonitorEvent

        public MonitorEvent(int type,
                            int originator)
        Creates a MonitorEvent
        Parameters:
        type - The event type.
        originator - The ID of the connection from which this event came, relative to the receiver of the event.
    • Method Detail

      • getType

        public int getType()
        Gets the type of this MonitorEvent.
      • getKey

        public abstract java.lang.String getKey()
        Get the key used to uniquely identify this event.
        Returns:
        The unique key.
      • getOriginator

        public int getOriginator()
        Gets the originator of this MonitorEvent.
      • getSequenceNumber

        public int getSequenceNumber()
        Gets the sequence number of this MonitorEvent.
      • getTypeName

        public static java.lang.String getTypeName(int type)
        Returns a String description of the specified MonitorEvent type.
        Parameters:
        type - the MonitorEvent type.
        Returns:
        name of the specified type.
      • getTypeName

        public java.lang.String getTypeName()
        Returns a String description of this MonitorEvent's type.
        Returns:
        name of this event's type.
      • setOriginator

        public void setOriginator(int id)
        Sets the originator of this MonitorEvent.
        Parameters:
        id - The ID of the connection from which this event came, relative to the receiver of the event.
      • clone

        public abstract java.lang.Object clone()
        Returns an exact copy of this MonitorEvent.
        Overrides:
        clone in class java.lang.Object
      • toString

        public java.lang.String toString()
        Returns a String representation of this object.
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.