Modifier and Type | Field and Description |
---|---|
protected com.sun.javafx.scene.control.skin.InputField |
control
The
Control that is referencing this Skin. |
Constructor and Description |
---|
IntegerFieldSkin(com.sun.javafx.scene.control.skin.IntegerField control)
Create a new IntegerFieldSkin.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
accept(String text) |
void |
dispose()
Called by a Skinnable when the Skin is replaced on the Skinnable.
|
Node |
getNode()
Gets the Node which represents this Skin.
|
com.sun.javafx.scene.control.skin.IntegerField |
getSkinnable()
Gets the Skinnable to which this Skin is assigned.
|
protected TextField |
getTextField() |
protected void |
updateText() |
protected void |
updateValue() |
protected com.sun.javafx.scene.control.skin.InputField control
Control
that is referencing this Skin. There is a
one-to-one relationship between a Skin
and a Control
.
When a Skin
is set on a Control
, this variable is
automatically updated.public IntegerFieldSkin(com.sun.javafx.scene.control.skin.IntegerField control)
control
- The IntegerFieldpublic com.sun.javafx.scene.control.skin.IntegerField getSkinnable()
Skin
Skin.dispose()
.
The caller who constructs a Skinnable must also construct a Skin and properly establish the relationship between the Control and its Skin.
getSkinnable
in interface Skin<com.sun.javafx.scene.control.skin.InputField>
public Node getNode()
Skin
Skin.dispose()
, and must never change except when
changing to null.public void dispose()
getSkinnable()
and getNode()
should return null following a call to dispose. Calling dispose twice
has no effect.protected boolean accept(String text)
protected void updateText()
protected void updateValue()
protected TextField getTextField()
Copyright © 2020. All rights reserved.