Interface IComponentZoomable

All Known Implementing Classes:
MagneticFieldCanvas

public interface IComponentZoomable
  • Method Details Link icon

    • getComponent Link icon

      JComponent getComponent()
      Get the component being zoomed
      Returns:
      the component being zoomed
    • getWorldSystem Link icon

      Rectangle2D.Double getWorldSystem()
      Get the current world system
      Returns:
      the current world system
    • setWorldSystem Link icon

      void setWorldSystem(Rectangle2D.Double wr)
      Set the world system
      Parameters:
      wr - the world system
    • localToWorld Link icon

      void localToWorld(Point pp, Point2D.Double wp)
      Convert a screen point to a world point
      Parameters:
      pp - the screen point
      wp - the world point
    • worldToLocal Link icon

      void worldToLocal(Point pp, Point2D.Double wp)
      Convert a world point to a screen point
      Parameters:
      pp - the screen point
      wp - the world point