create JavaFX CSS Meta Data - Java JavaFX

Java examples for JavaFX:CSS

Description

create JavaFX CSS Meta Data

Demo Code


import javafx.css.*;
import javafx.scene.control.Control;
import javafx.scene.control.SkinBase;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public class Main{
    public static <S extends Styleable, V> DefaultPropertyBasedCssMetaData<S, V> createMetaData(
            String property, StyleConverter<?, V> converter,
            String propertyName, V defaultValue) {
        return new DefaultPropertyBasedCssMetaData<S, V>(property,
                converter, propertyName, defaultValue);
    }/* w  w w .j ava 2  s .  co m*/
}

Related Tutorials