Class PTIntegerEditor
java.lang.Object
org.eclipse.nebula.widgets.opal.propertytable.editor.PTEditor
org.eclipse.nebula.widgets.opal.propertytable.editor.PTBaseTextEditor
org.eclipse.nebula.widgets.opal.propertytable.editor.PTIntegerEditor
public class PTIntegerEditor extends PTBaseTextEditor
This editor is used to edit integer values
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.opal.propertytable.editor.PTBaseTextEditor
text
-
Constructor Summary
Constructors Constructor Description PTIntegerEditor()
-
Method Summary
Modifier and Type Method Description void
addVerifyListeners()
Add the verify listenersjava.lang.Object
convertValue()
int
getStyle()
Methods inherited from class org.eclipse.nebula.widgets.opal.propertytable.editor.PTBaseTextEditor
render
-
Constructor Details
-
PTIntegerEditor
public PTIntegerEditor()
-
-
Method Details
-
addVerifyListeners
public void addVerifyListeners()Description copied from class:PTBaseTextEditor
Add the verify listeners- Specified by:
addVerifyListeners
in classPTBaseTextEditor
- See Also:
PTBaseTextEditor.addVerifyListeners()
-
convertValue
public java.lang.Object convertValue()- Specified by:
convertValue
in classPTBaseTextEditor
- Returns:
- the value of the data typed by the user in the correct format
- See Also:
PTBaseTextEditor.convertValue()
-
getStyle
public int getStyle()- Specified by:
getStyle
in classPTBaseTextEditor
- Returns:
- the style (SWT.NONE or SWT.PASSWORD)
- See Also:
PTBaseTextEditor.getStyle()
-