- All Known Implementing Classes:
Accordion
,Button
,ButtonBar
,ButtonBase
,Cell
,CheckBox
,CheckBoxListCell
,CheckBoxTableCell
,CheckBoxTreeCell
,CheckBoxTreeTableCell
,ChoiceBox
,ChoiceBoxListCell
,ChoiceBoxTableCell
,ChoiceBoxTreeCell
,ChoiceBoxTreeTableCell
,ColorPicker
,ComboBox
,ComboBoxBase
,ComboBoxListCell
,ComboBoxTableCell
,ComboBoxTreeCell
,ComboBoxTreeTableCell
,ContextMenu
,Control
,DateCell
,DatePicker
,HTMLEditor
,Hyperlink
,IndexedCell
,Label
,Labeled
,ListCell
,ListView
,MenuBar
,MenuButton
,Pagination
,PasswordField
,PopupControl
,ProgressBar
,ProgressBarTableCell
,ProgressBarTreeTableCell
,ProgressIndicator
,RadioButton
,ScrollBar
,ScrollPane
,Separator
,Slider
,Spinner
,SplitMenuButton
,SplitPane
,TableCell
,TableRow
,TableView
,TabPane
,TextArea
,TextField
,TextFieldListCell
,TextFieldTableCell
,TextFieldTreeCell
,TextFieldTreeTableCell
,TextInputControl
,TitledPane
,ToggleButton
,ToolBar
,Tooltip
,TreeCell
,TreeTableCell
,TreeTableRow
,TreeTableView
,TreeView
The Skinnable interface is implemented by the Control
class,
and therefore is implemented by all Control implementations.
- Since:
- JavaFX 2.0
-
Property Summary
TypePropertyDescriptionObjectProperty<Skin<?>>
TheSkin
responsible for rendering thisSkinnable
. -
Method Summary
Modifier and TypeMethodDescriptionSkin<?>
getSkin()
Gets the value of theskin
property.void
Sets the value of theskin
property.ObjectProperty<Skin<?>>
TheSkin
responsible for rendering thisSkinnable
.
-
Property Details
-
skin
ObjectProperty<Skin<?>> skinPropertyTheSkin
responsible for rendering thisSkinnable
. From the perspective of theSkinnable
, theSkin
is a black box. It listens and responds to changes in state of itsSkinnable
.Some implementations of
Skinnable
define a one-to-one relationship betweenSkinnable
and itsSkin
. EverySkin
maintains a back reference to theSkinnable
. When required, this relationship is enforced when theSkin
is set, throwing anIllegalArgumentException
if the return value ofSkin.getSkinnable()
is not the same as thisSkinnable
.A skin may be null.
- See Also:
-
-
Method Details
-
skinProperty
ObjectProperty<Skin<?>> skinProperty()TheSkin
responsible for rendering thisSkinnable
. From the perspective of theSkinnable
, theSkin
is a black box. It listens and responds to changes in state of itsSkinnable
.Some implementations of
Skinnable
define a one-to-one relationship betweenSkinnable
and itsSkin
. EverySkin
maintains a back reference to theSkinnable
. When required, this relationship is enforced when theSkin
is set, throwing anIllegalArgumentException
if the return value ofSkin.getSkinnable()
is not the same as thisSkinnable
.A skin may be null.
- Returns:
- the skin property for this Skinnable
- See Also:
-
setSkin
Sets the value of theskin
property.- Property description:
- The
Skin
responsible for rendering thisSkinnable
. From the perspective of theSkinnable
, theSkin
is a black box. It listens and responds to changes in state of itsSkinnable
.Some implementations of
Skinnable
define a one-to-one relationship betweenSkinnable
and itsSkin
. EverySkin
maintains a back reference to theSkinnable
. When required, this relationship is enforced when theSkin
is set, throwing anIllegalArgumentException
if the return value ofSkin.getSkinnable()
is not the same as thisSkinnable
.A skin may be null.
- Parameters:
value
- the value for theskin
property- See Also:
-
getSkin
Skin<?> getSkin()Gets the value of theskin
property.- Property description:
- The
Skin
responsible for rendering thisSkinnable
. From the perspective of theSkinnable
, theSkin
is a black box. It listens and responds to changes in state of itsSkinnable
.Some implementations of
Skinnable
define a one-to-one relationship betweenSkinnable
and itsSkin
. EverySkin
maintains a back reference to theSkinnable
. When required, this relationship is enforced when theSkin
is set, throwing anIllegalArgumentException
if the return value ofSkin.getSkinnable()
is not the same as thisSkinnable
.A skin may be null.
- Returns:
- the value of the
skin
property - See Also:
-