public interface ArchetypeChooserModelListener<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.util.EventListener
ArchetypeChooserModel
related
events.Modifier and Type | Method and Description |
---|---|
void |
directionChanged(@Nullable java.lang.Integer direction)
The default direction has changed.
|
void |
displayModeChanged(@NotNull DisplayMode<G,A,R> displayMode)
This event handler is called when an attribute "display object names" has
changed.
|
void |
selectedArchetypeChanged(R selectedArchetype)
The selected archetype has changed.
|
void |
selectedFolderChanged(@NotNull ArchetypeChooserFolder<G,A,R> selectedFolder)
The selected folder has changed.
|
void |
selectedPanelChanged(@NotNull ArchetypeChooserPanel<G,A,R> selectedPanel)
The selected panel has changed.
|
void selectedPanelChanged(@NotNull @NotNull ArchetypeChooserPanel<G,A,R> selectedPanel)
selectedPanel
- the selected panelvoid selectedFolderChanged(@NotNull @NotNull ArchetypeChooserFolder<G,A,R> selectedFolder)
selectedFolder
- the selected foldervoid selectedArchetypeChanged(@Nullable R selectedArchetype)
selectedArchetype
- the selected archetype or null
if none
is selectedvoid directionChanged(@Nullable @Nullable java.lang.Integer direction)
direction
- the new direction; null
means "default"void displayModeChanged(@NotNull @NotNull DisplayMode<G,A,R> displayMode)
displayMode
- the new display mode