Class WindowMenuManager<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>


  • public class WindowMenuManager<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>
    extends java.lang.Object
    Maintains the window menu. Tracks added, removed, and modified windows.
    • Constructor Summary

      Constructors 
      Constructor Description
      WindowMenuManager​(@NotNull javax.swing.JMenu menuWindow, @NotNull MapViewManager<G,​A,​R> mapViewManager, @NotNull javax.swing.Action aCloseAll, @NotNull MapDesktop<G,​A,​R> mapDesktop)
      Creates a new instance.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WindowMenuManager

        public WindowMenuManager​(@NotNull
                                 @NotNull javax.swing.JMenu menuWindow,
                                 @NotNull
                                 @NotNull MapViewManager<G,​A,​R> mapViewManager,
                                 @NotNull
                                 @NotNull javax.swing.Action aCloseAll,
                                 @NotNull
                                 @NotNull MapDesktop<G,​A,​R> mapDesktop)
        Creates a new instance.
        Parameters:
        menuWindow - the "window" menu
        mapViewManager - the map view manager to track
        aCloseAll - the action for "close all map windows"
        mapDesktop - the map desktop to use