/* * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javafx.scene.control; import javafx.beans.property.ObjectProperty; /** *

* The Skinnable interface is implemented by the {@link Control} class, * and therefore is implemented by all Control implementations. *

* @since JavaFX 2.0 */ public interface Skinnable { /** * Skin is responsible for rendering this {@code Control}. From the * perspective of the {@code Control}, the {@code Skin} is a black box. * It listens and responds to changes in state in a {@code Control}. *

* There is a one-to-one relationship between a {@code Control} and its * {@code Skin}. Every {@code Skin} maintains a back reference to the * {@code Control}. *

* A skin may be null. * */ public ObjectProperty> skinProperty(); /** * Sets the skin that will render this {@link Control} */ public void setSkin(Skin value); /** * Returns the skin that renders this {@link Control} */ public Skin getSkin(); }