public class MapMenuAction
extends javax.swing.AbstractAction
AbstractAction
for a MapMenuEntryMap
instance.Constructor and Description |
---|
MapMenuAction(MapMenuEntryMap mapMenuEntryMap,
MapViewsManager<?,?,?> mapViewsManager,
FileControl<?,?,?> fileControl)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
java.lang.Object |
clone() |
void |
update(MapImageCache<?,?,?> mapImageCache)
Updates properties.
|
public MapMenuAction(@NotNull MapMenuEntryMap mapMenuEntryMap, @NotNull MapViewsManager<?,?,?> mapViewsManager, @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(java.awt.event.ActionEvent e)
public void update(@NotNull MapImageCache<?,?,?> mapImageCache)
mapImageCache
- the map image cache to querypublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class javax.swing.AbstractAction
java.lang.CloneNotSupportedException