Package sc.fiji.snt.hyperpanes
Interface PaneOwner
- All Known Implementing Classes:
MultiDThreePanes,SNT
public interface PaneOwner
Interface for objects that own and manage multi-pane displays, handling
mouse interactions, zoom events, and pan events across multiple viewing planes.
-
Method Summary
Modifier and TypeMethodDescriptionvoidmouseMovedTo(double x, double y, int plane, boolean shift_down) Called when the mouse is moved to a new position.voidpanEventOccurred(int x, int y, int sourcePlane) Called when a pan event occurs.voidshowStatus(int progress, int maximum, String message) Shows a status message with progress information.voidzoomEventOccurred(boolean zoomInEvent, int x, int y, int sourcePlane) Called when a zoom event occurs.
-
Method Details
-
mouseMovedTo
void mouseMovedTo(double x, double y, int plane, boolean shift_down) Called when the mouse is moved to a new position.- Parameters:
x- the x coordinatey- the y coordinateplane- the plane identifiershift_down- whether the shift key is pressed
-
zoomEventOccurred
void zoomEventOccurred(boolean zoomInEvent, int x, int y, int sourcePlane) Called when a zoom event occurs.- Parameters:
zoomInEvent- true for zoom in, false for zoom outx- the x coordinate of the zoom centery- the y coordinate of the zoom centersourcePlane- the plane where the zoom occurred
-
panEventOccurred
void panEventOccurred(int x, int y, int sourcePlane) Called when a pan event occurs.- Parameters:
x- the x coordinate of the pany- the y coordinate of the pansourcePlane- the plane where the pan occurred
-
showStatus
Shows a status message with progress information.- Parameters:
progress- the current progress valuemaximum- the maximum progress valuemessage- the status message to display
-