Class GaugeFigure

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

public class GaugeFigure extends AbstractRoundRampedFigure
The figure of gauge
  • Constructor Details

    • GaugeFigure

      public GaugeFigure()
  • Method Details

    • setBounds

      public void setBounds(org.eclipse.draw2d.geometry.Rectangle rect)
      Specified by:
      setBounds in interface org.eclipse.draw2d.IFigure
      Overrides:
      setBounds in class org.eclipse.draw2d.Figure
    • setValue

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

      protected void paintClientArea(org.eclipse.draw2d.Graphics graphics)
      Overrides:
      paintClientArea in class org.eclipse.draw2d.Figure
    • setNeedleColor

      public void setNeedleColor(Color needleColor)
      Parameters:
      needleColor - the needleColor to set
    • getNeedleColor

      public Color getNeedleColor()
    • setEffect3D

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

      public boolean isEffect3D()
      Returns:
      the effect3D