Revision 45527 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
IPictureMarkerSymbol.java | ||
---|---|---|
23 | 23 |
*/ |
24 | 24 |
package org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker; |
25 | 25 |
|
26 |
import java.awt.Color; |
|
27 | 26 |
import java.io.IOException; |
28 | 27 |
import java.net.URL; |
29 |
import org.gvsig.fmap.dal.feature.Feature; |
|
30 | 28 |
|
31 |
public interface IPictureMarkerSymbol extends IMarkerSymbol { |
|
29 |
public interface IPictureMarkerSymbol extends IMarkerSymbol_v2 {
|
|
32 | 30 |
|
33 | 31 |
/** |
34 | 32 |
* Sets the file for the image to be used as a marker symbol |
35 | 33 |
* |
36 |
* @param imageFile , File
|
|
34 |
* @param imageUrl
|
|
37 | 35 |
* @throws IOException |
38 | 36 |
*/ |
39 | 37 |
public abstract void setImage(URL imageUrl) throws IOException; |
... | ... | |
42 | 40 |
* Sets the file for the image to be used as a marker symbol (when it is |
43 | 41 |
* selected in the map) |
44 | 42 |
* |
45 |
* @param imageFile , File
|
|
43 |
* @param imageFileUrl
|
|
46 | 44 |
* @throws IOException |
47 | 45 |
*/ |
48 | 46 |
public abstract void setSelImage(URL imageFileUrl) throws IOException; |
49 | 47 |
|
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 | 48 |
/** |
57 | 49 |
* Returns the URL of the image that is used as a marker symbol |
58 | 50 |
* |
... | ... | |
68 | 60 |
*/ |
69 | 61 |
public abstract URL getSelectedSource(); |
70 | 62 |
|
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 | 63 |
} |
Also available in: Unified diff