Class ProgressBar.ProgressBarPanel

    • Field Detail

      • m_Current

        protected double m_Current
        the current value.
      • m_Format

        protected transient DecimalFormat m_Format
        the decimal format.
    • Constructor Detail

      • ProgressBarPanel

        public ProgressBarPanel​(ProgressBar owner)
        Initializes the panel with the specified owner.
        Parameters:
        owner - the owning actor
    • Method Detail

      • reset

        public void reset()
        Resets the progress bar.
      • update

        public void update​(double current)
        Updates the progress with the new current value.
        Parameters:
        current - the current value of the progress bar
      • paint

        public void paint​(Graphics g)
        Paints the component.
        Overrides:
        paint in class JComponent
        Parameters:
        g - the graphics context