public static class ALcdGXYNewControllerModel2.SnapTargetInfo
extends java.lang.Object
getGXYLayer()
layer} from which this snap target originated
snap object
from which the snap target originated, one of
the objects from layer.getModel()
(e.g. a polyline).
This information is used to paint a visual indication of the snap target.
snap target
, deduced from the snap object
(e.g., one point of the polyline).
Constructor and Description |
---|
SnapTargetInfo(ILcdGXYLayer aGXYLayer,
java.lang.Object aSnapObject,
java.lang.Object aSnapTarget)
Creates a new
SnapTargetInfo object. |
Modifier and Type | Method and Description |
---|---|
ILcdGXYLayer |
getGXYLayer()
Returns the layer from which the snap target originated.
|
java.lang.Object |
getSnapObject()
Returns the object from which the snap target originated (e.g., a polyline).
|
java.lang.Object |
getSnapTarget()
Returns the snap target itself (e.g., one point of a polyline).
|
public SnapTargetInfo(ILcdGXYLayer aGXYLayer, java.lang.Object aSnapObject, java.lang.Object aSnapTarget)
SnapTargetInfo
object.aGXYLayer
- The layer.aSnapObject
- The snap object, or null if the snap indication must not be visualizedaSnapTarget
- The snap target.public ILcdGXYLayer getGXYLayer()
public java.lang.Object getSnapObject()
public java.lang.Object getSnapTarget()