Revision 2970 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/GraphicLayer.java
GraphicLayer.java | ||
---|---|---|
127 | 127 |
return -1; |
128 | 128 |
|
129 | 129 |
} |
130 |
/** |
|
131 |
* Add a graphic to the graphic layer. |
|
132 |
* @param g |
|
133 |
* @return index of graphic created. |
|
134 |
*/ |
|
130 | 135 |
public int addGraphic(FGraphic g) |
131 | 136 |
{ |
132 | 137 |
if (graphics.add(g)) |
... | ... | |
143 | 148 |
|
144 | 149 |
} |
145 | 150 |
|
151 |
/** |
|
152 |
* |
|
153 |
*/ |
|
146 | 154 |
public void clearAllGraphics() |
147 | 155 |
{ |
156 |
System.err.println("Clear all graphics. Antes hab?a " + graphics.size()); |
|
148 | 157 |
graphics.clear(); |
149 | 158 |
} |
159 |
/** |
|
160 |
* |
|
161 |
*/ |
|
150 | 162 |
public void clearSymbolsGraphics() |
151 | 163 |
{ |
152 | 164 |
symbols.clear(); |
Also available in: Unified diff