The Robot Application Programming Interface Delegate Project
RAPID Logo

DoubleFieldEditor Class Reference

Inheritance diagram for DoubleFieldEditor:
Collaboration diagram for DoubleFieldEditor:

List of all members.

Public Member Functions

 DoubleFieldEditor (String name, String labelText, Composite parent)
 Creates a double field editor.
 DoubleFieldEditor (String name, String labelText, Composite parent, int textLimit)
 Creates an double field editor.
void setValidRange (double min, double max)
 Sets the range of valid values for this field.
double getDoubleValue () throws NumberFormatException
 Returns this field editor's current value as double.

Protected Member Functions

 DoubleFieldEditor ()
 Creates a new double field editor.
boolean checkState ()
void doLoad ()
void doLoadDefault ()
void doStore ()

Constructor & Destructor Documentation

DoubleFieldEditor ( ) [protected]
DoubleFieldEditor ( String  name,
String  labelText,
Composite  parent 
)
Parameters:
namethe name of the preference this field editor works on
labelTextthe label text of the field editor
parentthe parent of the field editor's control
DoubleFieldEditor ( String  name,
String  labelText,
Composite  parent,
int  textLimit 
)
Parameters:
namethe name of the preference this field editor works on
labelTextthe label text of the field editor
parentthe parent of the field editor's control
textLimitthe maximum number of characters in the text.

Member Function Documentation

boolean checkState ( ) [protected]
void doLoad ( ) [protected]
void doLoadDefault ( ) [protected]
void doStore ( ) [protected]
double getDoubleValue ( ) throws NumberFormatException
Returns:
the value
Exceptions:
NumberFormatExceptionif the String does not contain a parsable double
void setValidRange ( double  min,
double  max 
)
Parameters:
minthe minimum allowed value (inclusive)
maxthe maximum allowed value (inclusive)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines