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

com.netopyr.reduxfx.fontawesomefx.FontAwesomeFX Maven / Gradle / Ivy

The newest version!
package com.netopyr.reduxfx.fontawesomefx;

import com.netopyr.reduxfx.fontawesomefx.builders.EmojiOneViewBuilder;
import com.netopyr.reduxfx.fontawesomefx.builders.FontAwesomeIconViewBuilder;
import com.netopyr.reduxfx.fontawesomefx.builders.Icons525ViewBuilder;
import com.netopyr.reduxfx.fontawesomefx.builders.MaterialDesignIconViewBuilder;
import com.netopyr.reduxfx.fontawesomefx.builders.MaterialIconViewBuilder;
import com.netopyr.reduxfx.fontawesomefx.builders.MaterialStackIconViewBuilder;
import com.netopyr.reduxfx.fontawesomefx.builders.OctIconViewBuilder;
import com.netopyr.reduxfx.fontawesomefx.builders.WeatherIconViewBuilder;
import com.netopyr.reduxfx.vscenegraph.builders.Factory;
import de.jensd.fx.glyphs.emojione.EmojiOneView;
import de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView;
import de.jensd.fx.glyphs.icons525.Icons525View;
import de.jensd.fx.glyphs.materialdesignicons.MaterialDesignIconView;
import de.jensd.fx.glyphs.materialicons.MaterialIconView;
import de.jensd.fx.glyphs.materialstackicons.MaterialStackIconView;
import de.jensd.fx.glyphs.octicons.OctIconView;
import de.jensd.fx.glyphs.weathericons.WeatherIconView;
import io.vavr.collection.HashMap;

@SuppressWarnings({"unused", "WeakerAccess"})
public class FontAwesomeFX {

    private FontAwesomeFX() {}

    public static > FontAwesomeIconViewBuilder FontAwesomeIconView(Class nodeClass) {
        return Factory.node(nodeClass, () -> new FontAwesomeIconViewBuilder<>(nodeClass, HashMap.empty(), HashMap.empty(), HashMap.empty(), HashMap.empty()));
    }
    public static > FontAwesomeIconViewBuilder FontAwesomeIconView() {
        return FontAwesomeIconView(FontAwesomeIconView.class);
    }


    public static > EmojiOneViewBuilder EmojiOneView(Class nodeClass) {
        return Factory.node(nodeClass, () -> new EmojiOneViewBuilder<>(nodeClass, HashMap.empty(), HashMap.empty(), HashMap.empty(), HashMap.empty()));
    }
    public static > EmojiOneViewBuilder EmojiOneView() {
        return EmojiOneView(EmojiOneView.class);
    }


    public static > Icons525ViewBuilder Icons525View(Class nodeClass) {
        return Factory.node(nodeClass, () -> new Icons525ViewBuilder<>(nodeClass, HashMap.empty(), HashMap.empty(), HashMap.empty(), HashMap.empty()));
    }
    public static > Icons525ViewBuilder Icons525View() {
        return Icons525View(Icons525View.class);
    }


    public static > MaterialDesignIconViewBuilder MaterialDesignIconView(Class nodeClass) {
        return Factory.node(nodeClass, () -> new MaterialDesignIconViewBuilder<>(nodeClass, HashMap.empty(), HashMap.empty(), HashMap.empty(), HashMap.empty()));
    }
    public static > MaterialDesignIconViewBuilder MaterialDesignIconView() {
        return MaterialDesignIconView(MaterialDesignIconView.class);
    }


    public static > MaterialIconViewBuilder MaterialIconView(Class nodeClass) {
        return Factory.node(nodeClass, () -> new MaterialIconViewBuilder<>(nodeClass, HashMap.empty(), HashMap.empty(), HashMap.empty(), HashMap.empty()));
    }
    public static > MaterialIconViewBuilder MaterialIconView() {
        return MaterialIconView(MaterialIconView.class);
    }


    public static > MaterialStackIconViewBuilder MaterialStackIconView(Class nodeClass) {
        return Factory.node(nodeClass, () -> new MaterialStackIconViewBuilder<>(nodeClass, HashMap.empty(), HashMap.empty(), HashMap.empty(), HashMap.empty()));
    }
    public static > MaterialStackIconViewBuilder MaterialStackIconView() {
        return MaterialStackIconView(MaterialStackIconView.class);
    }


    public static > OctIconViewBuilder OctIconView(Class nodeClass) {
        return Factory.node(nodeClass, () -> new OctIconViewBuilder<>(nodeClass, HashMap.empty(), HashMap.empty(), HashMap.empty(), HashMap.empty()));
    }
    public static > OctIconViewBuilder OctIconView() {
        return OctIconView(OctIconView.class);
    }


    public static > WeatherIconViewBuilder WeatherIconView(Class nodeClass) {
        return Factory.node(nodeClass, () -> new WeatherIconViewBuilder<>(nodeClass, HashMap.empty(), HashMap.empty(), HashMap.empty(), HashMap.empty()));
    }
    public static > WeatherIconViewBuilder WeatherIconView() {
        return WeatherIconView(WeatherIconView.class);
    }

}