Class NavigatedDisplayToolBar

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants

public class NavigatedDisplayToolBar extends JToolBar
A JToolBar that can be used to move around a NavigatedDisplay. The tool bar has buttons for panning and zooming and resetting the display to the last saved projection.
Version:
$Revision: 1.14 $ $Date: 2007/06/11 21:28:20 $
Author:
Don Murray
See Also:
  • Field Details

    • TRANSLATE_FACTOR

      public static final double TRANSLATE_FACTOR
      Base translation_
      See Also:
    • ZOOM_FACTOR

      public static final double ZOOM_FACTOR
      default zoom factor
      See Also:
  • Constructor Details

    • NavigatedDisplayToolBar

      public NavigatedDisplayToolBar(NavigatedDisplay navDisplay)
      Construct a NavigatedDisplayToolBar for the navDisplay.
      Parameters:
      navDisplay - the display that this toolbar controls
    • NavigatedDisplayToolBar

      public NavigatedDisplayToolBar(NavigatedDisplay navDisplay, int orientation)
      Construct a NavigatedDisplayToolBar for the navDisplay.
      Parameters:
      navDisplay - the display that this toolbar controls
      orientation - orientation
    • NavigatedDisplayToolBar

      public NavigatedDisplayToolBar(NavigatedDisplay navDisplay, int orientation, boolean floatable)
      Construct a NavigatedDisplayToolBar for the navDisplay.
      Parameters:
      navDisplay - the display that this toolbar controls
      orientation - orientation
      floatable - Is toolbar floatable
  • Method Details

    • destroy

      public void destroy()
    • setNavigatedDisplay

      public void setNavigatedDisplay(NavigatedDisplay navDisplay)
      Set the navDisplay that this NavigatedDisplayToolBar controls.
      Parameters:
      navDisplay - the display that this toolbar controls