Class BoolButtonFigure

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

public class BoolButtonFigure extends AbstractBoolControlFigure
Bool button figure
  • Constructor Details

    • BoolButtonFigure

      public BoolButtonFigure()
  • Method Details

    • isEffect3D

      public boolean isEffect3D()
      Returns:
      the effect3D
    • isShowLED

      public boolean isShowLED()
      Returns:
      the showLED
    • isSquareButton

      public boolean isSquareButton()
      Returns:
      the squareButton
    • layout

      protected void layout()
      Overrides:
      layout in class org.eclipse.draw2d.Figure
    • paintClientArea

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

      public void setBackgroundColor(Color bg)
      Specified by:
      setBackgroundColor in interface org.eclipse.draw2d.IFigure
      Overrides:
      setBackgroundColor 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
    • setShowLED

      public void setShowLED(boolean showLED)
      Parameters:
      showLED - the showLED to set
    • setSquareButton

      public void setSquareButton(boolean squareButton)