Class PWFloatText
java.lang.Object
org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWText
org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWFloatText
public class PWFloatText extends PWText
Instances of this class are text box to type floats
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
enabler, numberOfColumns
-
Constructor Summary
Constructors Constructor Description PWFloatText(java.lang.String label, java.lang.String propertyKey)
Constructor -
Method Summary
Modifier and Type Method Description void
addVerifyListeners()
Add the verify listenersvoid
check()
Check if the property can be binded to the widgetjava.lang.Object
convertValue()
int
getStyle()
Methods inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
addControl, buildLabel, checkAndBuild, enableOrDisable, getAlignment, getControls, getHeight, getIndent, getLabel, getNumberOfColumns, getPropertyKey, getWidth, isGrabExcessSpace, isSingleWidget, setAlignment, setEnabler, setGrabExcessSpace, setHeight, setIndent, setWidth
-
Constructor Details
-
PWFloatText
public PWFloatText(java.lang.String label, java.lang.String propertyKey)Constructor- Parameters:
label
- associated labelpropertyKey
- associated key
-
-
Method Details
-
addVerifyListeners
public void addVerifyListeners()Description copied from class:PWText
Add the verify listeners- Specified by:
addVerifyListeners
in classPWText
-
check
public void check()Description copied from class:PWWidget
Check if the property can be binded to the widget -
convertValue
public java.lang.Object convertValue()- Specified by:
convertValue
in classPWText
- Returns:
- the value of the data typed by the user in the correct format
-
getStyle
public int getStyle()
-