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

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Control​(@NotNull View<K,​G,​A,​R> view)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract void doubleClick​(@NotNull Connection<K> connection)
      Called if an entry is double-clicked.
      @NotNull javax.swing.JPanel getView()
      Returns the view for this controller.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Control

        protected Control​(@NotNull
                          @NotNull View<K,​G,​A,​R> view)
        Creates a new instance.
        Parameters:
        view - the view to use
    • Method Detail

      • doubleClick

        protected abstract void doubleClick​(@NotNull
                                            @NotNull Connection<K> connection)
        Called if an entry is double-clicked.
        Parameters:
        connection - the first selected connection
      • getView

        @NotNull
        public @NotNull javax.swing.JPanel getView()
        Returns the view for this controller.
        Returns:
        the view for this controller