public class FindDialogManager<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
Constructor and Description |
---|
FindDialogManager(@NotNull java.awt.Component parent,
@NotNull MapViewManager<G,A,R> mapViewManager)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
findNext(@NotNull MapView<G,A,R> mapView,
boolean performAction)
Executes the "find next" action.
|
boolean |
findPrev(@NotNull MapView<G,A,R> mapView,
boolean performAction)
Executes the "find next" action.
|
void |
showDialog(@NotNull MapView<G,A,R> mapView)
Displays the replace dialog.
|
public FindDialogManager(@NotNull @NotNull java.awt.Component parent, @NotNull @NotNull MapViewManager<G,A,R> mapViewManager)
parent
- the parent component for dialogsmapViewManager
- the map view manager to usepublic void showDialog(@NotNull @NotNull MapView<G,A,R> mapView)
mapView
- the map view to operate onpublic boolean findNext(@NotNull @NotNull MapView<G,A,R> mapView, boolean performAction)
mapView
- the map view to operate onperformAction
- whether the action should be performed