Class FLyrVectLinkProperties
java.lang.Object
org.gvsig.fmap.mapcontext.layers.AbstractLinkProperties
org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVectLinkProperties
- All Implemented Interfaces:
org.gvsig.tools.persistence.Persistent
This class extends AbstractLinkProperties and implements the method to get an array of URI
using a point2D and a tolerance. This class extends AstractLinkProperties to add HyperLink
to Vectorial Layer(FLyrVect)
-
Constructor Summary
ConstructorsConstructorDescriptionDefault Constructor.FLyrVectLinkProperties(int tipo, String fieldName, String extension) Constructor. -
Method Summary
Methods inherited from class org.gvsig.fmap.mapcontext.layers.AbstractLinkProperties
getExt, getField, getType, loadFromState, saveToState, setExt, setField, setType
-
Constructor Details
-
FLyrVectLinkProperties
public FLyrVectLinkProperties()Default Constructor. Costructs a LinkProperties with the necessary information -
FLyrVectLinkProperties
Constructor. Constructs a LinkProperties with the information that receives- Parameters:
tipo-fieldName-extension-
-
-
Method Details
-
getLink
public URI[] getLink(FLayer layer, Point2D point, double tolerance) throws org.gvsig.fmap.dal.exception.ReadException Creates an array of URI. With the point and the tolerance makes a query to the layer and gets the geometries that contains the point with a certain error (tolerance). For each one of this geometries creates one URI and adds it to the array- Specified by:
getLinkin classAbstractLinkProperties- Parameters:
layer-point-tolerance-- Returns:
- Array of URI
- Throws:
org.gvsig.fmap.dal.exception.ReadException
-
registerPersistent
public static void registerPersistent()
-