Class ConnectionControl<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.gui.panel.connectionview.Control<java.lang.Integer,G,A,R>
-
- net.sf.gridarta.gui.panel.connectionview.ConnectionControl<G,A,R>
-
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>
The controller of the connection view control.
-
-
Constructor Summary
Constructors Constructor Description ConnectionControl(@NotNull MapViewManager<G,A,R> mapViewManager, @NotNull DelayedMapModelListenerManager<G,A,R> delayedMapModelListenerManager)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoubleClick(@NotNull Connection<java.lang.Integer> connection)Called if an entry is double-clicked.
-
-
-
Constructor Detail
-
ConnectionControl
public ConnectionControl(@NotNull @NotNull MapViewManager<G,A,R> mapViewManager, @NotNull @NotNull DelayedMapModelListenerManager<G,A,R> delayedMapModelListenerManager)Creates a new instance.- Parameters:
mapViewManager- the map view managerdelayedMapModelListenerManager- the delayed map model listener manager to use
-
-
Method Detail
-
doubleClick
protected void doubleClick(@NotNull @NotNull Connection<java.lang.Integer> connection)Description copied from class:ControlCalled if an entry is double-clicked.- Specified by:
doubleClickin classControl<java.lang.Integer,G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>- Parameters:
connection- the first selected connection
-
-