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.
-
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
-
Constructor Details
-
DoubleInputText
public DoubleInputText(org.eclipse.swt.widgets.Composite parent, int style) -
DoubleInputText
public DoubleInputText(org.eclipse.swt.widgets.Composite parent, int style, double max, double min)
-
-
Method Details
-
getRange
- Returns:
- the range
-
setRange
- Parameters:
range
- the range to set. null for no range check.
-
getText
public org.eclipse.swt.widgets.Text getText()- Returns:
- the text
-
getDoubleValue
public double getDoubleValue()
-