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

public class FLyrVectLinkProperties extends AbstractLinkProperties
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 Details

    • FLyrVectLinkProperties

      public FLyrVectLinkProperties()
      Default Constructor. Costructs a LinkProperties with the necessary information
    • FLyrVectLinkProperties

      public FLyrVectLinkProperties(int tipo, String fieldName, String extension)
      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:
      getLink in class AbstractLinkProperties
      Parameters:
      layer -
      point -
      tolerance -
      Returns:
      Array of URI
      Throws:
      org.gvsig.fmap.dal.exception.ReadException
    • registerPersistent

      public static void registerPersistent()