Documentation of 'visad.DisplayMapEvent' Java class
DisplayMapEvent
visad

Class DisplayMapEvent

  • All Implemented Interfaces:
    java.io.Serializable


    public class DisplayMapEvent
    extends DisplayEvent
    DisplayMapEvent is the VisAD class for Events from Display ScalarMap and ConstantMap objects. They are sourced by Display objects and received by DisplayListener objects.

    See Also:
    Serialized Form
    • Constructor Detail

      • DisplayMapEvent

        public DisplayMapEvent(Display d,
                               int id,
                               ScalarMap m)
        Constructs a DisplayMapEvent object with the specified source display, type of event, and ScalarMap.
        Parameters:
        d - display that sends the event
        id - type of DisplayMapEvent that is sent
        m - ScalarMap referenced by this event
      • DisplayMapEvent

        public DisplayMapEvent(Display d,
                               int id,
                               ScalarMap m,
                               int remoteId)
        Constructs a DisplayMapEvent object with the specified source display, type of event, and ScalarMap.
        Parameters:
        d - display that sends the event
        id - type of DisplayMapEvent that is sent
        m - ScalarMap referenced by this event
        remoteId - ID of remote source
    • Method Detail

      • cloneButDisplay

        public DisplayEvent cloneButDisplay(Display dpy)
        Return a new DisplayMapEvent which is a copy of this event, but which uses the specified source display
        Overrides:
        cloneButDisplay in class DisplayEvent
        Parameters:
        dpy - Display to use for the new DisplayMapEvent
        Returns:
        a clone of this, except with the given source Display
      • getMap

        public ScalarMap getMap()
        get the ScalarMap referenced by this DisplayMapEvent

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.