Class NeoKeyMenu.MenuItem

    • Constructor Detail

      • NeoKeyMenu.MenuItem

        NeoKeyMenu.MenuItem(String name, String abbrev, Image icon, Color buttonColor, Function0<Unit> action)
        Parameters:
        name - the name of the menu item
        abbrev - an optional abbreviation for the menu item
        icon - an optional icon for the menu item
        buttonColor - the color to use for the button (default GREEN)
        action - the action to take when the button is pressed