Package org.csstudio.swt.widgets.figures
Class ThumbWheelFigure
java.lang.Object
org.eclipse.draw2d.Figure
org.csstudio.swt.widgets.figures.ThumbWheelFigure
- All Implemented Interfaces:
Introspectable
,org.eclipse.draw2d.IFigure
The view for ThumbWheel.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.draw2d.Figure
org.eclipse.draw2d.Figure.FigureIterator, org.eclipse.draw2d.Figure.IdentitySearch, org.eclipse.draw2d.Figure.ReverseFigureChildrenIterator
Nested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure
org.eclipse.draw2d.IFigure.NoInsets
-
Field Summary
Fields inherited from class org.eclipse.draw2d.Figure
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTip
Fields inherited from interface org.eclipse.draw2d.IFigure
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
org.eclipse.draw2d.GridData
int
int
int
boolean
isOpaque()
boolean
isTest()
void
paintFigure
(org.eclipse.draw2d.Graphics graphics) void
void
setButtonVisibility
(boolean b) void
setDecimalDigits
(int decimalDigits) void
setDecimalWheel
(int index, char value) void
setEnabled
(boolean value) void
setIntegerDigits
(int integerDigits) void
setIntegerWheel
(int index, char value) void
setInternalBorderColor
(Color color) void
setInternalBorderThickness
(int thickness) void
void
setTest
(boolean test) void
setWheelFont
(Font font) void
showDot
(boolean b) void
showMinus
(boolean b) Methods inherited from class org.eclipse.draw2d.Figure
add, 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, getChildrenRevIterable, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getListenersIterable, 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, optimizeClip, 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, 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, validate
-
Constructor Details
-
ThumbWheelFigure
public ThumbWheelFigure() -
ThumbWheelFigure
public ThumbWheelFigure(int integerWheels, int decimalDigits, boolean runmode)
-
-
Method Details
-
addWheelListener
-
createGridData
public org.eclipse.draw2d.GridData createGridData() -
getBeanInfo
- Specified by:
getBeanInfo
in interfaceIntrospectable
- Throws:
IntrospectionException
-
getDecimalDigits
public int getDecimalDigits()- Returns:
- the decimalDigits
-
getIntegerDigits
public int getIntegerDigits()- Returns:
- the integerDigits
-
getInternalBorderColor
- Returns:
- the internalBorderColor
-
getInternalFocusedBorderColor
- Returns:
- the internalFocusedBorderColor
-
getInternalBorderThickness
public int getInternalBorderThickness()- Returns:
- the internalBorderThickness
-
getWheelFont
- Returns:
- the wheelFont
-
isOpaque
public boolean isOpaque()- Specified by:
isOpaque
in interfaceorg.eclipse.draw2d.IFigure
- Overrides:
isOpaque
in classorg.eclipse.draw2d.Figure
-
isTest
public boolean isTest() -
paintFigure
public void paintFigure(org.eclipse.draw2d.Graphics graphics) - Overrides:
paintFigure
in classorg.eclipse.draw2d.Figure
-
removeWheelListener
-
setDecimalDigits
public void setDecimalDigits(int decimalDigits) -
setDecimalWheel
public void setDecimalWheel(int index, char value) -
setEnabled
public void setEnabled(boolean value) - Specified by:
setEnabled
in interfaceorg.eclipse.draw2d.IFigure
- Overrides:
setEnabled
in classorg.eclipse.draw2d.Figure
-
setIntegerDigits
public void setIntegerDigits(int integerDigits) -
setIntegerWheel
public void setIntegerWheel(int index, char value) -
setInternalBorderColor
-
setInternalFocusedBorderColor
-
setInternalBorderThickness
public void setInternalBorderThickness(int thickness) -
setTest
public void setTest(boolean test) -
setWheelFont
-
showDot
public void showDot(boolean b) -
showMinus
public void showMinus(boolean b) -
setButtonVisibility
public void setButtonVisibility(boolean b)
-