public class TooltipSkin extends java.lang.Object implements Skin<Tooltip>
Modifier and Type | Field and Description |
---|---|
private Label |
tipLabel |
private Tooltip |
tooltip |
Constructor and Description |
---|
TooltipSkin(Tooltip t) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Called by a Skinnable when the Skin is replaced on the Skinnable.
|
Node |
getNode()
Gets the Node which represents this Skin.
|
Tooltip |
getSkinnable()
Gets the Skinnable to which this Skin is assigned.
|
public TooltipSkin(Tooltip t)
public Tooltip 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<Tooltip>
public Node getNode()
Skin
Skin.dispose()
, and must never change except when
changing to null.public void dispose()
Skin
Skin.getSkinnable()
and Skin.getNode()
should return null following a call to dispose. Calling dispose twice
has no effect.