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.Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.