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

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void activeMapViewChanged​(@Nullable MapView<G,​A,​R> mapView)
      This event handler is called when the current map view has changed.
      void exitConnect()
      Action method for "connect exit".
      void exitCopy()
      Action method for "copy exit".
      void exitPaste()
      Action method for "paste exit".
      void mapViewClosing​(@NotNull MapView<G,​A,​R> mapView)
      This event handler is called when a map view is to be closed.
      void mapViewCreated​(@NotNull MapView<G,​A,​R> mapView)
      This event handler is called when a map view was created.
      void setAction​(@NotNull javax.swing.Action action, @NotNull java.lang.String name)
      Sets the Action instance for this editor action.
      • Methods inherited from class java.lang.Object

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

      • ExitConnectorController

        public ExitConnectorController​(@NotNull
                                       @NotNull ExitConnectorActions<G,​A,​R> exitConnectorActions,
                                       @NotNull
                                       @NotNull ExitConnectorModel exitConnectorModel)
        Creates a new instance.
        Parameters:
        exitConnectorActions - the exit connector actions to use
        exitConnectorModel - the model for this controller
    • Method Detail

      • exitCopy

        @ActionMethod
        public void exitCopy()
        Action method for "copy exit".
      • exitPaste

        @ActionMethod
        public void exitPaste()
        Action method for "paste exit".
      • exitConnect

        @ActionMethod
        public void exitConnect()
        Action method for "connect exit".
      • setAction

        public void setAction​(@NotNull
                              @NotNull javax.swing.Action action,
                              @NotNull
                              @NotNull java.lang.String name)
        Description copied from interface: EditorAction
        Sets the Action instance for this editor action.
        Specified by:
        setAction in interface EditorAction
        Parameters:
        action - the action instance
        name - the name of the action