Package javafx.scene.control
Interface Skinnable
- All Known Implementing Classes:
Button
,ButtonBar
,ButtonBase
,Cell
,CheckBox
,ChoiceBox
,ComboBoxBase
,ContextMenu
,Control
,DatePicker
,Hyperlink
,Label
,Labeled
,PasswordField
,PopupControl
,ProgressBar
,ProgressIndicator
,RadioButton
,ScrollPane
,Separator
,Slider
,SplitPane
,TabPane
,TextArea
,TextField
,TextInputControl
,TitledPane
,ToggleButton
,ToolkitTextBox
public interface Skinnable
The Skinnable interface is implemented by the Control
class,
and therefore is implemented by all Control implementations.
- Since:
- JavaFX 2.0
-
Property Summary
-
Method Summary
-
Property Details
-
skin
ObjectProperty<Skin<?>> skinPropertySkin is responsible for rendering thisControl
. From the perspective of theControl
, theSkin
is a black box. It listens and responds to changes in state in aControl
.There is a one-to-one relationship between a
Control
and itsSkin
. EverySkin
maintains a back reference to theControl
.A skin may be null.
- See Also:
-
-
Method Details
-
skinProperty
ObjectProperty<Skin<?>> skinProperty()Skin is responsible for rendering thisControl
. From the perspective of theControl
, theSkin
is a black box. It listens and responds to changes in state in aControl
.There is a one-to-one relationship between a
Control
and itsSkin
. EverySkin
maintains a back reference to theControl
.A skin may be null.
- Returns:
- the
skin
property - See Also:
-
setSkin
Sets the skin that will render thisControl
-
getSkin
Skin<?> getSkin()Returns the skin that renders thisControl
-