class WebColorFieldSkin extends InputFieldSkin
Modifier and Type | Field and Description |
---|---|
private InvalidationListener |
integerFieldValueListener |
private boolean |
noChangeInValue |
control
Constructor and Description |
---|
WebColorFieldSkin(WebColorField control)
Create a new WebColorFieldSkin.
|
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.
|
WebColorField |
getSkinnable()
Gets the Skinnable to which this Skin is assigned.
|
protected void |
updateText() |
protected void |
updateValue() |
getTextField
private InvalidationListener integerFieldValueListener
private boolean noChangeInValue
public WebColorFieldSkin(WebColorField control)
control
- The WebColorFieldpublic WebColorField 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