C - A subtype of Skinnable that the Skin represents. This allows for
Skin implementation to access the Skinnable implementation,
which is usually a Control implementation.public interface Skin<C extends Skinnable>
Skinnable interface.| 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.
|
C |
getSkinnable()
Gets the Skinnable to which this Skin is assigned.
|
C getSkinnable()
dispose().
The caller who constructs a Skinnable must also construct a Skin and properly establish the relationship between the Control and its Skin.
Node getNode()
dispose(), and must never change except when
changing to null.void dispose()
getSkinnable() and getNode()
should return null following a call to dispose. Calling dispose twice
has no effect.Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.