Class ProgressBarFigure

    • Field Detail

      • fillColor

        private org.eclipse.swt.graphics.Color fillColor
      • fillBackgroundColor

        private org.eclipse.swt.graphics.Color fillBackgroundColor
      • effect3D

        private boolean effect3D
      • horizontal

        private boolean horizontal
      • indicatorMode

        private boolean indicatorMode
      • WHITE_COLOR

        private static final org.eclipse.swt.graphics.Color WHITE_COLOR
      • GRAY_COLOR

        private static final org.eclipse.swt.graphics.Color GRAY_COLOR
      • BLUE_COLOR

        private static final org.eclipse.swt.graphics.Color BLUE_COLOR
      • label

        private org.eclipse.draw2d.Label label
      • origin

        private double origin
      • originIgnored

        private boolean originIgnored
    • Constructor Detail

      • ProgressBarFigure

        public ProgressBarFigure()
    • Method Detail

      • getFillBackgroundColor

        public org.eclipse.swt.graphics.Color getFillBackgroundColor()
        Returns:
        the fillBackgroundColor
      • getFillColor

        public org.eclipse.swt.graphics.Color getFillColor()
        Returns:
        the fillColor
      • getOrigin

        public double getOrigin()
        Returns:
        the origin
      • isEffect3D

        public boolean isEffect3D()
        Returns:
        the effect3D
      • isHorizontal

        public boolean isHorizontal()
        Returns:
        the horizontal
      • isIndicatorMode

        public boolean isIndicatorMode()
        Returns:
        the indicatorMode
      • isOriginIgnored

        public boolean isOriginIgnored()
        Returns:
        the originIgnored
      • setEffect3D

        public void setEffect3D​(boolean effect3D)
        Parameters:
        effect3D - the effect3D to set
      • setEnabled

        public void setEnabled​(boolean value)
        Specified by:
        setEnabled in interface org.eclipse.draw2d.IFigure
        Overrides:
        setEnabled in class org.eclipse.draw2d.Figure
      • setFillBackgroundColor

        public void setFillBackgroundColor​(org.eclipse.swt.graphics.Color fillBackgroundColor)
        Parameters:
        fillBackgroundColor - the fillBackgroundColor to set
      • setFillColor

        public void setFillColor​(org.eclipse.swt.graphics.Color fillColor)
        Parameters:
        fillColor - the fillColor to set
      • setHorizontal

        public void setHorizontal​(boolean horizontal)
        Parameters:
        horizontal - the horizontal to set
      • setIndicatorMode

        public void setIndicatorMode​(boolean indicatorMode)
      • setOrigin

        public void setOrigin​(double origin)
      • setOriginIgnored

        public void setOriginIgnored​(boolean originIgnored)
      • setShowLabel

        public void setShowLabel​(boolean visible)
      • updateLabelText

        private void updateLabelText()
        Update the text of the label.