org.gvsig.fmap.mapcontrol.tools.snapping.snappers.impl
Class AbstractSnapper

java.lang.Object
  extended by org.gvsig.fmap.mapcontrol.tools.snapping.snappers.impl.AbstractSnapper
All Implemented Interfaces:
ISnapper

public abstract class AbstractSnapper
extends Object
implements ISnapper


Field Summary
protected static org.gvsig.fmap.geom.GeometryManager geomManager
           
 
Constructor Summary
AbstractSnapper()
           
 
Method Summary
 Color getColor()
           
 Object getConfigurator()
           
 int getPriority()
          Implement this if you need a Snapper more important than the others.
 int getSizePixels()
           
 boolean isEnabled()
           
 void setColor(Color color)
           
 void setEnabled(boolean enabled)
           
 void setPriority(int priority)
           
 void setSizePixels(int sizePixels)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gvsig.fmap.mapcontrol.tools.snapping.snappers.ISnapper
draw, getToolTipText
 

Field Detail

geomManager

protected static org.gvsig.fmap.geom.GeometryManager geomManager
Constructor Detail

AbstractSnapper

public AbstractSnapper()
Method Detail

getSizePixels

public int getSizePixels()

setSizePixels

public void setSizePixels(int sizePixels)

getColor

public Color getColor()

setColor

public void setColor(Color color)

getConfigurator

public Object getConfigurator()
Specified by:
getConfigurator in interface ISnapper

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface ISnapper

setEnabled

public void setEnabled(boolean enabled)
Specified by:
setEnabled in interface ISnapper

getPriority

public int getPriority()
Description copied from interface: ISnapper
Implement this if you need a Snapper more important than the others. Default value is 0 (no prority).

Specified by:
getPriority in interface ISnapper
Returns:

setPriority

public void setPriority(int priority)
Specified by:
setPriority in interface ISnapper


Copyright © 2004-2013 gvSIG. All Rights Reserved.