Class TankFigure

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

public class TankFigure extends AbstractLinearMarkedFigure
A tank figure
  • Constructor Details

    • TankFigure

      public TankFigure()
  • Method Details

    • getFillBackgroundColor

      public Color getFillBackgroundColor()
      Returns:
      the fillBackgroundColor
    • getFillColor

      public 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(Color fillBackgroundColor)
      Parameters:
      fillBackgroundColor - the fillBackgroundColor to set
    • setFillColor

      public void setFillColor(Color fillColor)
      Parameters:
      fillColor - the fillColor to set
    • setForegroundColor

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