Package com.luciad.lucy.map
Class TLcySnappableGXYLayer
java.lang.Object
com.luciad.view.TLcdLayer
com.luciad.view.gxy.TLcdGXYLayer
com.luciad.lucy.map.TLcySnappableGXYLayer
- All Implemented Interfaces:
ILcySnappable,ILcdPropertyChangeSource,ILcdSelection<Object>,ILcdGXYEditableLabelsLayer,ILcdGXYLayer,ILcdLayer,Serializable
- Direct Known Subclasses:
com.luciad.internal.lucy.map.TLcyStyledSnappableGXYLayer
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:
-
Field Summary
Fields inherited from interface com.luciad.view.gxy.ILcdGXYEditableLabelsLayer
PLACED_LABELS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if snapping is enabled.voidsetSnappingOn(boolean aSnappingOn) Sets the snappable state.Methods inherited from class com.luciad.view.gxy.TLcdGXYLayer
applyOnInteract, applyOnInteract, applyOnInteract, applyOnInteractLabels, asFactory, create, getBounds, getGXYEditor, getGXYEditorProvider, getGXYLabelEditor, getGXYLabelEditorProvider, getGXYLabelingAlgorithm, getGXYLabelingAlgorithmProvider, getGXYLabelPainter, getGXYLabelPainterProvider, getGXYLayerLabelPainter, getGXYPainter, getGXYPainterProvider, getGXYPainterProviderArray, getGXYPainters, getGXYPen, getIcon, getInteractMargin, getLabelLocations, getLabelMapScaleRange, getLabelScaleRange, getMapScaleRange, getMinimumObjectSizeForPainting, getModelElementComparator, getModelQueryConfiguration, getModelXYWorldTransfoClass, getPaintLabelsScaleRatioInterval, getScaleRange, isEditableSupported, isLabeled, isLabeledSupported, isLabelsEditable, isLabelsEditableSupported, isPaintFromOverlaps, isSelectionLabeled, isStopPainting, isTraceOn, modeToString, paint, paintFromModel, paintFromOverlaps, setClassTraceOn, setFilter, setGXYEditorProvider, setGXYLabelEditorProvider, setGXYLabelingAlgorithmProvider, setGXYLabelPainterProvider, setGXYLayerLabelPainter, setGXYPainterProvider, setGXYPainterProviderArray, setGXYPen, setIcon, setInteractMargin, setLabeled, setLabelLocations, setLabelMapScaleRange, setLabelScaleRange, setLabelsEditable, setMapScaleRange, setMinimumObjectSizeForPainting, setModel, setModelElementComparator, setModelQueryConfiguration, setModelXYWorldTransfoClass, setPaintFromOverlaps, setPaintLabelsScaleRatioInterval, setScaleRange, setSelectionLabeled, setTraceOn, setVisible, startPainting, stopPaintingMethods inherited from class com.luciad.view.TLcdLayer
addPropertyChangeListener, addSelectionListener, clearSelection, fireCollectedSelectionChanges, firePropertyChangeEvent, getFilter, getLabel, getModel, getSelectionCount, invalidate, isEditable, isSelectable, isSelectableSupported, isSelected, isVisible, removePropertyChangeListener, removeSelectionListener, selectedObjects, selectObject, selectObjects, setEditable, setLabel, setSelectable, setSelectableSupported, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.luciad.view.ILcdLayer
clearSelection, fireCollectedSelectionChanges, getLabel, getModel, isEditable, isSelectable, isSelectableSupported, isVisible, selectObject, setEditable, setLabel, setSelectableMethods inherited from interface com.luciad.util.ILcdPropertyChangeSource
addPropertyChangeListener, removePropertyChangeListenerMethods inherited from interface com.luciad.util.ILcdSelection
addSelectionListener, getSelectedObjects, getSelectionCount, isSelected, removeSelectionListener, selectedObjects
-
Constructor Details
-
TLcySnappableGXYLayer
public TLcySnappableGXYLayer() -
TLcySnappableGXYLayer
- See Also:
-
-
Method Details
-
isSnappingOn
public boolean isSnappingOn()Description copied from interface:ILcySnappableReturn true if snapping is enabled.- Specified by:
isSnappingOnin interfaceILcySnappable- Returns:
- true if snapping is enabled.
-
setSnappingOn
public void setSnappingOn(boolean aSnappingOn) Description copied from interface:ILcySnappableSets 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:
setSnappingOnin interfaceILcySnappable- Parameters:
aSnappingOn- True if snapping is to be enabled, false otherwise
-