public class TLcyPreviewAddOnEvent extends EventObject
EventObject
that is used to notify
that a certain TLcyPreviewAddOn
has changed.Modifier and Type | Field and Description |
---|---|
static int |
SIMULATOR_MODEL_ADDED
Indicates that a simulator model has been added.
|
static int |
SIMULATOR_MODEL_REMOVED
Indicates that a simulator model has been removed.
|
source
Constructor and Description |
---|
TLcyPreviewAddOnEvent(Object aSource,
int aType,
ILcdSimulatorModel aSimulatorModel)
Creates a new
TLcyPreviewAddOnEvent . |
Modifier and Type | Method and Description |
---|---|
ILcdSimulatorModel |
getSimulatorModel()
Returns the simulator model this event is about.
|
int |
getType()
Returns an integer indicating the type of the event that has occurred.
|
String |
toString() |
getSource
public static final int SIMULATOR_MODEL_ADDED
public static final int SIMULATOR_MODEL_REMOVED
public TLcyPreviewAddOnEvent(Object aSource, int aType, ILcdSimulatorModel aSimulatorModel)
TLcyPreviewAddOnEvent
.aSource
- The source firing the eventaType
- The type of event, this should be one of
SIMULATOR_MODEL_ADDED or SIMULATOR_MODEL_REMOVEDpublic int getType()
public ILcdSimulatorModel getSimulatorModel()
public String toString()
toString
in class EventObject