Interface DisplayPositionChangedEvent
- All Superinterfaces:
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 Summary
Modifier and TypeMethodDescriptionThe dataViewer posting this event.returns the new display position.Returns the previously displayed position.
-
Method Details
-
getDisplayPosition
-
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.
-