public static class TLcdGXYEditControllerModel2.SnapTargetInfo extends 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,
Object aSnapObject,
Object aSnapTarget)
Creates a new
SnapTargetInfo object. |
Modifier and Type | Method and Description |
---|---|
ILcdGXYLayer |
getGXYLayer()
Returns the layer from which the snap target originated.
|
Object |
getSnapObject()
Returns the object from which the snap target originated (e.g., a polyline).
|
Object |
getSnapTarget()
Returns the snap target itself (e.g., one point of a polyline).
|
public SnapTargetInfo(ILcdGXYLayer aGXYLayer, Object aSnapObject, 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 Object getSnapObject()
public Object getSnapTarget()