Class GlobalMap.GlobalMapScrollPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ScrollPaneConstants
Enclosing class:
GlobalMap

protected class GlobalMap.GlobalMapScrollPane extends ScrollPane
The scroll pane in which the map GlobalMap.View is displayed.
See Also:
Serialized Form
  • Constructor Details

    • GlobalMapScrollPane

      public GlobalMapScrollPane(Component view)
  • Method Details

    • getPreferredSize

      public Dimension getPreferredSize()
      Overrides:
      getPreferredSize in class JComponent
      Returns:
      The display size of the entire zoomed overview map
    • getMaximumSize

      public Dimension getMaximumSize()
      Overrides:
      getMaximumSize in class JComponent
      Returns:
      The maximum size of the zoomed overview map and scroll pane
    • setBounds

      public void setBounds(Rectangle r)
      Overrides:
      setBounds in class Component
    • setVisible

      public void setVisible(boolean visible)
      This function is overridden to make sure that the parent layout is redone when the GlobalMap is shown.
      Overrides:
      setVisible in class JComponent