Class TLcySnappableGXYLayer

All Implemented Interfaces:
ILcySnappable, ILcdPropertyChangeSource, ILcdSelection<Object>, ILcdGXYEditableLabelsLayer, ILcdGXYLayer, ILcdLayer, Serializable
Direct Known Subclasses:
com.luciad.internal.lucy.map.TLcyStyledSnappableGXYLayer

public class TLcySnappableGXYLayer extends TLcdGXYLayer implements ILcySnappable
Do not use this class, it's subject to change or disappear without notice. It's public only because it is used as a bean.

Extension of TLcdGXYLayer that also implements ILcySnappable. This way it is possible to snap to the objects in this layer. By default, snapping is turned on.

See Also:
  • Constructor Details

    • TLcySnappableGXYLayer

      public TLcySnappableGXYLayer()
    • TLcySnappableGXYLayer

      public TLcySnappableGXYLayer(ILcdModel aModel)
      See Also:
  • Method Details

    • isSnappingOn

      public boolean isSnappingOn()
      Description copied from interface: ILcySnappable
      Return true if snapping is enabled.
      Specified by:
      isSnappingOn in interface ILcySnappable
      Returns:
      true if snapping is enabled.
    • setSnappingOn

      public void setSnappingOn(boolean aSnappingOn)
      Description copied from interface: ILcySnappable
      Sets the snappable state. Note that this method needs to fire a property change event whenever the "snappingOn" property changes its state.

      Note: refer to Implementing Bound Property Support Within a Bean for an example about firing a property change.

      Specified by:
      setSnappingOn in interface ILcySnappable
      Parameters:
      aSnappingOn - True if snapping is to be enabled, false otherwise