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

de.jensd.fx.glyphs.materialstackicons.MaterialStackIconView Maven / Gradle / Ivy

The newest version!
package de.jensd.fx.glyphs.materialstackicons;

import de.jensd.fx.glyphs.GlyphStackIcon;
import de.jensd.fx.glyphs.materialicons.MaterialIcon;
import de.jensd.fx.glyphs.materialicons.MaterialIconView;

public class MaterialStackIconView extends GlyphStackIcon {

    public MaterialStackIconView() {
    }

    public MaterialStackIconView(MaterialStackIcons materialStackIcons) {
        super(materialStackIcons);
    }

    public MaterialStackIconView(MaterialStackIcons materialStackIcons, double size) {
        super(materialStackIcons, size);
    }

    @Override
    public MaterialStackIcons getDefaultGlyph() {
        return MaterialStackIcons.FLASH_NOT_ALLOWED;
    }

    @Override
    protected MaterialIconView getGlyph(MaterialIcon glyphIcons, double size) {
        MaterialIconView materialIconView = new MaterialIconView(MaterialIcon.class.cast(glyphIcons));
        materialIconView.setGlyphSize(size);
        return materialIconView;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy