Class LockedItemsControl<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>


  • public class LockedItemsControl<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>
    extends Control<java.lang.String,​G,​A,​R>
    The controller of the locked items view control.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doubleClick​(@NotNull Connection<java.lang.String> 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

      • LockedItemsControl

        public LockedItemsControl​(@NotNull
                                  @NotNull MapViewManager<G,​A,​R> mapViewManager,
                                  @NotNull
                                  @NotNull DelayedMapModelListenerManager<G,​A,​R> delayedMapModelListenerManager,
                                  @NotNull
                                  @org.jetbrains.annotations.NotNull int... typeNumbers)
        Creates a new instance.
        Parameters:
        mapViewManager - the map view manager
        delayedMapModelListenerManager - the delayed map model listener manager to use
        typeNumbers - the type numbers to consider
    • Method Detail

      • doubleClick

        protected void doubleClick​(@NotNull
                                   @NotNull Connection<java.lang.String> connection)
        Description copied from class: Control
        Called if an entry is double-clicked.
        Specified by:
        doubleClick in class Control<java.lang.String,​G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>
        Parameters:
        connection - the first selected connection