public class ThermometerFigure extends AbstractLinearMarkedFigure
Modifier and Type | Class and Description |
---|---|
(package private) class |
ThermometerFigure.Bulb |
(package private) class |
ThermometerFigure.Pipe |
static class |
ThermometerFigure.TemperatureUnit
Temperature Unit Enum
|
(package private) static class |
ThermometerFigure.ThermoLayout |
marker
hiColor, hihiColor, hihiLevel, hiLevel, loColor, loLevel, loloColor, loloLevel, showHi, showHihi, showLo, showLolo, showMarkers
logScale, majorTickMarkStepHint, maximum, minimum, scale, showMinorTicks, showScale, transparent, value, valueLabelFormat
Constructor and Description |
---|
ThermometerFigure() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Color |
getFillBackgroundColor() |
org.eclipse.swt.graphics.Color |
getFillColor() |
ThermometerFigure.TemperatureUnit |
getTemperatureUnit() |
boolean |
isEffect3D() |
boolean |
isOpaque() |
void |
setEffect3D(boolean effect3D) |
void |
setFillBackgroundColor(org.eclipse.swt.graphics.Color fillBackgroundColor) |
void |
setFillColor(org.eclipse.swt.graphics.Color fillColor) |
void |
setForegroundColor(org.eclipse.swt.graphics.Color fg) |
void |
setShowBulb(boolean showBulb) |
void |
setTemperatureUnit(ThermometerFigure.TemperatureUnit temperatureUnit) |
void |
setValue(double value) |
setHiColor, setHihiColor, setHihiLevel, setHiLevel, setLoColor, setLogScale, setLoLevel, setLoloColor, setLoloLevel, setRange, setShowHi, setShowHihi, setShowLo, setShowLolo, setShowMarkers
getHiColor, getHihiColor, getHihiLevel, getHiLevel, getLoColor, getLoLevel, getLoloColor, getLoloLevel, isShowHi, isShowHihi, isShowLo, isShowLolo, isShowMarkers
getBeanInfo, getCoercedValue, getCoercedValue, getMajorTickMarkStepHint, getMaximum, getMinimum, getRange, getScale, getValue, getValueLabelFormat, getValueText, isLogScale, isShowMinorTicks, isShowScale, isTransparent, paintFigure, setMajorTickMarkStepHint, setRange, setScale, setShowMinorTicks, setShowScale, setTransparent, setValueLabelFormat
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, layout, paint, paintBorder, paintChildren, paintClientArea, primTranslate, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setCursor, setEnabled, setFlag, setFocusTraversable, setFont, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validate
public org.eclipse.swt.graphics.Color getFillBackgroundColor()
public org.eclipse.swt.graphics.Color getFillColor()
public ThermometerFigure.TemperatureUnit getTemperatureUnit()
public boolean isEffect3D()
public boolean isOpaque()
isOpaque
in interface org.eclipse.draw2d.IFigure
isOpaque
in class AbstractScaledWidgetFigure
public void setEffect3D(boolean effect3D)
effect3D
- the effect3D to setpublic void setFillBackgroundColor(org.eclipse.swt.graphics.Color fillBackgroundColor)
fillBackgroundColor
- the fillBackgroundColor to setpublic void setFillColor(org.eclipse.swt.graphics.Color fillColor)
fillColor
- the fillColor to setpublic void setForegroundColor(org.eclipse.swt.graphics.Color fg)
setForegroundColor
in interface org.eclipse.draw2d.IFigure
setForegroundColor
in class org.eclipse.draw2d.Figure
public void setShowBulb(boolean showBulb)
showBulb
- the showBulb to setpublic void setTemperatureUnit(ThermometerFigure.TemperatureUnit temperatureUnit)
temperatureUnit
- the unit to set.public void setValue(double value)
setValue
in class AbstractScaledWidgetFigure
value
- the value to set