Class ConnectionControl<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doubleClick​(@NotNull Connection<java.lang.Integer> connection)
      Called if an entry is double-clicked.
      • Methods inherited from class net.sf.gridarta.gui.panel.connectionview.Control

        getView
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 manager
        delayedMapModelListenerManager - 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: Control
        Called if an entry is double-clicked.
        Specified by:
        doubleClick in class Control<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