Package net.sf.gridarta.gui.mapmenu
Class MapMenuManager<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.gui.mapmenu.MapMenuManager<G,A,R>
-
public class MapMenuManager<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.ObjectManages the recent menu entries.
-
-
Constructor Summary
Constructors Constructor Description MapMenuManager(@NotNull MapMenu mapMenu, @NotNull MapViewsManager<?,?,?> mapViewsManager, @NotNull FileControl<?,?,?> fileControl, @NotNull MapImageCache<?,?,?> mapImageCache)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitRecent()Initializes the recent state.voidsetMenu(@Nullable javax.swing.JMenu recentMenu)Sets the menu to update.
-
-
-
Constructor Detail
-
MapMenuManager
public MapMenuManager(@NotNull @NotNull MapMenu mapMenu, @NotNull @NotNull MapViewsManager<?,?,?> mapViewsManager, @NotNull @NotNull FileControl<?,?,?> fileControl, @NotNull @NotNull MapImageCache<?,?,?> mapImageCache)Creates a new instance.- Parameters:
mapMenu- the map menu to usemapViewsManager- the map views manager for opening map filesfileControl- the file control for reporting errorsmapImageCache- the map image cache to query
-
-