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
Modifier and TypeClassDescriptionstatic 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
layout()
void
setCurrentPath
(String currentPath) void
setDateTimeFormat
(String dateTimeFormat) void
setFileReturnPart
(TextInputFigure.FileReturnPart fileReturnPart) void
setFileSource
(TextInputFigure.FileSource fileSource) void
setSelectorType
(TextInputFigure.SelectorType selectorType) void
setStartPath
(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, setVerticalAlignment
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 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:
getTextArea
in 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:
getPreferredSize
in interfaceorg.eclipse.draw2d.IFigure
- Overrides:
getPreferredSize
in classTextFigure
-
setFileReturnPart
- Parameters:
fileReturnPart
- the fileReturnPart to set
-
getCurrentPath
-
setCurrentPath
-