Interface Skinnable
- All Known Implementing Classes:
Accordion, Button, ButtonBar, ButtonBase, Cell, CheckBox, CheckBoxListCell, CheckBoxTableCell, CheckBoxTreeCell, CheckBoxTreeTableCell, ChoiceBox, ChoiceBoxListCell, ChoiceBoxTableCell, ChoiceBoxTreeCell, ChoiceBoxTreeTableCell, CodeArea, 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, RichTextArea, 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
PropertiesTypePropertyDescriptionObjectProperty<Skin<?>> TheSkinresponsible for rendering thisSkinnable. -
Method Summary
Modifier and TypeMethodDescriptionSkin<?> getSkin()Gets the value of theskinproperty.voidSets the value of theskinproperty.ObjectProperty<Skin<?>> TheSkinresponsible for rendering thisSkinnable.
-
Property Details
-
skin
ObjectProperty<Skin<?>> skinPropertyTheSkinresponsible for rendering thisSkinnable. From the perspective of theSkinnable, theSkinis a black box. It listens and responds to changes in state of itsSkinnable.Some implementations of
Skinnabledefine a one-to-one relationship betweenSkinnableand itsSkin. EverySkinmaintains a back reference to theSkinnable. When required, this relationship is enforced when theSkinis set, throwing anIllegalArgumentExceptionif the return value ofSkin.getSkinnable()is not the same as thisSkinnable.A skin may be null.
- See Also:
-
-
Method Details
-
skinProperty
ObjectProperty<Skin<?>> skinProperty()TheSkinresponsible for rendering thisSkinnable. From the perspective of theSkinnable, theSkinis a black box. It listens and responds to changes in state of itsSkinnable.Some implementations of
Skinnabledefine a one-to-one relationship betweenSkinnableand itsSkin. EverySkinmaintains a back reference to theSkinnable. When required, this relationship is enforced when theSkinis set, throwing anIllegalArgumentExceptionif 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 theskinproperty.- Property description:
- The
Skinresponsible for rendering thisSkinnable. From the perspective of theSkinnable, theSkinis a black box. It listens and responds to changes in state of itsSkinnable.Some implementations of
Skinnabledefine a one-to-one relationship betweenSkinnableand itsSkin. EverySkinmaintains a back reference to theSkinnable. When required, this relationship is enforced when theSkinis set, throwing anIllegalArgumentExceptionif the return value ofSkin.getSkinnable()is not the same as thisSkinnable.A skin may be null.
- Parameters:
value- the value for theskinproperty- See Also:
-
getSkin
Skin<?> getSkin()Gets the value of theskinproperty.- Property description:
- The
Skinresponsible for rendering thisSkinnable. From the perspective of theSkinnable, theSkinis a black box. It listens and responds to changes in state of itsSkinnable.Some implementations of
Skinnabledefine a one-to-one relationship betweenSkinnableand itsSkin. EverySkinmaintains a back reference to theSkinnable. When required, this relationship is enforced when theSkinis set, throwing anIllegalArgumentExceptionif the return value ofSkin.getSkinnable()is not the same as thisSkinnable.A skin may be null.
- Returns:
- the value of the
skinproperty - See Also:
-