Class ThumbWheelFigure

java.lang.Object
org.eclipse.draw2d.Figure
org.csstudio.swt.widgets.figures.ThumbWheelFigure
All Implemented Interfaces:
Introspectable, org.eclipse.draw2d.IFigure

public class ThumbWheelFigure extends org.eclipse.draw2d.Figure implements Introspectable
The view for ThumbWheel.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     

    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

    Constructors
    Constructor
    Description
     
    ThumbWheelFigure(int integerWheels, int decimalDigits, boolean runmode)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.eclipse.draw2d.GridData
     
     
    int
     
    int
     
     
    int
     
     
     
    boolean
     
    boolean
     
    void
    paintFigure(org.eclipse.draw2d.Graphics graphics)
     
    void
     
    void
     
    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
     
    void
     
    void
     
    void
    setTest(boolean test)
     
    void
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ThumbWheelFigure

      public ThumbWheelFigure()
    • ThumbWheelFigure

      public ThumbWheelFigure(int integerWheels, int decimalDigits, boolean runmode)
  • Method Details

    • addWheelListener

      public void addWheelListener(ThumbWheelFigure.WheelListener listener)
    • createGridData

      public org.eclipse.draw2d.GridData createGridData()
    • getBeanInfo

      public BeanInfo getBeanInfo() throws IntrospectionException
      Specified by:
      getBeanInfo in interface Introspectable
      Throws:
      IntrospectionException
    • getDecimalDigits

      public int getDecimalDigits()
      Returns:
      the decimalDigits
    • getIntegerDigits

      public int getIntegerDigits()
      Returns:
      the integerDigits
    • getInternalBorderColor

      public Color getInternalBorderColor()
      Returns:
      the internalBorderColor
    • getInternalFocusedBorderColor

      public Color getInternalFocusedBorderColor()
      Returns:
      the internalFocusedBorderColor
    • getInternalBorderThickness

      public int getInternalBorderThickness()
      Returns:
      the internalBorderThickness
    • getWheelFont

      public Font getWheelFont()
      Returns:
      the wheelFont
    • isOpaque

      public boolean isOpaque()
      Specified by:
      isOpaque in interface org.eclipse.draw2d.IFigure
      Overrides:
      isOpaque in class org.eclipse.draw2d.Figure
    • isTest

      public boolean isTest()
    • paintFigure

      public void paintFigure(org.eclipse.draw2d.Graphics graphics)
      Overrides:
      paintFigure in class org.eclipse.draw2d.Figure
    • removeWheelListener

      public void removeWheelListener(ThumbWheelFigure.WheelListener listener)
    • setDecimalDigits

      public void setDecimalDigits(int decimalDigits)
    • setDecimalWheel

      public void setDecimalWheel(int index, char value)
    • setEnabled

      public void setEnabled(boolean value)
      Specified by:
      setEnabled in interface org.eclipse.draw2d.IFigure
      Overrides:
      setEnabled in class org.eclipse.draw2d.Figure
    • setIntegerDigits

      public void setIntegerDigits(int integerDigits)
    • setIntegerWheel

      public void setIntegerWheel(int index, char value)
    • setInternalBorderColor

      public void setInternalBorderColor(Color color)
    • setInternalFocusedBorderColor

      public void setInternalFocusedBorderColor(Color color)
    • setInternalBorderThickness

      public void setInternalBorderThickness(int thickness)
    • setTest

      public void setTest(boolean test)
    • setWheelFont

      public void setWheelFont(Font font)
    • showDot

      public void showDot(boolean b)
    • showMinus

      public void showMinus(boolean b)
    • setButtonVisibility

      public void setButtonVisibility(boolean b)