All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fxmisc.wellbehaved.skin.SimpleVisualBase Maven / Gradle / Ivy

There is a newer version: 1.11
Show newest version
package org.fxmisc.wellbehaved.skin;

import javafx.scene.Node;
import javafx.scene.control.Control;

/**
 * A Visual that is represented by a single node.
 *
 * @deprecated Since 0.3. We have come to believe that skins, as designed in
 * JavaFX, are not very useful and not worth the trouble. Package
 * {@link org.fxmisc.wellbehaved.skin} will be removed in a future version.
 */
@Deprecated
public abstract class SimpleVisualBase extends VisualBase {

    public SimpleVisualBase(C control) {
        super(control);
    }

    /**
     * Returns the node representing the visual rendering of the control. This
     * node will be attached to the control as its child on skin creation and
     * removed from the control on skin disposal.
     */
    public abstract Node getNode();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy