com.supermap.realspace
Class StatusChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.supermap.realspace.StatusChangedEvent
-
- All Implemented Interfaces:
- java.io.Serializable
public class StatusChangedEvent extends java.util.EventObject
The StatusChangedEvent.Calls this method if the fly status is changed. For the flying status mode, see
FlyStatus
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description StatusChangedEvent(java.lang.Object source, FlyStatus preStatus, FlyStatus currentStatus)
Creates a new FlyStatusChangedEvent object according to the specified arguments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description FlyStatus
getCurrentStatus()
Returns the FlyStatus object after the fly status changes.FlyStatus
getPreStatus()
Returns the fly status before the fly status changes.
-
-
-
Constructor Detail
-
StatusChangedEvent
public StatusChangedEvent(java.lang.Object source, FlyStatus preStatus, FlyStatus currentStatus)
Creates a new FlyStatusChangedEvent object according to the specified arguments.- Parameters:
source
- The source object.preStatus
- The FlyStatus object before the fly status changes.currentStatus
- The FlyStatus object after the fly status changes.
-
-
Method Detail
-
getPreStatus
public FlyStatus getPreStatus()
Returns the fly status before the fly status changes.- Returns:
- The fly status before the fly status changes.
-
getCurrentStatus
public FlyStatus getCurrentStatus()
Returns the FlyStatus object after the fly status changes.- Returns:
- The FlyStatus object after the fly status changes.
-
-