Revision 45526 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.symbology/org.gvsig.symbology.lib/org.gvsig.symbology.lib.api/src/main/java/org/gvsig/symbology/fmap/mapcontext/rendering/symbol/marker/IPictureMarkerSymbol.java

View differences:

IPictureMarkerSymbol.java
23 23
 */
24 24
package org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker;
25 25

  
26
import java.awt.Color;
26 27
import java.io.IOException;
27 28
import java.net.URL;
29
import org.gvsig.fmap.dal.feature.Feature;
28 30

  
29
public interface IPictureMarkerSymbol extends IMarkerSymbol{
31
public interface IPictureMarkerSymbol extends IMarkerSymbol {
30 32

  
31
	/**
32
	 * Sets the file for the image to be used as a marker symbol
33
	 * 
34
	 * @param imageFile
35
	 *            , File
36
	 * @throws IOException
37
	 */
38
	public abstract void setImage(URL imageUrl) throws IOException;
33
    /**
34
     * Sets the file for the image to be used as a marker symbol
35
     *
36
     * @param imageFile , File
37
     * @throws IOException
38
     */
39
    public abstract void setImage(URL imageUrl) throws IOException;
39 40

  
40
	/**
41
	 * Sets the file for the image to be used as a marker symbol (when it is
42
	 * selected in the map)
43
	 * 
44
	 * @param imageFile
45
	 *            , File
46
	 * @throws IOException
47
	 */
48
	public abstract void setSelImage(URL imageFileUrl) throws IOException;
41
    /**
42
     * Sets the file for the image to be used as a marker symbol (when it is
43
     * selected in the map)
44
     *
45
     * @param imageFile , File
46
     * @throws IOException
47
     */
48
    public abstract void setSelImage(URL imageFileUrl) throws IOException;
49 49

  
50
	// public void print(Graphics2D g, AffineTransform at, FShape shape)
51
	// throws ReadDriverException {
52
	// // TODO Implement it
53
	// throw new Error("Not yet implemented!");
54
	//
55
	// }
56
	/**
57
	 * Returns the URL of the image that is used as a marker symbol
58
	 * @return imagePath,URL
59
	 */
60
	public abstract URL getSource();
50
    // public void print(Graphics2D g, AffineTransform at, FShape shape)
51
    // throws ReadDriverException {
52
    // // TODO Implement it
53
    // throw new Error("Not yet implemented!");
54
    //
55
    // }
56
    /**
57
     * Returns the URL of the image that is used as a marker symbol
58
     *
59
     * @return imagePath,URL
60
     */
61
    public abstract URL getSource();
61 62

  
62
	/**
63
	 * Returns the URL of the image that is used as a marker symbol (when it
64
	 is selected in the map)
65
	 * @return selimagePath,URL
66
	 */
67
	public abstract URL getSelectedSource();
63
    /**
64
     * Returns the URL of the image that is used as a marker symbol (when it is
65
     * selected in the map)
66
     *
67
     * @return selimagePath,URL
68
     */
69
    public abstract URL getSelectedSource();
68 70

  
69
}
71
    public String getOffsetXExpression();
72

  
73
    public void setOffsetXExpression(String offsetXExpression);
74

  
75
    public String getOffsetYExpression();
76

  
77
    public void setOffsetYExpression(String offsetYExpression);
78

  
79
    public String getRotationExpression();
80

  
81
    public void setRotationExpression(String rotationExpression);
82

  
83
    public Color getLineToOffsetColor();
84

  
85
    public Color getLineToOffsetColor(Feature f);
86

  
87
    public String getLineToOffsetColorExpression();
88

  
89
    public void setLineToOffsetColorExpression(String lineToOffsetColorExpression);
90

  
91
    public void setLineToOffsetColor(Color lineToOffsetColor);
92

  
93
    public boolean isDrawLineToOffset();
94

  
95
    public boolean isDrawLineToOffset(Feature f);
96

  
97
    public void setDrawLineToOffset(boolean drawLineToOffset);
98

  
99
}

Also available in: Unified diff