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

public Class WebColorField

extends InputField
Class Inheritance
Imports
com.sun.javafx.scene.control.skin.WebColorFieldSkin, javafx.beans.property.ObjectProperty, .SimpleObjectProperty, javafx.scene.control.Skin, javafx.scene.paint.Color

Field Summary

Modifier and TypeField and Description
private ObjectProperty<Color>
value

The value of the WebColorField.

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

Constructor Summary

AccessConstructor and Description
public
WebColorField()

Creates a new WebColorField.

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 Color
public final void
setValue(Color value)

public final ObjectProperty<Color>
Inherited from com.sun.javafx.scene.control.InputField:
editablePropertygetOnActiongetPrefColumnCountgetPromptTextisEditableonActionPropertyprefColumnCountPropertypromptTextPropertysetEditablesetOnActionsetPrefColumnCountsetPromptText

Field Detail

valueback to summary
private ObjectProperty<Color> value

The value of the WebColorField. If null, the value will be treated as "#000000" black, but will still actually be null.

Constructor Detail

WebColorFieldback to summary
public WebColorField()

Creates a new WebColorField. The style class is set to "webcolor-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 Color getValue()
setValueback to summary
public final void setValue(Color value)
valuePropertyback to summary
public final ObjectProperty<Color> valueProperty()