Class PWText
- java.lang.Object
-
- org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
-
- org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWText
-
- Direct Known Subclasses:
PWFloatText,PWIntegerText,PWPasswordText,PWStringText,PWURLText
public abstract class PWText extends PWWidget
This is the abstract class for all text widgets (except textarea)
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.swt.widgets.Texttext-
Fields inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
enabler, numberOfColumns
-
-
Constructor Summary
Constructors Constructor Description PWText(java.lang.String label, java.lang.String propertyKey)Constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidaddVerifyListeners()Add the verify listenersorg.eclipse.swt.widgets.Controlbuild(org.eclipse.swt.widgets.Composite parent)Build the widgetabstract java.lang.ObjectconvertValue()abstract intgetStyle()-
Methods inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
addControl, buildLabel, check, checkAndBuild, enableOrDisable, getAlignment, getControls, getHeight, getIndent, getLabel, getNumberOfColumns, getPropertyKey, getWidth, isGrabExcessSpace, isSingleWidget, setAlignment, setEnabler, setGrabExcessSpace, setHeight, setIndent, setWidth
-
-
-
-
Method Detail
-
build
public org.eclipse.swt.widgets.Control build(org.eclipse.swt.widgets.Composite parent)
Description copied from class:PWWidgetBuild the widget- Specified by:
buildin classPWWidget- Parameters:
parent- parent composite- Returns:
- the created control
- See Also:
PWWidget.build(org.eclipse.swt.widgets.Composite)
-
addVerifyListeners
public abstract void addVerifyListeners()
Add the verify listeners
-
convertValue
public abstract java.lang.Object convertValue()
- Returns:
- the value of the data typed by the user in the correct format
-
getStyle
public abstract int getStyle()
- Returns:
- the style (SWT.NONE or SWT.PASSWORD)
-
-