public class MapMenuAction
extends javax.swing.AbstractAction
AbstractAction
for a MapMenuEntryMap
instance.Constructor and Description |
---|
MapMenuAction(@NotNull MapMenuEntryMap mapMenuEntryMap,
@NotNull MapViewsManager<?,?,?> mapViewsManager,
@NotNull FileControl<?,?,?> fileControl)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(@NotNull java.awt.event.ActionEvent e) |
@NotNull MapMenuAction |
clone() |
void |
update(@NotNull MapImageCache<?,?,?> mapImageCache)
Updates properties.
|
public MapMenuAction(@NotNull @NotNull MapMenuEntryMap mapMenuEntryMap, @NotNull @NotNull MapViewsManager<?,?,?> mapViewsManager, @NotNull @NotNull FileControl<?,?,?> fileControl)
mapMenuEntryMap
- the map menu entry for this actionmapViewsManager
- the map views manager for opening map filesfileControl
- the file control for reporting errorspublic void actionPerformed(@NotNull @NotNull java.awt.event.ActionEvent e)
public void update(@NotNull @NotNull MapImageCache<?,?,?> mapImageCache)
mapImageCache
- the map image cache to query@NotNull public @NotNull MapMenuAction clone() throws java.lang.CloneNotSupportedException
clone
in class javax.swing.AbstractAction
java.lang.CloneNotSupportedException