Class CarRosterMenu

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

public class CarRosterMenu extends JMenu
Provides a context-specific menu for handling the Roster.
See Also:
  • Field Details

    • SELECTMENU

      public static final int SELECTMENU
      Ctor argument defining that the menu object will be used as a menu on a GUI object that can select a RosterEntry.
      See Also:
    • ENTRYMENU

      public static final int ENTRYMENU
      Ctor argument defining that the menu object will be used as a menu on a GUI object that is dealing with a single RosterEntry.
      See Also:
  • Constructor Details

    • CarRosterMenu

      public CarRosterMenu(String pMenuName, int pMenuType, CarsTableFrame carsTableFrame)
      Create a
      Parameters:
      pMenuName - Name for the menu
      pMenuType - Select where the menu will be used, hence the right set of items to be enabled.
      carsTableFrame - The Component using this menu, used to ensure that dialog boxes will pop in the right place.