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 Type
    Method
    Description
    void
    mouseMovedTo(double x, double y, int plane, boolean shift_down)
    Called when the mouse is moved to a new position.
    void
    panEventOccurred(int x, int y, int sourcePlane)
    Called when a pan event occurs.
    void
    showStatus(int progress, int maximum, String message)
    Shows a status message with progress information.
    void
    zoomEventOccurred(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 coordinate
      y - the y coordinate
      plane - the plane identifier
      shift_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 out
      x - the x coordinate of the zoom center
      y - the y coordinate of the zoom center
      sourcePlane - 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 pan
      y - the y coordinate of the pan
      sourcePlane - the plane where the pan occurred
    • showStatus

      void showStatus(int progress, int maximum, String message)
      Shows a status message with progress information.
      Parameters:
      progress - the current progress value
      maximum - the maximum progress value
      message - the status message to display