Class PositionPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class PositionPane extends JPanel
This class represents a GUI component that will display the coordinates where the user's cursor is located on the map.
See Also:
  • Constructor Details

    • PositionPane

      public PositionPane(View view)
      Constructs a position pane indicating the cursor position in the specified view in world coordinates.
      Parameters:
      view - the View referenced by the position pane
      See Also:
    • PositionPane

      public PositionPane(View view, int nbDigits)
      Constructs a position pane indicating the cursor position in the specified view in world coordinates. The specified number of digits are displayed.
      Parameters:
      view - the View referenced by the position pane
      nbDigits - the number of trailing digits
    • PositionPane

      public PositionPane(View view, int nbDigits, Projection destProjection)
      Constructs a position pane indicating the cursor position in the specified view in world coordinates. The specified number of digits are displayed. The specified projection is used to transform the coordinates from one projection to the other before displaying them.
      Parameters:
      view - the View referenced by the position pane
      nbDigits - the number of trailing digits
      destProjection -
  • Method Details

    • close

      public void close()