Class DoubleInputText
- java.lang.Object
-
- org.eclipse.nebula.visualization.internal.xygraph.toolbar.DoubleInputText
-
public class DoubleInputText extends java.lang.Object
A SWT text which only allow double input. It also has the possibility for range check.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
previousText
private Range
range
private org.eclipse.swt.widgets.Text
text
-
Constructor Summary
Constructors Constructor Description DoubleInputText(org.eclipse.swt.widgets.Composite parent, int style)
DoubleInputText(org.eclipse.swt.widgets.Composite parent, int style, double max, double min)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getDoubleValue()
Range
getRange()
org.eclipse.swt.widgets.Text
getText()
void
setRange(Range range)
-
-
-
Field Detail
-
text
private org.eclipse.swt.widgets.Text text
-
previousText
private java.lang.String previousText
-
range
private Range range
-
-