Class ScaledSliderFigure

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

public class ScaledSliderFigure extends AbstractLinearMarkedFigure
A Scaled Slider figure
  • Constructor Details

    • ScaledSliderFigure

      public ScaledSliderFigure()
  • Method Details

    • addManualValueChangeListener

      public void addManualValueChangeListener(IManualValueChangeListener listener)
      Add a slider listener.
      Parameters:
      listener - The slider listener to add.
    • removeManualValueChangeListener

      public void removeManualValueChangeListener(IManualValueChangeListener listener)
      Remove a manual value change listener.
      Parameters:
      listener - the listner to be removed.
    • getFillBackgroundColor

      public Color getFillBackgroundColor()
    • getFillColor

      public Color getFillColor()
    • getPageIncrement

      public double getPageIncrement()
    • getStepIncrement

      public double getStepIncrement()
    • getThumbColor

      public Color getThumbColor()
    • isEffect3D

      public boolean isEffect3D()
    • isHorizontal

      public boolean isHorizontal()
    • revalidate

      public void revalidate()
      Specified by:
      revalidate in interface org.eclipse.draw2d.IFigure
      Overrides:
      revalidate in class org.eclipse.draw2d.Figure
    • isOpaque

      public boolean isOpaque()
      Specified by:
      isOpaque in interface org.eclipse.draw2d.IFigure
      Overrides:
      isOpaque in class AbstractScaledWidgetFigure
    • manualSetValue

      public void manualSetValue(double value)
      Set Value from manual control of the widget. Value will be coerced in range.
      Parameters:
      value -
    • pageDown

      public void pageDown()
    • pageUp

      public void pageUp()
    • paintClientArea

      protected void paintClientArea(org.eclipse.draw2d.Graphics graphics)
      Overrides:
      paintClientArea in class org.eclipse.draw2d.Figure
    • 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
    • setPageIncrement

      public void setPageIncrement(double pageIncrement)
    • setStepIncrement

      public void setStepIncrement(double stepIncrement)
    • setThumbColor

      public void setThumbColor(Color thumbColor)
    • setValue

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

      public void stepDown()
    • stepUp

      public void stepUp()