public class ConnectionControl<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends Control<java.lang.Integer,G,A,R>
Constructor and Description |
---|
ConnectionControl(@NotNull MapViewManager<G,A,R> mapViewManager,
@NotNull DelayedMapModelListenerManager<G,A,R> delayedMapModelListenerManager)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doubleClick(@NotNull Connection<java.lang.Integer> connection)
Called if an entry is double-clicked.
|
public ConnectionControl(@NotNull @NotNull MapViewManager<G,A,R> mapViewManager, @NotNull @NotNull DelayedMapModelListenerManager<G,A,R> delayedMapModelListenerManager)
mapViewManager
- the map view managerdelayedMapModelListenerManager
- the delayed map model listener
manager to useprotected void doubleClick(@NotNull @NotNull Connection<java.lang.Integer> connection)
Control
doubleClick
in class Control<java.lang.Integer,G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
connection
- the first selected connection