Package com.luciad.lucy.map.action
Class TLcyGXYTouchNewControllerActiveSettable
java.lang.Object
com.luciad.lucy.gui.ALcyActiveSettable
com.luciad.lucy.map.action.TLcyGXYSetControllerActiveSettable
com.luciad.lucy.map.action.ALcyGXYNewControllerActiveSettable<TLcdGXYTouchNewController>
com.luciad.lucy.map.action.TLcyGXYTouchNewControllerActiveSettable
- All Implemented Interfaces:
ILcyActiveSettable
,ILcyCustomizableRepresentationActiveSettable
,ILcdPropertyChangeSource
,Serializable
public class TLcyGXYTouchNewControllerActiveSettable
extends ALcyGXYNewControllerActiveSettable<TLcdGXYTouchNewController>
ALcyGXYNewControllerActiveSettable
implementation for a
TLcdGXYTouchNewController
.- Since:
- 10.0
- See Also:
-
Field Summary
Fields inherited from interface com.luciad.lucy.gui.ILcyActiveSettable
DEFAULT, LONG_DESCRIPTION, NAME, SHORT_DESCRIPTION, SHOW_ACTION_NAME, SMALL_ICON, SMALL_SELECTED_ICON, VISIBLE
-
Constructor Summary
ConstructorDescriptionTLcyGXYTouchNewControllerActiveSettable
(ALcyGXYNewControllerModel aNewControllerModel, ILcdAction aActionToTriggerAfterCommit, ILcyLucyEnv aLucyEnv, ALcyProperties aProperties, String aConfigPrefix) Creates a touch new controller active settable.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.TLcyGXYTouchNewControllerActiveSettable
(ALcdGXYNewControllerModel2 aNewControllerModel, ILcyMapComponent aMapComponent, ILcdAction aActionToTriggerAfterCommit, ILcyLucyEnv aLucyEnv, ALcyProperties aProperties, String aConfigPrefix) Creates a touch new controller active settableTLcyGXYTouchNewControllerActiveSettable
(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. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isKeepActiveTrigger
(AWTEvent aEvent) Determines if the controller should be kept active after the given awt event.Methods inherited from class com.luciad.lucy.map.action.ALcyGXYNewControllerActiveSettable
customizeRepresentation, getGXYNewController, getKeepActiveIcon, setActive, setKeepActiveIcon
Methods inherited from class com.luciad.lucy.map.action.TLcyGXYSetControllerActiveSettable
combineWithNavigateController, getGXYController, getGXYView, getLucyEnv, isActive, setGXYController, setGXYView
Methods inherited from class com.luciad.lucy.gui.ALcyActiveSettable
addPropertyChangeListener, firePropertyChange, getDisplayName, getIcon, getLongDescription, getName, getShortDescription, getValue, isEnabled, putValue, removePropertyChangeListener, setDisplayName, setEnabled, setIcon, setLongDescription, setName, setShortDescription
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.util.ILcdPropertyChangeSource
addPropertyChangeListener, removePropertyChangeListener
Methods inherited from interface com.luciad.lucy.gui.ILcyActiveSettable
getValue, isActive, isEnabled, putValue, setEnabled
-
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 modelaMapComponent
- the map component containing the view the controller will be activated foraActionToTriggerAfterCommit
- the action to trigger after the commit of a shapeaLucyEnv
- the current Lucy environmentaProperties
- the relevant (add-on) propertiesaConfigPrefix
- 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 shapeaLucyEnv
- the current Lucy environmentaProperties
- the relevant (add-on) propertiesaConfigPrefix
- 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 environmentaProperties
- the relevant (addon) propertiesaConfigPrefix
- 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 foraLucyEnv
- the current Lucy environmentaProperties
- the relevant (addon) propertiesaConfigPrefix
- the configuration prefix for this active settable.
-
-
Method Details
-
isKeepActiveTrigger
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.
-