public class ScaledSliderFigure extends AbstractLinearMarkedFigure
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
ScaledSliderFigure.Thumb |
(package private) class |
ScaledSliderFigure.Track |
(package private) class |
ScaledSliderFigure.XSliderLayout |
markerhiColor, hihiColor, hihiLevel, hiLevel, loColor, loLevel, loloColor, loloLevel, showHi, showHihi, showLo, showLolo, showMarkerslogScale, majorTickMarkStepHint, maximum, minimum, scale, showMinorTicks, showScale, transparent, value, valueLabelFormat| Constructor and Description |
|---|
ScaledSliderFigure() |
| Modifier and Type | Method and Description |
|---|---|
void |
addManualValueChangeListener(IManualValueChangeListener listener)
Add a slider listener.
|
org.eclipse.swt.graphics.Color |
getFillBackgroundColor() |
org.eclipse.swt.graphics.Color |
getFillColor() |
double |
getPageIncrement() |
double |
getStepIncrement() |
org.eclipse.swt.graphics.Color |
getThumbColor() |
boolean |
isDrawFocus()
Get whether the focus rectangle is drawn when figure has focus.
|
boolean |
isEffect3D() |
boolean |
isHorizontal() |
boolean |
isOpaque() |
void |
manualSetValue(double value)
Set Value from manual control of the widget.
|
void |
pageDown() |
void |
pageUp() |
protected void |
paintClientArea(org.eclipse.draw2d.Graphics graphics) |
void |
removeManualValueChangeListener(IManualValueChangeListener listener)
Remove a manual value change listener.
|
void |
revalidate() |
void |
setDrawFocus(boolean drawFocus)
Set the focus rectangle should be drawn on the figure when it has focus.
|
void |
setEffect3D(boolean effect3D) |
void |
setEnabled(boolean value) |
void |
setFillBackgroundColor(org.eclipse.swt.graphics.Color fillBackgroundColor) |
void |
setFillColor(org.eclipse.swt.graphics.Color fillColor) |
void |
setHorizontal(boolean horizontal) |
void |
setPageIncrement(double pageIncrement) |
void |
setStepIncrement(double stepIncrement) |
void |
setThumbColor(org.eclipse.swt.graphics.Color thumbColor) |
void |
setValue(double value) |
void |
stepDown() |
void |
stepUp() |
setHiColor, setHihiColor, setHihiLevel, setHiLevel, setLoColor, setLogScale, setLoLevel, setLoloColor, setLoloLevel, setRange, setShowHi, setShowHihi, setShowLo, setShowLolo, setShowMarkersgetHiColor, getHihiColor, getHihiLevel, getHiLevel, getLoColor, getLoLevel, getLoloColor, getLoloLevel, isShowHi, isShowHihi, isShowLo, isShowLolo, isShowMarkersgetBeanInfo, getCoercedValue, getCoercedValue, getMajorTickMarkStepHint, getMaximum, getMinimum, getRange, getScale, getValue, getValueLabelFormat, getValueText, isLogScale, 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, primTranslate, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, setBackgroundColor, setBorder, setBounds, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setCursor, 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 void addManualValueChangeListener(IManualValueChangeListener listener)
listener - The slider listener to add.public void removeManualValueChangeListener(IManualValueChangeListener listener)
listener - the listner to be removed.public org.eclipse.swt.graphics.Color getFillBackgroundColor()
public org.eclipse.swt.graphics.Color getFillColor()
public double getPageIncrement()
public double getStepIncrement()
public org.eclipse.swt.graphics.Color getThumbColor()
public boolean isEffect3D()
public boolean isHorizontal()
public void revalidate()
revalidate in interface org.eclipse.draw2d.IFigurerevalidate in class org.eclipse.draw2d.Figurepublic boolean isOpaque()
isOpaque in interface org.eclipse.draw2d.IFigureisOpaque in class AbstractScaledWidgetFigurepublic void manualSetValue(double value)
value - public void pageDown()
public void pageUp()
public void setDrawFocus(boolean drawFocus)
drawFocus - true to draw focus rectangle.public boolean isDrawFocus()
protected void paintClientArea(org.eclipse.draw2d.Graphics graphics)
paintClientArea in class org.eclipse.draw2d.Figurepublic void setEffect3D(boolean effect3D)
effect3D - the effect3D to setpublic void setEnabled(boolean value)
setEnabled in interface org.eclipse.draw2d.IFiguresetEnabled in class org.eclipse.draw2d.Figurepublic 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 setHorizontal(boolean horizontal)
horizontal - the horizontal to setpublic void setPageIncrement(double pageIncrement)
public void setStepIncrement(double stepIncrement)
stepIncrement - the stepIncrement to setpublic void setThumbColor(org.eclipse.swt.graphics.Color thumbColor)
thumbColor - the thumbColor to setpublic void setValue(double value)
setValue in class AbstractScaledWidgetFigurevalue - the value to setpublic void stepDown()
public void stepUp()