Class AbstractSnapper
java.lang.Object
org.gvsig.fmap.mapcontrol.tools.snapping.snappers.impl.AbstractSnapper
- All Implemented Interfaces:
ISnapper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.gvsig.fmap.geom.GeometryManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()intImplement this if you need a Snapper more important than the others.intbooleanvoidvoidsetEnabled(boolean enabled) voidsetPriority(int priority) voidsetSizePixels(int sizePixels) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gvsig.fmap.mapcontrol.tools.snapping.snappers.ISnapper
draw, getToolTipText
-
Field Details
-
geomManager
protected static org.gvsig.fmap.geom.GeometryManager geomManager
-
-
Constructor Details
-
AbstractSnapper
public AbstractSnapper()
-
-
Method Details
-
getSizePixels
public int getSizePixels() -
setSizePixels
public void setSizePixels(int sizePixels) -
getColor
-
setColor
-
getConfigurator
- Specified by:
getConfiguratorin interfaceISnapper
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabledin interfaceISnapper
-
getPriority
public int getPriority()Description copied from interface:ISnapperImplement this if you need a Snapper more important than the others. Default value is 0 (no prority).- Specified by:
getPriorityin interfaceISnapper- Returns:
-
setPriority
public void setPriority(int priority) - Specified by:
setPriorityin interfaceISnapper
-