com.github.athi.athifx.gui.menu.item.Item Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of athi-fx-gui Show documentation
Show all versions of athi-fx-gui Show documentation
AthiFX project for creating JavaFX simple application GUI.
The newest version!
package com.github.athi.athifx.gui.menu.item;
import com.github.athi.athifx.gui.font_awesome.FontAwesome;
import com.github.athi.athifx.gui.menu.group.Group;
/**
* Created by Athi
*/
public interface Item & Group> {
long id();
String caption();
FontAwesome icon();
/**
* @return - returns the menu group in witch the item will be set - can be null
* If the group is null it means that the view wont be added to the menu.
*/
GROUP group();
default String itemId() {
return id() + "_" + caption();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy