Class ThermometerFigure

    • Field Detail

      • fillColor

        private org.eclipse.swt.graphics.Color fillColor
      • fillBackgroundColor

        private org.eclipse.swt.graphics.Color fillBackgroundColor
      • contrastFillColor

        private org.eclipse.swt.graphics.Color contrastFillColor
      • unit

        private org.eclipse.draw2d.Label unit
      • effect3D

        private boolean effect3D
      • RED_COLOR

        private static final org.eclipse.swt.graphics.Color RED_COLOR
      • GRAY_COLOR

        private static final org.eclipse.swt.graphics.Color GRAY_COLOR
      • WHITE_COLOR

        private static final org.eclipse.swt.graphics.Color WHITE_COLOR
      • BLACK_COLOR

        private static final org.eclipse.swt.graphics.Color BLACK_COLOR
    • Constructor Detail

      • ThermometerFigure

        public ThermometerFigure()
    • Method Detail

      • 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
      • 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
      • setShowBulb

        public void setShowBulb​(boolean showBulb)
        Parameters:
        showBulb - the showBulb to set