Package com.luciad.lucy.addons.previewer
Class TLcyPreviewAddOnEvent
java.lang.Object
java.util.EventObject
com.luciad.lucy.addons.previewer.TLcyPreviewAddOnEvent
- All Implemented Interfaces:
Serializable
The
EventObject
that is used to notify
that a certain TLcyPreviewAddOn
has changed.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Indicates that a simulator model has been added.static final int
Indicates that a simulator model has been removed.Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionTLcyPreviewAddOnEvent
(Object aSource, int aType, ILcdSimulatorModel aSimulatorModel) Creates a newTLcyPreviewAddOnEvent
. -
Method Summary
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
SIMULATOR_MODEL_ADDED
public static final int SIMULATOR_MODEL_ADDEDIndicates that a simulator model has been added.- See Also:
-
SIMULATOR_MODEL_REMOVED
public static final int SIMULATOR_MODEL_REMOVEDIndicates that a simulator model has been removed.- See Also:
-
-
Constructor Details
-
TLcyPreviewAddOnEvent
Creates a newTLcyPreviewAddOnEvent
.- Parameters:
aSource
- The source firing the eventaType
- The type of event, this should be one of SIMULATOR_MODEL_ADDED or SIMULATOR_MODEL_REMOVED
-
-
Method Details
-
getType
public int getType()Returns an integer indicating the type of the event that has occurred.- Returns:
- an integer indicating the type of the event that has occurred.
-
getSimulatorModel
Returns the simulator model this event is about.- Returns:
- the simulator model this event is about.
-
toString
- Overrides:
toString
in classEventObject
-