Class BoolSwitchFigure

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

public class BoolSwitchFigure extends AbstractBoolControlFigure
Boolean Switch figure
  • Constructor Details

    • BoolSwitchFigure

      public BoolSwitchFigure()
  • Method Details

    • isEffect3D

      public boolean isEffect3D()
      Returns:
      the effect3D
    • isHorizontal

      public boolean isHorizontal()
      Returns:
      the horizontal
    • paintClientArea

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

      public void setBit(int bit)
      Overrides:
      setBit in class AbstractBoolFigure
      Parameters:
      bit - the bit to set
    • 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
    • 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 AbstractBoolFigure
    • setRunMode

      public void setRunMode(boolean runMode)
      Overrides:
      setRunMode in class AbstractBoolControlFigure
      Parameters:
      runMode - the runMode to set
    • setValue

      public void setValue(double value)
      Overrides:
      setValue in class AbstractBoolFigure
    • useLocalCoordinates

      protected boolean useLocalCoordinates()
      Overrides:
      useLocalCoordinates in class org.eclipse.draw2d.Figure