Interface DisplayPositionChangedEvent

All Superinterfaces:
MMEvent

public interface DisplayPositionChangedEvent extends MMEvent
This event posts when the position (i.e., Channel, Time, Position, Slice, possibly other Axes) in the display changed.

The default implementation of this event posts on the DataViewer event bus. Register using DataViewer.registerForEvents(Object).

  • Method Details

    • getDisplayPosition

      Coords getDisplayPosition()
      returns the new display position.
      Returns:
      The new display position
    • getPreviousDisplayPosition

      Coords getPreviousDisplayPosition()
      Returns the previously displayed position.
      Returns:
      The previous display position
    • getDataViewer

      DataViewer getDataViewer()
      The dataViewer posting this event.
      Returns:
      The DataViewer posting this event. Useful when handling multiple DataViewers.