public class DoubleFieldSkin extends InputFieldSkin
Modifier and Type | Field and Description |
---|---|
private InvalidationListener |
doubleFieldValueListener |
control
Constructor and Description |
---|
DoubleFieldSkin(DoubleField control)
Create a new DoubleFieldSkin.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
accept(java.lang.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.
|
DoubleField |
getSkinnable()
Gets the Skinnable to which this Skin is assigned.
|
protected void |
updateText() |
protected void |
updateValue() |
getTextField
private InvalidationListener doubleFieldValueListener
public DoubleFieldSkin(DoubleField control)
control
- The DoubleFieldpublic DoubleField 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<InputField>
getSkinnable
in class InputFieldSkin
public Node getNode()
Skin
Skin.dispose()
, and must never change except when
changing to null.getNode
in interface Skin<InputField>
getNode
in class InputFieldSkin
public void dispose()
getSkinnable()
and getNode()
should return null following a call to dispose. Calling dispose twice
has no effect.dispose
in interface Skin<InputField>
dispose
in class InputFieldSkin
protected boolean accept(java.lang.String text)
accept
in class InputFieldSkin
protected void updateText()
updateText
in class InputFieldSkin
protected void updateValue()
updateValue
in class InputFieldSkin