Class ScaledPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ScaledPanel extends JPanel
Class ScaledPanel
Version:
%I%, %G%
Author:
Unidata development team
See Also:
  • Constructor Details

    • ScaledPanel

      public ScaledPanel()
      _more_
  • Method Details

    • addCursorMoveEventListener

      public void addCursorMoveEventListener(CursorMoveEventListener l)
      Register a CursorMoveEventListener.
      Parameters:
      l -
    • removeCursorMoveEventListener

      public void removeCursorMoveEventListener(CursorMoveEventListener l)
      Remove a CursorMoveEventListener.
      Parameters:
      l -
    • addPickEventListener

      public void addPickEventListener(PickEventListener l)
      Register a PickEventListener.
      Parameters:
      l -
    • removePickEventListener

      public void removePickEventListener(PickEventListener l)
      Remove a PickEventListener.
      Parameters:
      l -
    • setWorldBounds

      public void setWorldBounds(ScaledPanel.Bounds world)
      _more_
      Parameters:
      world -
    • getWorldBounds

      public ScaledPanel.Bounds getWorldBounds()
      _more_
      Returns:
      _more_
    • getBufferedImageGraphics

      public Graphics2D getBufferedImageGraphics()
      User must get this Graphics2D and draw into it when panel needs redrawing
      Returns:
      _more_
    • paintComponent

      public void paintComponent(Graphics g)
      System-triggered redraw.
      Overrides:
      paintComponent in class JComponent
      Parameters:
      g -
    • drawNow

      public void drawNow()
      _more_
    • main

      public static void main(String[] argv)
      _more_
      Parameters:
      argv -