Class LineOfSight.TargetVisibilityChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.esri.arcgisruntime.geoanalysis.LineOfSight.TargetVisibilityChangedEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- LineOfSight
public static final class LineOfSight.TargetVisibilityChangedEvent extends java.util.EventObject
An event indicating that the target visibility has changed.- Since:
- 100.2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TargetVisibilityChangedEvent(LineOfSight source, LineOfSight.TargetVisibility targetVisibility)
Constructs a TargetVisibilityChangedEvent object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LineOfSight
getSource()
LineOfSight.TargetVisibility
getTargetVisibility()
Gets the target visibility.
-
-
-
Constructor Detail
-
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:
java.lang.IllegalArgumentException
- if source is null- Since:
- 100.2.0
-
-
Method Detail
-
getTargetVisibility
public LineOfSight.TargetVisibility getTargetVisibility()
Gets the target visibility.- Returns:
- the target visibility
- Since:
- 100.2.0
-
getSource
public LineOfSight getSource()
- Overrides:
getSource
in classjava.util.EventObject
-
-