com.netopyr.reduxfx.fontawesomefx.FontAwesomeFX Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of reduxfx-fontawesomefx Show documentation
Show all versions of reduxfx-fontawesomefx Show documentation
ReduxFX builders for FontAwesomeFX nodes
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 extends FontAwesomeIconView> 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 extends EmojiOneView> 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 extends Icons525View> 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 extends MaterialDesignIconView> 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 extends MaterialIconView> 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 extends MaterialStackIconView> 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 extends OctIconView> 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 extends WeatherIconView> nodeClass) {
return Factory.node(nodeClass, () -> new WeatherIconViewBuilder<>(nodeClass, HashMap.empty(), HashMap.empty(), HashMap.empty(), HashMap.empty()));
}
public static > WeatherIconViewBuilder WeatherIconView() {
return WeatherIconView(WeatherIconView.class);
}
}