Class ProgressBarFigure

All Implemented Interfaces:
Introspectable, org.eclipse.draw2d.IFigure

public class ProgressBarFigure extends AbstractLinearMarkedFigure
A progress bar figure
  • Constructor Details

    • ProgressBarFigure

      public ProgressBarFigure()
  • Method Details

    • getFillBackgroundColor

      public Color getFillBackgroundColor()
      Returns:
      the fillBackgroundColor
    • getFillColor

      public 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
    • isOpaque

      public boolean isOpaque()
      Specified by:
      isOpaque in interface org.eclipse.draw2d.IFigure
      Overrides:
      isOpaque in class AbstractScaledWidgetFigure
    • 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(Color fillBackgroundColor)
      Parameters:
      fillBackgroundColor - the fillBackgroundColor to set
    • setFillColor

      public void setFillColor(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)
    • setRange

      public void setRange(double min, double max)
      Description copied from class: AbstractScaledWidgetFigure
      set the range of the scale
      Overrides:
      setRange in class AbstractLinearMarkedFigure
    • setShowLabel

      public void setShowLabel(boolean visible)
    • setValue

      public void setValue(double value)
      Overrides:
      setValue in class AbstractScaledWidgetFigure
      Parameters:
      value - the value to set