root / branches / v2_0_0_prep / libraries / 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 @ 34294
History | View | Annotate | Download (1.12 KB)
1 |
package org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker; |
---|---|
2 |
|
3 |
import java.io.IOException; |
4 |
import java.net.URL; |
5 |
|
6 |
public interface IPictureMarkerSymbol extends IMarkerSymbol{ |
7 |
|
8 |
/**
|
9 |
* Sets the file for the image to be used as a marker symbol
|
10 |
*
|
11 |
* @param imageFile
|
12 |
* , File
|
13 |
* @throws IOException
|
14 |
*/
|
15 |
public abstract void setImage(URL imageUrl) throws IOException; |
16 |
|
17 |
/**
|
18 |
* Sets the file for the image to be used as a marker symbol (when it is
|
19 |
* selected in the map)
|
20 |
*
|
21 |
* @param imageFile
|
22 |
* , File
|
23 |
* @throws IOException
|
24 |
*/
|
25 |
public abstract void setSelImage(URL imageFileUrl) throws IOException; |
26 |
|
27 |
// public void print(Graphics2D g, AffineTransform at, FShape shape)
|
28 |
// throws ReadDriverException {
|
29 |
// // TODO Implement it
|
30 |
// throw new Error("Not yet implemented!");
|
31 |
//
|
32 |
// }
|
33 |
/**
|
34 |
* Returns the URL of the image that is used as a marker symbol
|
35 |
* @return imagePath,URL
|
36 |
*/
|
37 |
public abstract URL getSource(); |
38 |
|
39 |
/**
|
40 |
* Returns the URL of the image that is used as a marker symbol (when it
|
41 |
is selected in the map)
|
42 |
* @return selimagePath,URL
|
43 |
*/
|
44 |
public abstract URL getSelectedSource(); |
45 |
|
46 |
} |