Class TLcyPreviewAddOnEvent

java.lang.Object
java.util.EventObject
com.luciad.lucy.addons.previewer.TLcyPreviewAddOnEvent
All Implemented Interfaces:
Serializable

public class TLcyPreviewAddOnEvent extends EventObject

The EventObject that is used to notify that a certain TLcyPreviewAddOn has changed.

See Also:
  • Field Details

    • SIMULATOR_MODEL_ADDED

      public static final int SIMULATOR_MODEL_ADDED
      Indicates that a simulator model has been added.
      See Also:
    • SIMULATOR_MODEL_REMOVED

      public static final int SIMULATOR_MODEL_REMOVED
      Indicates that a simulator model has been removed.
      See Also:
  • Constructor Details

    • TLcyPreviewAddOnEvent

      public TLcyPreviewAddOnEvent(Object aSource, int aType, ILcdSimulatorModel aSimulatorModel)
      Creates a new TLcyPreviewAddOnEvent.
      Parameters:
      aSource - The source firing the event
      aType - 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

      public ILcdSimulatorModel getSimulatorModel()
      Returns the simulator model this event is about.
      Returns:
      the simulator model this event is about.
    • toString

      public String toString()
      Overrides:
      toString in class EventObject