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,Tooltip
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
Properties -
Method Summary
-
Property Details
-
skin
ObjectProperty<Skin<?>> skinPropertySkin is responsible for rendering thisControl. From the perspective of theControl, theSkinis a black box. It listens and responds to changes in state in aControl.There is a one-to-one relationship between a
Controland itsSkin. EverySkinmaintains 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, theSkinis a black box. It listens and responds to changes in state in aControl.There is a one-to-one relationship between a
Controland itsSkin. EverySkinmaintains a back reference to theControl.A skin may be null.
- Returns:
- the
skinproperty - See Also:
-
setSkin
Sets the skin that will render thisControl -
getSkin
Skin<?> getSkin()Returns the skin that renders thisControl
-