Revision 884 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLayer.java
FLayer.java | ||
---|---|---|
1 | 1 |
package com.iver.cit.gvsig.fmap.layers; |
2 | 2 |
|
3 |
import java.awt.Graphics2D; |
|
4 |
import java.awt.geom.Rectangle2D; |
|
5 |
import java.awt.image.BufferedImage; |
|
3 |
import com.hardcode.driverManager.DriverLoadException; |
|
6 | 4 |
|
7 |
import org.cresques.geo.Projected; |
|
8 |
|
|
9 |
import com.hardcode.driverManager.DriverLoadException; |
|
10 | 5 |
import com.iver.cit.gvsig.fmap.DriverException; |
11 | 6 |
import com.iver.cit.gvsig.fmap.FMap; |
12 | 7 |
import com.iver.cit.gvsig.fmap.ViewPort; |
13 | 8 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
14 | 9 |
import com.iver.cit.gvsig.fmap.operations.Cancellable; |
10 |
|
|
15 | 11 |
import com.iver.utiles.XMLEntity; |
16 | 12 |
|
13 |
import org.cresques.geo.Projected; |
|
17 | 14 |
|
15 |
import java.awt.Graphics2D; |
|
16 |
import java.awt.geom.Rectangle2D; |
|
17 |
import java.awt.image.BufferedImage; |
|
18 |
|
|
19 |
|
|
18 | 20 |
/** |
19 | 21 |
* DOCUMENT ME! |
20 | 22 |
*/ |
... | ... | |
23 | 25 |
* Obtiene una representaci?n de la colecci?n de capas de forma recursiva |
24 | 26 |
* |
25 | 27 |
* @return DOCUMENT ME! |
26 |
* |
|
27 |
* @throws DriverException |
|
28 | 28 |
*/ |
29 | 29 |
XMLEntity getXMLEntity(); |
30 | 30 |
|
... | ... | |
34 | 34 |
* @param xml DOCUMENT ME! |
35 | 35 |
* |
36 | 36 |
* @throws XMLException |
37 |
* @throws DriverException DOCUMENT ME! |
|
37 | 38 |
*/ |
38 | 39 |
void setXMLEntity(XMLEntity xml) throws XMLException, DriverException; |
39 | 40 |
|
... | ... | |
95 | 96 |
*/ |
96 | 97 |
public FLayers getParentLayer(); |
97 | 98 |
|
99 |
/** |
|
100 |
* Devuelve el FMap al est? a?adida la capa o null |
|
101 |
* si la capa no ha sido a?adida a ning?n FMap |
|
102 |
* |
|
103 |
* @return FMap |
|
104 |
*/ |
|
98 | 105 |
public FMap getFMap(); |
99 |
|
|
106 |
|
|
100 | 107 |
/** |
101 | 108 |
* DOCUMENT ME! |
102 | 109 |
* |
... | ... | |
109 | 116 |
* |
110 | 117 |
* @return DOCUMENT ME! |
111 | 118 |
* |
112 |
* @throws DriverIOException DOCUMENT ME!
|
|
119 |
* @throws DriverException DOCUMENT ME! |
|
113 | 120 |
*/ |
114 | 121 |
Rectangle2D getFullExtent() throws DriverException; |
115 | 122 |
|
... | ... | |
121 | 128 |
* @param viewPort DOCUMENT ME! |
122 | 129 |
* @param cancel |
123 | 130 |
* |
124 |
* @throws DriverIOException DOCUMENT ME! |
|
125 |
* @throws DriverLoadException |
|
126 | 131 |
* @throws DriverException |
127 | 132 |
*/ |
128 | 133 |
void draw(BufferedImage image, Graphics2D g, ViewPort viewPort, |
129 |
Cancellable cancel) |
|
130 |
throws DriverException; |
|
134 |
Cancellable cancel) throws DriverException; |
|
131 | 135 |
|
132 | 136 |
/** |
133 | 137 |
* Dibuja la capa |
134 | 138 |
* |
135 |
* @param image DOCUMENT ME! |
|
136 | 139 |
* @param g DOCUMENT ME! |
137 | 140 |
* @param viewPort DOCUMENT ME! |
138 | 141 |
* @param cancel |
139 | 142 |
* |
140 |
* @throws DriverIOException DOCUMENT ME! |
|
141 |
* @throws DriverLoadException |
|
142 | 143 |
* @throws DriverException |
143 | 144 |
*/ |
144 |
void print(Graphics2D g, ViewPort viewPort, |
|
145 |
Cancellable cancel) |
|
145 |
void print(Graphics2D g, ViewPort viewPort, Cancellable cancel) |
|
146 | 146 |
throws DriverException; |
147 | 147 |
|
148 |
/** |
|
149 |
* DOCUMENT ME! |
|
150 |
* |
|
151 |
* @param o DOCUMENT ME! |
|
152 |
* |
|
153 |
* @return DOCUMENT ME! |
|
154 |
*/ |
|
148 | 155 |
public boolean addLayerListener(LayerListener o); |
149 | 156 |
|
157 |
/** |
|
158 |
* DOCUMENT ME! |
|
159 |
* |
|
160 |
* @param o DOCUMENT ME! |
|
161 |
* |
|
162 |
* @return DOCUMENT ME! |
|
163 |
*/ |
|
150 | 164 |
public boolean removeLayerListener(LayerListener o); |
151 | 165 |
} |
Also available in: Unified diff