| 1 |
package de.jensd.fx.glyphs.materialstackicons; |
| 2 |
|
| 3 |
import de.jensd.fx.glyphs.GlyphStackIcons; |
| 4 |
import de.jensd.fx.glyphs.materialicons.MaterialIcon; |
| 5 |
|
| 6 |
public enum MaterialStackIcons implements GlyphStackIcons<MaterialIcon> { |
| 7 |
|
| 8 |
FLASH_NOT_ALLOWED(MaterialIcon.BRIGHTNESS_1, MaterialIcon.FLASH_ON, MaterialIcon.BLOCK), |
| 9 |
MUSIC_NOT_ALLOWED(MaterialIcon.BRIGHTNESS_1, MaterialIcon.AUDIOTRACK, MaterialIcon.BLOCK), |
| 10 |
CAR_NOT_ALLOWED(MaterialIcon.BRIGHTNESS_1, MaterialIcon.DIRECTIONS_CAR, MaterialIcon.BLOCK), |
| 11 |
LIGHT(MaterialIcon.CHECK_BOX_OUTLINE_BLANK, MaterialIcon.WB_INCANDESCENT), |
| 12 |
WC(MaterialIcon.BRIGHTNESS_1, MaterialIcon.WC); |
| 13 |
|
| 14 |
private final MaterialIcon[] materialIcons; |
| 15 |
|
| 16 |
MaterialStackIcons(MaterialIcon... materialIcons) { |
| 17 |
this.materialIcons = materialIcons; |
| 18 |
} |
| 19 |
|
| 20 |
@Override |
| 21 |
public MaterialIcon[] getGlyphs() { |
| 22 |
return materialIcons; |
| 23 |
} |
| 24 |
|
| 25 |
} |