Revision 36638 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/layers/vectorial/GraphicLayer.java
GraphicLayer.java | ||
---|---|---|
21 | 21 |
*/ |
22 | 22 |
package org.gvsig.fmap.mapcontext.layers.vectorial; |
23 | 23 |
|
24 |
import java.util.Iterator; |
|
25 |
|
|
24 | 26 |
import org.gvsig.fmap.geom.Geometry; |
25 | 27 |
import org.gvsig.fmap.mapcontext.MapContext; |
26 | 28 |
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol; |
... | ... | |
78 | 80 |
public int getSymbolId(ISymbol symbol); |
79 | 81 |
|
80 | 82 |
/** |
81 |
* Adds a new {@link Geometry} to be rendered into the layer. |
|
82 |
* |
|
83 |
* @param groupId |
|
84 |
* group identifier. Allows to identify a group of |
|
85 |
* {@link Geometry} added to the layer |
|
86 |
* @param geom |
|
87 |
* the {@link Geometry} to add |
|
88 |
* @param idsym |
|
89 |
* the {@link ISymbol} identifier to apply to render the |
|
90 |
* {@link Geometry} |
|
91 |
*/ |
|
92 |
public void addGraphic(String groupId, Geometry geom, int idsym); |
|
93 |
|
|
94 |
/** |
|
95 | 83 |
* @deprecated @see |
96 | 84 |
* {@link #addGraphic(String, Geometry, int, String, Object, int) |
97 | 85 |
|
... | ... | |
105 | 93 |
*/ |
106 | 94 |
public void addGraphic(Geometry geom, int idsym, String label); |
107 | 95 |
|
96 |
/** |
|
97 |
* Adds a new {@link Geometry} to be rendered into the layer. |
|
98 |
* |
|
99 |
* @param groupId |
|
100 |
* group identifier. Allows to identify a group of |
|
101 |
* {@link Geometry} added to the layer |
|
102 |
* @param geom |
|
103 |
* the {@link Geometry} to add |
|
104 |
* @param idsym |
|
105 |
* the {@link ISymbol} identifier to apply to render the |
|
106 |
* {@link Geometry} |
|
107 |
*/ |
|
108 |
public void addGraphic(String groupId, Geometry geom, int idsym); |
|
109 |
|
|
108 | 110 |
/** |
109 | 111 |
* Adds a new {@link Geometry} to be rendered into the layer. |
110 | 112 |
* |
... | ... | |
147 | 149 |
public void addGraphic(String groupId, Geometry geom, int idsym, |
148 | 150 |
String label, Object tag, int priority); |
149 | 151 |
|
152 |
/** |
|
153 |
* Adds a new {@link Geometry} to be rendered into the layer. |
|
154 |
* |
|
155 |
* @param groupId |
|
156 |
* group identifier. Allows to identify a group of |
|
157 |
* {@link Geometry} added to the layer |
|
158 |
* @param geoms |
|
159 |
* the {@link Geometry}s to add |
|
160 |
* @param idsym |
|
161 |
* the {@link ISymbol} identifier to apply to render the |
|
162 |
* {@link Geometry} |
|
163 |
*/ |
|
164 |
public void addGraphics(String groupId, Iterator geoms, int idsym); |
|
165 |
|
|
166 |
/** |
|
167 |
* Adds a new {@link Geometry} to be rendered into the layer. |
|
168 |
* |
|
169 |
* @param groupId |
|
170 |
* group identifier. Allows to identify a group of |
|
171 |
* {@link Geometry} added to the layer |
|
172 |
* @param geoms |
|
173 |
* the {@link Geometry}s to add |
|
174 |
* @param idsym |
|
175 |
* the {@link ISymbol} identifier to apply to render the |
|
176 |
* {@link Geometry} |
|
177 |
* @param label |
|
178 |
* the text to show if the {@link ISymbol} is a |
|
179 |
* {@link ITextSymbol}. Set null otherwise. |
|
180 |
*/ |
|
181 |
public void addGraphics(String groupId, Iterator geoms, int idsym, |
|
182 |
String label); |
|
183 |
|
|
184 |
/** |
|
185 |
* Adds a new {@link Geometry} to be rendered into the layer. |
|
186 |
* |
|
187 |
* @param groupId |
|
188 |
* group identifier. Allows to identify a group of |
|
189 |
* {@link Geometry} added to the layer |
|
190 |
* @param geoms |
|
191 |
* the {@link Geometry}s to add |
|
192 |
* @param idsym |
|
193 |
* the {@link ISymbol} identifier to apply to render the |
|
194 |
* {@link Geometry} |
|
195 |
* @param label |
|
196 |
* the text to show if the {@link ISymbol} is a |
|
197 |
* {@link ITextSymbol}. Set null otherwise. |
|
198 |
* @param tag |
|
199 |
* an object to classify, identify or add related information to |
|
200 |
* the {@link Geometry} |
|
201 |
* @param priority |
|
202 |
* to apply while rendering the {@link Geometry}. Values with |
|
203 |
* lower priority will be rendered first. |
|
204 |
*/ |
|
205 |
public void addGraphics(String groupId, Iterator geoms, int idsym, |
|
206 |
String label, Object tag, int priority); |
|
207 |
|
|
150 | 208 |
/** |
151 | 209 |
* Removes all previously registered {@link Geometry} objects from the layer |
152 | 210 |
* with the given groupId. |
Also available in: Unified diff