Class TextInputFigure

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

public class TextInputFigure extends TextFigure
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
    static enum 
     
    static enum 
     

    Nested classes/interfaces inherited from class org.csstudio.swt.widgets.figures.TextFigure

    TextFigure.H_ALIGN, TextFigure.V_ALIGN

    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.csstudio.swt.widgets.figures.TextFigure

    horizontalAlignment, runMode, selectable, verticalAlignment

    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
     
    TextInputFigure(boolean runMode)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    fireManualValueChange(String newManualValue)
    Inform all slider listeners, that the manual value has changed.
     
     
     
     
    org.eclipse.draw2d.geometry.Dimension
    getPreferredSize(int wHint, int hHint)
     
     
     
    protected org.eclipse.draw2d.geometry.Rectangle
     
    protected void
     
    void
    setCurrentPath(String currentPath)
     
    void
    setDateTimeFormat(String dateTimeFormat)
     
    void
     
    void
     
    void
     
    void
    setStartPath(String startPath)
     

    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, 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, getParent, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isOpaque, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, 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, 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

    Methods inherited from interface org.eclipse.draw2d.IFigure

    add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, erase, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFont, getForegroundColor, getInsets, getLayoutManager, getLocalBackgroundColor, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getParent, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isOpaque, isRequestFocusEnabled, isShowing, isVisible, paint, remove, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setClippingStrategy, setConstraint, setCursor, setFocusTraversable, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, validate
  • Constructor Details

    • TextInputFigure

      public TextInputFigure()
    • TextInputFigure

      public TextInputFigure(boolean runMode)
  • Method Details

    • layout

      protected void layout()
      Overrides:
      layout in class org.eclipse.draw2d.Figure
    • addManualValueChangeListener

      public void addManualValueChangeListener(IManualStringValueChangeListener listener)
    • fireManualValueChange

      public void fireManualValueChange(String newManualValue)
      Inform all slider listeners, that the manual value has changed.
      Parameters:
      newManualValue - the new manual value
    • getDateTimeFormat

      public String getDateTimeFormat()
      Returns:
      the dateTimeFormat
    • setDateTimeFormat

      public void setDateTimeFormat(String dateTimeFormat)
      Parameters:
      dateTimeFormat - the dateTimeFormat to set
    • getStartPath

      public String getStartPath()
    • getTextArea

      protected org.eclipse.draw2d.geometry.Rectangle getTextArea()
      Overrides:
      getTextArea in class TextFigure
    • setStartPath

      public void setStartPath(String startPath)
      Parameters:
      startPath - the startPath to set
    • getSelectorType

      public TextInputFigure.SelectorType getSelectorType()
      Returns:
      the selectorType
    • setSelectorType

      public void setSelectorType(TextInputFigure.SelectorType selectorType)
      Parameters:
      selectorType - the selectorType to set
    • getFileSource

      public TextInputFigure.FileSource getFileSource()
      Returns:
      the fileSource
    • setFileSource

      public void setFileSource(TextInputFigure.FileSource fileSource)
      Parameters:
      fileSource - the fileSource to set
    • getFileReturnPart

      public TextInputFigure.FileReturnPart getFileReturnPart()
      Returns:
      the fileReturnPart
    • getPreferredSize

      public org.eclipse.draw2d.geometry.Dimension getPreferredSize(int wHint, int hHint)
      Specified by:
      getPreferredSize in interface org.eclipse.draw2d.IFigure
      Overrides:
      getPreferredSize in class TextFigure
    • setFileReturnPart

      public void setFileReturnPart(TextInputFigure.FileReturnPart fileReturnPart)
      Parameters:
      fileReturnPart - the fileReturnPart to set
    • getCurrentPath

      public String getCurrentPath()
    • setCurrentPath

      public void setCurrentPath(String currentPath)