Top Description Methods
javafx.scene.control

public Interface Skinnable

Known Direct Implementers
javafx.scene.control.Control, javafx.scene.control.PopupControl
Imports
javafx.beans.property.ObjectProperty

The Skinnable interface is implemented by the Control class, and therefore is implemented by all Control implementations.

Since
JavaFX 2.0

Method Summary

Modifier and TypeMethod and Description
public Skin<?>
public void
setSkin(Skin<?> value)

public ObjectProperty<Skin<?>>

Returns:

the skin property for this Skinnable
skinProperty
()

The Skin responsible for rendering this Skinnable.

Method Detail

getSkinback to summary
public Skin<?> getSkin()
Annotations
@SuppressWarnings:doclint:missing
setSkinback to summary
public void setSkin(Skin<?> value)
Annotations
@SuppressWarnings:doclint:missing
skinPropertyback to summary
public ObjectProperty<Skin<?>> skinProperty()

The Skin responsible for rendering this Skinnable. From the perspective of the Skinnable, the Skin is a black box. It listens and responds to changes in state of its Skinnable.

Some implementations of Skinnable define a one-to-one relationship between Skinnable and its Skin. Every Skin maintains a back reference to the Skinnable. When required, this relationship is enforced when the Skin is set, throwing an IllegalArgumentException if the return value of Skin#getSkinnable() is not the same as this Skinnable.

A skin may be null.

Returns:ObjectProperty<Skin<?>>

the skin property for this Skinnable