|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.preference.FieldEditor
org.eclipse.jface.preference.StringFieldEditor
de.cau.cs.kieler.core.ui.util.DoubleFieldEditor
public class DoubleFieldEditor
Field editor for input of double values.
Field Summary |
---|
Fields inherited from class org.eclipse.jface.preference.StringFieldEditor |
---|
oldValue, UNLIMITED, VALIDATE_ON_FOCUS_LOST, VALIDATE_ON_KEY_STROKE |
Fields inherited from class org.eclipse.jface.preference.FieldEditor |
---|
HORIZONTAL_GAP, IS_VALID, VALUE |
Constructor Summary | |
---|---|
DoubleFieldEditor(String name,
String labelText,
Composite parent)
Creates a new Double Field Editor. |
Method Summary | |
---|---|
protected boolean |
checkState()
|
protected void |
doLoad()
|
protected void |
doLoadDefault()
|
protected void |
doStore()
|
double |
getDoubleValue()
Returns this field editor's current value as an integer. |
void |
setValidRange(double thelowerBound,
double theupperBound)
Sets the range of valid values for this field. |
Methods inherited from class org.eclipse.jface.preference.StringFieldEditor |
---|
adjustForNumColumns, doCheckState, doFillIntoGrid, getErrorMessage, getNumberOfControls, getStringValue, getTextControl, getTextControl, isEmptyStringAllowed, isValid, refreshValidState, setEmptyStringAllowed, setEnabled, setErrorMessage, setFocus, setStringValue, setTextLimit, setValidateStrategy, showErrorMessage, valueChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DoubleFieldEditor(String name, String labelText, Composite parent)
name
- the name of the preference this field editor works onlabelText
- the label text of the field editorparent
- the parent of the field editor's controlMethod Detail |
---|
public void setValidRange(double thelowerBound, double theupperBound)
thelowerBound
- the minimum allowed value (inclusive)theupperBound
- the maximum allowed value (inclusive)protected boolean checkState()
checkState
in class StringFieldEditor
protected void doLoad()
doLoad
in class StringFieldEditor
protected void doLoadDefault()
doLoadDefault
in class StringFieldEditor
protected void doStore()
doStore
in class StringFieldEditor
public double getDoubleValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |