public class ComponentMeterFigure
extends org.eclipse.nebula.visualization.widgets.figures.AbstractRoundRampedFigure
Modifier and Type | Field and Description |
---|---|
static double |
ALPHA |
static double |
HW_RATIO |
static int |
NEEDLE_WIDTH |
Constructor and Description |
---|
ComponentMeterFigure() |
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, setShowLolo
getHiColor, getHihiColor, getHihiLevel, getHiLevel, getLoColor, getLoLevel, getLoloColor, getLoloLevel, isShowHi, isShowHihi, isShowLo, isShowLolo, isShowMarkers
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 java.beans.BeanInfo getBeanInfo() throws java.beans.IntrospectionException
getBeanInfo
in interface org.eclipse.nebula.visualization.internal.widgets.introspection.Introspectable
getBeanInfo
in class org.eclipse.nebula.visualization.widgets.figures.AbstractScaledWidgetFigure
java.beans.IntrospectionException
public org.eclipse.swt.graphics.Color getNeedleColor()
public void setBounds(org.eclipse.draw2d.geometry.Rectangle rect)
setBounds
in interface org.eclipse.draw2d.IFigure
setBounds
in class org.eclipse.draw2d.Figure
public void setNeedleColor(org.eclipse.swt.graphics.Color needleColor)
needleColor
- the needleColor to setpublic void setShowMarkers(boolean showMarkers)
setShowMarkers
in class org.eclipse.nebula.visualization.widgets.figures.AbstractRoundRampedFigure
public void setValue(double value)
setValue
in class org.eclipse.nebula.visualization.widgets.figures.AbstractScaledWidgetFigure
public void setValueLabelVisibility(boolean visible)