Module com.esri.arcgisruntime
Class LineOfSight.TargetVisibilityChangedEvent
java.lang.Object
java.util.EventObject
com.esri.arcgisruntime.geoanalysis.LineOfSight.TargetVisibilityChangedEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
LineOfSight
An event indicating that the target visibility has changed.
- Since:
- 100.2.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionTargetVisibilityChangedEvent
(LineOfSight source, LineOfSight.TargetVisibility targetVisibility) Constructs a TargetVisibilityChangedEvent object. -
Method Summary
Modifier and TypeMethodDescriptionGets the target visibility.Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
TargetVisibilityChangedEvent
public TargetVisibilityChangedEvent(LineOfSight source, LineOfSight.TargetVisibility targetVisibility) Constructs a TargetVisibilityChangedEvent object.- Parameters:
source
- the LineOfSight object on which the event initially occurredtargetVisibility
- the target visibility- Throws:
IllegalArgumentException
- if source is null- Since:
- 100.2.0
-
-
Method Details
-
getTargetVisibility
Gets the target visibility.- Returns:
- the target visibility
- Since:
- 100.2.0
-
getSource
- Overrides:
getSource
in classEventObject
-