Package org.csstudio.swt.widgets.figures
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic enumNested classes/interfaces inherited from class org.csstudio.swt.widgets.figures.TextFigure
TextFigure.H_ALIGN, TextFigure.V_ALIGNNested classes/interfaces inherited from class org.eclipse.draw2d.Figure
org.eclipse.draw2d.Figure.FigureIterator, org.eclipse.draw2d.Figure.IdentitySearch, org.eclipse.draw2d.Figure.ReverseFigureChildrenIteratorNested 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, verticalAlignmentFields inherited from class org.eclipse.draw2d.Figure
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTipFields inherited from interface org.eclipse.draw2d.IFigure
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidfireManualValueChange(String newManualValue) Inform all slider listeners, that the manual value has changed.org.eclipse.draw2d.geometry.DimensiongetPreferredSize(int wHint, int hHint) protected org.eclipse.draw2d.geometry.Rectangleprotected voidlayout()voidsetCurrentPath(String currentPath) voidsetDateTimeFormat(String dateTimeFormat) voidsetFileReturnPart(TextInputFigure.FileReturnPart fileReturnPart) voidsetFileSource(TextInputFigure.FileSource fileSource) voidsetSelectorType(TextInputFigure.SelectorType selectorType) voidsetStartPath(String startPath) Methods inherited from class org.csstudio.swt.widgets.figures.TextFigure
calculateTextLocation, calculateTextSize, clearLocationSize, containsPoint, getAutoSizeDimension, getBeanInfo, getHorizontalAlignment, getMinimumSize, getRotate, getText, getTextLocation, getTextSize, getVerticalAlignment, invalidate, isRunMode, isSelectable, paintFigure, setEnabled, setFont, setFontPixels, setHorizontalAlignment, setRotate, setRunMode, setSelectable, setText, setVerticalAlignmentMethods 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, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
layoutin classorg.eclipse.draw2d.Figure
-
addManualValueChangeListener
-
fireManualValueChange
Inform all slider listeners, that the manual value has changed.- Parameters:
newManualValue- the new manual value
-
getDateTimeFormat
- Returns:
- the dateTimeFormat
-
setDateTimeFormat
- Parameters:
dateTimeFormat- the dateTimeFormat to set
-
getStartPath
-
getTextArea
protected org.eclipse.draw2d.geometry.Rectangle getTextArea()- Overrides:
getTextAreain classTextFigure
-
setStartPath
- Parameters:
startPath- the startPath to set
-
getSelectorType
- Returns:
- the selectorType
-
setSelectorType
- Parameters:
selectorType- the selectorType to set
-
getFileSource
- Returns:
- the fileSource
-
setFileSource
- Parameters:
fileSource- the fileSource to set
-
getFileReturnPart
- Returns:
- the fileReturnPart
-
getPreferredSize
public org.eclipse.draw2d.geometry.Dimension getPreferredSize(int wHint, int hHint) - Specified by:
getPreferredSizein interfaceorg.eclipse.draw2d.IFigure- Overrides:
getPreferredSizein classTextFigure
-
setFileReturnPart
- Parameters:
fileReturnPart- the fileReturnPart to set
-
getCurrentPath
-
setCurrentPath
-