Introspectable
public class MeterFigure extends AbstractRoundRampedFigure
Modifier and Type | Field | Description |
---|---|---|
static double |
ALPHA |
|
static double |
HW_RATIO |
|
static int |
NEEDLE_WIDTH |
Constructor | Description |
---|---|
MeterFigure() |
Modifier and Type | Method | 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) |
getHiColor, getHihiColor, getHihiLevel, getHiLevel, getLoColor, getLoLevel, getLoloColor, getLoloLevel, isShowHi, isShowHihi, isShowLo, isShowLolo, isShowMarkers
isGradient, setGradient, setHiColor, setHihiColor, setHihiLevel, setHiLevel, setLoColor, setLogScale, setLoLevel, setLoloColor, setLoloLevel, setRange, setShowHi, setShowHihi, setShowLo, setShowLolo
getCoercedValue, getCoercedValue, getMajorTickMarkStepHint, getMaximum, getMinimum, getRange, getScale, getValue, getValueLabelFormat, getValueText, isLogScale, isOpaque, isShowMinorTicks, isShowScale, isTransparent, paintFigure, setMajorTickMarkStepHint, setRange, setScale, setShowMinorTicks, setShowScale, setTransparent, setValueLabelFormat
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFont, getForegroundColor, getInsets, getLayoutManager, getLocalBackgroundColor, 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, isRequestFocusEnabled, isShowing, isVisible, paint, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setClippingStrategy, setConstraint, setCursor, setEnabled, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, validate
public 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 class org.eclipse.draw2d.Figure
public void setShowMarkers(boolean showMarkers)
setShowMarkers
in class AbstractRoundRampedFigure
showMarkers
- the showMarkers to setpublic void setValue(double value)
setValue
in class AbstractScaledWidgetFigure
value
- 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 Introspectable
getBeanInfo
in class AbstractScaledWidgetFigure
java.beans.IntrospectionException