Module org.jpo

Class PictureViewerNavBar

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

public class PictureViewerNavBar extends JToolBar
Creates a navigation Bar with several icons to navigate the Picture Viewer
See Also:
  • Field Details

    • previousJButton

      public final LeftRightButton previousJButton
      Button that is put in the NavigationPanel to allow the user to navigate to the previous picture. Depending on the context (previous pictures in the group, picture in previous group, beginning of pictures) different icons are shown.
    • rotateLeftJButton

      public final JButton rotateLeftJButton
      A button for the rotation to the left
    • rotateRightJButton

      public final JButton rotateRightJButton
      A button for the rotation to the right
    • zoomInJButton

      public final JButton zoomInJButton
      A button to zoom in with
    • zoomOutJButton

      public final JButton zoomOutJButton
      A button to zoom out with
    • fullScreenJButton

      public final JButton fullScreenJButton
      A button to bring up the screen sizes button
    • popupMenuJButton

      public final JButton popupMenuJButton
      A button to bring up the popup menu
    • infoJButton

      public final JButton infoJButton
      A button to show the info overlay
    • closeJButton

      public final JButton closeJButton
      A button to close the panel
    • clockJButton

      public final ClockButton clockJButton
      Button for the automatic advance timer.
    • resetJButton

      public final JButton resetJButton
      Button to resize the image so that it fits in the screen.
    • speedSlider

      public final JSlider speedSlider
      The delay timer that is shown only when auto advance is on.
  • Constructor Details

    • PictureViewerNavBar

      public PictureViewerNavBar()
      Constructor for a new instance of PictureViewerNavBar
  • Method Details

    • getNextJButton

      public JButton getNextJButton()
      Returns a next button
      Returns:
      the next button
    • showDelaySlider

      public void showDelaySlider()
      Turns on the showing of the delay slider
    • hideDelaySlider

      public void hideDelaySlider()
      Turns off the showing of the delay slider
    • setNextButtonHasRight

      public void setNextButtonHasRight()
      Sets the next button to have the HAS_RIGHT style
    • setNextButtonHasNext

      public void setNextButtonHasNext()
      Sets the next button to have the HAS_NEXT style
    • setNextButtonEnd

      public void setNextButtonEnd()
      Sets the next button to have the END style
    • setPreviousButtonHasLeft

      public void setPreviousButtonHasLeft()
      Sets the left button to HAS_LEFT style
    • setPreviousButtonHasPrevious

      public void setPreviousButtonHasPrevious()
      Sets the left button to the HAS_PREVIOUS style
    • setPreviousButtonBeginning

      public void setPreviousButtonBeginning()
      Sets the left button to the BEGINNING style