Introspectable
public class KnobFigure extends AbstractRoundRampedFigure
Constructor | Description |
---|---|
KnobFigure() |
Modifier and Type | Method | Description |
---|---|---|
void |
addManualValueChangeListener(IManualValueChangeListener listener) |
Add a knob listener.
|
double |
getIncrement() |
|
org.eclipse.swt.graphics.Color |
getThumbColor() |
|
boolean |
isEffect3D() |
|
void |
manualSetValue(double value) |
Set Value from manual control of the widget.
|
void |
removeManualValueChangeListener(IManualValueChangeListener listener) |
|
void |
setBounds(org.eclipse.draw2d.geometry.Rectangle rect) |
|
void |
setBulbColor(org.eclipse.swt.graphics.Color color) |
|
void |
setCursor(org.eclipse.swt.graphics.Cursor cursor) |
|
void |
setEffect3D(boolean effect3D) |
|
void |
setEnabled(boolean value) |
|
void |
setFont(org.eclipse.swt.graphics.Font f) |
|
void |
setIncrement(double increment) |
|
void |
setThumbColor(org.eclipse.swt.graphics.Color thumbColor) |
|
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, setShowMarkers
getBeanInfo, 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, setFocusTraversable, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, validate
public void addManualValueChangeListener(IManualValueChangeListener listener)
listener
- The knob listener to add.public double getIncrement()
public org.eclipse.swt.graphics.Color getThumbColor()
public boolean isEffect3D()
public void manualSetValue(double value)
value
- public void removeManualValueChangeListener(IManualValueChangeListener listener)
public void setBounds(org.eclipse.draw2d.geometry.Rectangle rect)
setBounds
in class org.eclipse.draw2d.Figure
public void setBulbColor(org.eclipse.swt.graphics.Color color)
color
- the bulb color to setpublic void setCursor(org.eclipse.swt.graphics.Cursor cursor)
setCursor
in class org.eclipse.draw2d.Figure
public void setEffect3D(boolean effect3D)
effect3D
- the effect3D to setpublic void setEnabled(boolean value)
setEnabled
in class org.eclipse.draw2d.Figure
public void setFont(org.eclipse.swt.graphics.Font f)
setFont
in class org.eclipse.draw2d.Figure
public void setIncrement(double increment)
increment
- the increment to setpublic void setThumbColor(org.eclipse.swt.graphics.Color thumbColor)
thumbColor
- the thumbColor to setpublic void setValue(double value)
setValue
in class AbstractScaledWidgetFigure
value
- the value to setpublic void setValueLabelVisibility(boolean visible)