Package crackers.kobots.parts.app.io
Class NeoKeyMenu.MenuItem
-
- All Implemented Interfaces:
public class NeoKeyMenu.MenuItem
Describes a menu item.
-
-
Method Summary
-
-
Constructor Detail
-
NeoKeyMenu.MenuItem
NeoKeyMenu.MenuItem(String name, String abbrev, Image icon, Color buttonColor, Function0<Unit> action)
- Parameters:
name
- the name of the menu itemabbrev
- an optional abbreviation for the menu itemicon
- an optional icon for the menu itembuttonColor
- the color to use for the button (default GREEN)action
- the action to take when the button is pressed
-
-
-
-