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
- Parameters:
-
name | the name of the preference this field editor works on |
labelText | the label text of the field editor |
parent | the parent of the field editor's control |
- Parameters:
-
name | the name of the preference this field editor works on |
labelText | the label text of the field editor |
parent | the parent of the field editor's control |
textLimit | the 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:
-
NumberFormatException | if the String does not contain a parsable double |
void setValidRange |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
- Parameters:
-
min | the minimum allowed value (inclusive) |
max | the maximum allowed value (inclusive) |
The documentation for this class was generated from the following file: