Class TLcyGXYTouchNewControllerActiveSettable

All Implemented Interfaces:
ILcyActiveSettable, ILcyCustomizableRepresentationActiveSettable, ILcdPropertyChangeSource, Serializable

public class TLcyGXYTouchNewControllerActiveSettable extends ALcyGXYNewControllerActiveSettable<TLcdGXYTouchNewController>
ALcyGXYNewControllerActiveSettable implementation for a TLcdGXYTouchNewController.
Since:
10.0
See Also:
  • Constructor Details

    • TLcyGXYTouchNewControllerActiveSettable

      public TLcyGXYTouchNewControllerActiveSettable(ALcdGXYNewControllerModel2 aNewControllerModel, ILcyMapComponent aMapComponent, ILcdAction aActionToTriggerAfterCommit, ILcyLucyEnv aLucyEnv, ALcyProperties aProperties, String aConfigPrefix)
      Creates a touch new controller active settable
      Parameters:
      aNewControllerModel - the controller model
      aMapComponent - the map component containing the view the controller will be activated for
      aActionToTriggerAfterCommit - the action to trigger after the commit of a shape
      aLucyEnv - the current Lucy environment
      aProperties - the relevant (add-on) properties
      aConfigPrefix - the configuration prefix for this active settable
    • TLcyGXYTouchNewControllerActiveSettable

      public TLcyGXYTouchNewControllerActiveSettable(ALcyGXYNewControllerModel aNewControllerModel, ILcdAction aActionToTriggerAfterCommit, ILcyLucyEnv aLucyEnv, ALcyProperties aProperties, String aConfigPrefix)
      Creates a touch new controller active settable.
      Parameters:
      aNewControllerModel - the controller model (also containing the map component).
      aActionToTriggerAfterCommit - the action to trigger after the commit of a shape
      aLucyEnv - the current Lucy environment
      aProperties - the relevant (add-on) properties
      aConfigPrefix - the configuration prefix for this active settable.
    • TLcyGXYTouchNewControllerActiveSettable

      public TLcyGXYTouchNewControllerActiveSettable(ALcyGXYNewControllerModel aNewControllerModel, ILcyLucyEnv aLucyEnv, ALcyProperties aProperties, String aConfigPrefix)
      Creates a touch new controller with as action to trigger after commit a action that sets the touch select controller on the view.
      Parameters:
      aNewControllerModel - the controller model (also containing the map component).
      aLucyEnv - the current Lucy environment
      aProperties - the relevant (addon) properties
      aConfigPrefix - the configuration prefix for this active settable.
    • TLcyGXYTouchNewControllerActiveSettable

      public TLcyGXYTouchNewControllerActiveSettable(ALcdGXYNewControllerModel2 aNewControllerModel, ILcyMapComponent aMapComponent, ILcyLucyEnv aLucyEnv, ALcyProperties aProperties, String aConfigPrefix)
      Creates a touch new controller active settable with as action to trigger after commit a action that sets the touch select controller on the view.
      Parameters:
      aNewControllerModel - the controller model (also containing the map component).
      aMapComponent - the map component containing the view the controller is to be activated for
      aLucyEnv - the current Lucy environment
      aProperties - the relevant (addon) properties
      aConfigPrefix - the configuration prefix for this active settable.
  • Method Details

    • isKeepActiveTrigger

      protected boolean isKeepActiveTrigger(AWTEvent aEvent)
      Determines if the controller should be kept active after the given awt event. Keeping the controller active allows the user to create multiple instances in a row.
      Parameters:
      aEvent - the awt event
      Returns:
      True if the controller should keep active.