Class StatusBar

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class StatusBar extends JPanel
This class represents a viewer status bar.
See Also:
  • Field Details

    • RESOURCES

      protected static final String RESOURCES
      The gui resources file name
      See Also:
    • bundle

      protected static ResourceBundle bundle
      The resource bundle
    • rManager

      protected static ResourceManager rManager
      The resource manager
    • xPosition

      protected JLabel xPosition
      The x position/width label.
    • yPosition

      protected JLabel yPosition
      The y position/height label.
    • zoom

      protected JLabel zoom
      The zoom label.
    • message

      protected JLabel message
      The message label
    • mainMessage

      protected String mainMessage
      The main message
    • temporaryMessage

      protected String temporaryMessage
      The temporary message
    • displayThread

      protected StatusBar.DisplayThread displayThread
      The current display thread.
  • Constructor Details

    • StatusBar

      public StatusBar()
      Creates a new status bar.
  • Method Details

    • setXPosition

      public void setXPosition(float x)
      Sets the x position.
    • setWidth

      public void setWidth(float w)
      Sets the width.
    • setYPosition

      public void setYPosition(float y)
      Sets the y position.
    • setHeight

      public void setHeight(float h)
      Sets the height.
    • setZoom

      public void setZoom(float f)
      Sets the zoom factor.
    • setMessage

      public void setMessage(String s)
      Sets a temporary message
      Parameters:
      s - the message
    • setMainMessage

      public void setMainMessage(String s)
      Sets the main message
      Parameters:
      s - the message