Class Menus

java.lang.Object
madkit.gui.Menus

public class Menus extends Object
Utility class to create menus with default actions for a given agent.
Since:
MaDKit 6.0
  • Method Details

    • createMenuBarFor

      public static MenuBar createMenuBarFor(Agent agent)
      Creates a menu bar for the given agent.
      Parameters:
      agent - the agent for which to create the menu bar
      Returns:
      a menu bar containing the default actions for the agent