Class LaunchAgentsMenu

All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, MenuElement, SwingConstants

public class LaunchAgentsMenu extends ClassPathSensitiveMenu
This class builds a JMenu containing all the agents which are on the class path, so that they can be individually launched.
Since:
MaDKit 5.0.0.14
Version:
0.9
Author:
Fabien Michel
See Also:
  • Constructor Details

    • LaunchAgentsMenu

      public LaunchAgentsMenu(AbstractAgent agent)
      Parameters:
      agent -
    • LaunchAgentsMenu

      public LaunchAgentsMenu(AbstractAgent agent, String menuName)
      Builds a new menu containing all the agents available on the class path, except madkit.kernel agents.
      Parameters:
      agent - the agent according to which this menu should be created, i.e. the agent that will be responsible of the launch.
      menuName - the name of the menu
    • LaunchAgentsMenu

      public LaunchAgentsMenu(AbstractAgent agent, String menuName, AgentClassFilter filter)
      Builds a new launching menu containing all the agents available on the class path.
      Parameters:
      agent - the agent according to which this menu should be created, i.e. the agent that will be responsible of the launch.
      menuName - the name of the menu
      filter - help filtering which classes should be included
  • Method Details