Class TankFigure

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

public class TankFigure
extends AbstractLinearMarkedFigure
A tank figure
  • Constructor Details

  • Method Details

    • getFillBackgroundColor

      public org.eclipse.swt.graphics.Color getFillBackgroundColor()
      Returns:
      the fillBackgroundColor
    • getFillColor

      public org.eclipse.swt.graphics.Color getFillColor()
      Returns:
      the fillColor
    • isEffect3D

      public boolean isEffect3D()
      Returns:
      the effect3D
    • isOpaque

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

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

      public void setFillBackgroundColor​(org.eclipse.swt.graphics.Color fillBackgroundColor)
      Parameters:
      fillBackgroundColor - the fillBackgroundColor to set
    • setFillColor

      public void setFillColor​(org.eclipse.swt.graphics.Color fillColor)
      Parameters:
      fillColor - the fillColor to set
    • setForegroundColor

      public void setForegroundColor​(org.eclipse.swt.graphics.Color fg)
      Specified by:
      setForegroundColor in interface org.eclipse.draw2d.IFigure
      Overrides:
      setForegroundColor in class org.eclipse.draw2d.Figure