APIdia Launch Partner
Top Fields Constructors Methods
com.sun.javafx.scene.control

public Class DoubleField

extends InputField
Class Inheritance
Imports
javafx.beans.property.DoubleProperty, .SimpleDoubleProperty, javafx.scene.control.Skin, com.sun.javafx.scene.control.skin.DoubleFieldSkin

Field Summary

Modifier and TypeField and Description
private DoubleProperty
value

The value of the DoubleField.

Inherited from com.sun.javafx.scene.control.InputField:
DEFAULT_PREF_COLUMN_COUNT

Constructor Summary

AccessConstructor and Description
public
DoubleField()

Creates a new DoubleField.

Method Summary

Modifier and TypeMethod and Description
protected Skin<?>
createDefaultSkin()

Overrides javafx.scene.control.Control.createDefaultSkin.

Create a new instance of the default skin for this control.

public final double
public final void
setValue(double value)

public final DoubleProperty
Inherited from com.sun.javafx.scene.control.InputField:
editablePropertygetOnActiongetPrefColumnCountgetPromptTextisEditableonActionPropertyprefColumnCountPropertypromptTextPropertysetEditablesetOnActionsetPrefColumnCountsetPromptText

Field Detail

valueback to summary
private DoubleProperty value

The value of the DoubleField. If null, the value will be treated as "0", but will still actually be null.

Constructor Detail

DoubleFieldback to summary
public DoubleField()

Creates a new DoubleField. The style class is set to "money-field".

Method Detail

createDefaultSkinback to summary
protected Skin<?> createDefaultSkin()

Overrides javafx.scene.control.Control.createDefaultSkin.

Doc from javafx.scene.control.Control.createDefaultSkin.

Create a new instance of the default skin for this control. This is called to create a skin for the control if no skin is provided via CSS -fx-skin or set explicitly in a sub-class with setSkin(...).

Annotations
@Override
getValueback to summary
public final double getValue()
setValueback to summary
public final void setValue(double value)
valuePropertyback to summary
public final DoubleProperty valueProperty()