public class MeterFigure extends AbstractRoundRampedFigure
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
MeterFigure.Needle |
(package private) class |
MeterFigure.XMeterLayout |
| Modifier and Type | Field and Description |
|---|---|
static double |
ALPHA |
static double |
HW_RATIO |
static int |
NEEDLE_WIDTH |
gradient, ramphiColor, hihiColor, hihiLevel, hiLevel, loColor, loLevel, loloColor, loloLevel, showHi, showHihi, showLo, showLolo, showMarkerslogScale, majorTickMarkStepHint, maximum, minimum, scale, showMinorTicks, showScale, transparent, value, valueLabelFormat| Constructor and Description |
|---|
MeterFigure() |
| Modifier and Type | Method and Description |
|---|---|
java.beans.BeanInfo |
getBeanInfo() |
org.eclipse.swt.graphics.Color |
getNeedleColor() |
void |
setBounds(org.eclipse.draw2d.geometry.Rectangle rect) |
void |
setNeedleColor(org.eclipse.swt.graphics.Color needleColor) |
void |
setShowMarkers(boolean showMarkers) |
void |
setValue(double value) |
void |
setValueLabelVisibility(boolean visible) |
isGradient, setGradient, setHiColor, setHihiColor, setHihiLevel, setHiLevel, setLoColor, setLogScale, setLoLevel, setLoloColor, setLoloLevel, setRange, setShowHi, setShowHihi, setShowLo, setShowLologetHiColor, getHihiColor, getHihiLevel, getHiLevel, getLoColor, getLoLevel, getLoloColor, getLoloLevel, isShowHi, isShowHihi, isShowLo, isShowLolo, isShowMarkersgetCoercedValue, getCoercedValue, getMajorTickMarkStepHint, getMaximum, getMinimum, getRange, getScale, getValue, getValueLabelFormat, getValueText, isLogScale, isOpaque, isShowMinorTicks, isShowScale, isTransparent, paintFigure, setMajorTickMarkStepHint, setRange, setScale, setShowMinorTicks, setShowScale, setTransparent, setValueLabelFormatadd, 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, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setCursor, setEnabled, setFlag, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validatepublic static final int NEEDLE_WIDTH
public static final double ALPHA
public static final double HW_RATIO
public void setBounds(org.eclipse.draw2d.geometry.Rectangle rect)
setBounds in interface org.eclipse.draw2d.IFiguresetBounds in class org.eclipse.draw2d.Figurepublic void setShowMarkers(boolean showMarkers)
setShowMarkers in class AbstractRoundRampedFigureshowMarkers - the showMarkers to setpublic void setValue(double value)
setValue in class AbstractScaledWidgetFigurevalue - the value to setpublic void setValueLabelVisibility(boolean visible)
public void setNeedleColor(org.eclipse.swt.graphics.Color needleColor)
needleColor - the needleColor to setpublic org.eclipse.swt.graphics.Color getNeedleColor()
public java.beans.BeanInfo getBeanInfo()
throws java.beans.IntrospectionException
getBeanInfo in interface IntrospectablegetBeanInfo in class AbstractScaledWidgetFigurejava.beans.IntrospectionException