public interface MapFolderListener<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.util.EventListener
MapFolders
.Modifier and Type | Method and Description |
---|---|
void |
pickmapAdded(PickmapState<G,A,R> pickmapState)
A pickmap has been added to the folder.
|
void |
pickmapRemoved(PickmapState<G,A,R> pickmapState)
A pickmap has been removed from the folder.
|
void |
pickmapReverted(PickmapState<G,A,R> pickmapState,
MapControl<G,A,R> oldPickmap)
A pickmap has been reverted to the contents of its underlying file.
|
void pickmapAdded(@NotNull PickmapState<G,A,R> pickmapState)
pickmapState
- the added pickmapvoid pickmapRemoved(@NotNull PickmapState<G,A,R> pickmapState)
pickmap
instance has not been removed from its MapFolder
but not yet
unloaded.pickmapState
- the removed pickmapvoid pickmapReverted(@NotNull PickmapState<G,A,R> pickmapState, @NotNull MapControl<G,A,R> oldPickmap)
pickmapState
- the reverted pickmapoldPickmap
- the map control of the pickmap before revert