Line | Hits | Source |
---|---|---|
1 | // A Java MapScript module for MapServer. | |
2 | // See <http://mapserver.gis.umn.edu> for information on MapServer. | |
3 | // | |
4 | // Copyright (C) 2003 Andrew Collins <andrewrcollins@yahoo.com> | |
5 | // | |
6 | // This library is free software; you can redistribute it | |
7 | // and/or modify it under the terms of the GNU Lesser General | |
8 | // Public License as published by the Free Software Foundation; | |
9 | // either version 2.1 of the License, or (at your option) any | |
10 | // later version. | |
11 | // | |
12 | // This library is distributed in the hope that it will be useful, | |
13 | // but WITHOUT ANY WARRANTY; without even the implied warranty | |
14 | // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
15 | // See the GNU Lesser General Public License for more details. | |
16 | // | |
17 | // You should have received a copy of the GNU Lesser General | |
18 | // Public License along with this library; if not, write to | |
19 | // the Free Software Foundation, Inc., 59 Temple Place, | |
20 | // Suite 330, Boston, MA 02111-1307 USA | |
21 | package edu.umn.gis.mapscript.imp; | |
22 | ||
23 | /** | |
24 | * DOCUMENT ME! | |
25 | * | |
26 | * @author <a href="mailto:ADDRESS">NAME</a> | |
27 | * | |
28 | * @todo CLASS_DESCRIPTION | |
29 | */ | |
30 | public class layerObj | |
31 | { | |
32 | /** | |
33 | * DOCUMENT ME! | |
34 | * | |
35 | * @todo FIELD_DESCRIPTION | |
36 | */ | |
37 | protected boolean swigCMemOwn; | |
38 | ||
39 | /** | |
40 | * DOCUMENT ME! | |
41 | * | |
42 | * @todo FIELD_DESCRIPTION | |
43 | */ | |
44 | private long swigCPtr; | |
45 | ||
46 | /** | |
47 | * Creates a new layerObj object. | |
48 | * | |
49 | * @param map PARAMETER | |
50 | */ | |
51 | public layerObj(mapObj map) | |
52 | { | |
53 | 0 | this(MapScriptJNI.new_layerObj(mapObj.getCPtr(map)), true); |
54 | 0 | } |
55 | ||
56 | /** | |
57 | * Creates a new layerObj object. | |
58 | * | |
59 | * @param cPtr PARAMETER | |
60 | * @param cMemoryOwn PARAMETER | |
61 | */ | |
62 | protected layerObj(long cPtr, boolean cMemoryOwn) | |
63 | 0 | { |
64 | 0 | swigCMemOwn = cMemoryOwn; |
65 | 0 | swigCPtr = cPtr; |
66 | 0 | } |
67 | ||
68 | /** | |
69 | * Creates a new layerObj object. | |
70 | */ | |
71 | protected layerObj() | |
72 | { | |
73 | 0 | this(0, false); |
74 | 0 | } |
75 | ||
76 | /** | |
77 | * DOCUMENT ME! | |
78 | * | |
79 | * @param annotate PARAMETER | |
80 | * | |
81 | * @todo METHOD_DESCRIPTION | |
82 | */ | |
83 | public void setAnnotate(int annotate) | |
84 | { | |
85 | 0 | MapScriptJNI.set_layerObj_annotate(swigCPtr, annotate); |
86 | 0 | } |
87 | ||
88 | /** | |
89 | * DOCUMENT ME! | |
90 | * | |
91 | * @return RETURN | |
92 | * | |
93 | * @todo METHOD_DESCRIPTION | |
94 | */ | |
95 | public int getAnnotate() | |
96 | { | |
97 | 0 | return MapScriptJNI.get_layerObj_annotate(swigCPtr); |
98 | } | |
99 | ||
100 | /** | |
101 | * DOCUMENT ME! | |
102 | * | |
103 | * @param i PARAMETER | |
104 | * | |
105 | * @return RETURN | |
106 | * | |
107 | * @todo METHOD_DESCRIPTION | |
108 | */ | |
109 | public classObj getClass(int i) | |
110 | { | |
111 | 0 | return new classObj(MapScriptJNI.layerObj_getClass(swigCPtr, i), false); |
112 | } | |
113 | ||
114 | /** | |
115 | * DOCUMENT ME! | |
116 | * | |
117 | * @param classitem PARAMETER | |
118 | * | |
119 | * @todo METHOD_DESCRIPTION | |
120 | */ | |
121 | public void setClassitem(String classitem) | |
122 | { | |
123 | 0 | MapScriptJNI.set_layerObj_classitem(swigCPtr, classitem); |
124 | 0 | } |
125 | ||
126 | /** | |
127 | * DOCUMENT ME! | |
128 | * | |
129 | * @return RETURN | |
130 | * | |
131 | * @todo METHOD_DESCRIPTION | |
132 | */ | |
133 | public String getClassitem() | |
134 | { | |
135 | 0 | return MapScriptJNI.get_layerObj_classitem(swigCPtr); |
136 | } | |
137 | ||
138 | /** | |
139 | * DOCUMENT ME! | |
140 | * | |
141 | * @param classitemindex PARAMETER | |
142 | * | |
143 | * @todo METHOD_DESCRIPTION | |
144 | */ | |
145 | public void setClassitemindex(int classitemindex) | |
146 | { | |
147 | 0 | MapScriptJNI.set_layerObj_classitemindex(swigCPtr, classitemindex); |
148 | 0 | } |
149 | ||
150 | /** | |
151 | * DOCUMENT ME! | |
152 | * | |
153 | * @return RETURN | |
154 | * | |
155 | * @todo METHOD_DESCRIPTION | |
156 | */ | |
157 | public int getClassitemindex() | |
158 | { | |
159 | 0 | return MapScriptJNI.get_layerObj_classitemindex(swigCPtr); |
160 | } | |
161 | ||
162 | /** | |
163 | * DOCUMENT ME! | |
164 | * | |
165 | * @param connection PARAMETER | |
166 | * | |
167 | * @todo METHOD_DESCRIPTION | |
168 | */ | |
169 | public void setConnection(String connection) | |
170 | { | |
171 | 0 | MapScriptJNI.set_layerObj_connection(swigCPtr, connection); |
172 | 0 | } |
173 | ||
174 | /** | |
175 | * DOCUMENT ME! | |
176 | * | |
177 | * @return RETURN | |
178 | * | |
179 | * @todo METHOD_DESCRIPTION | |
180 | */ | |
181 | public String getConnection() | |
182 | { | |
183 | 0 | return MapScriptJNI.get_layerObj_connection(swigCPtr); |
184 | } | |
185 | ||
186 | /** | |
187 | * DOCUMENT ME! | |
188 | * | |
189 | * @param connectiontype PARAMETER | |
190 | * | |
191 | * @todo METHOD_DESCRIPTION | |
192 | */ | |
193 | public void setConnectiontype(int connectiontype) | |
194 | { | |
195 | 0 | MapScriptJNI.set_layerObj_connectiontype(swigCPtr, connectiontype); |
196 | 0 | } |
197 | ||
198 | /** | |
199 | * DOCUMENT ME! | |
200 | * | |
201 | * @return RETURN | |
202 | * | |
203 | * @todo METHOD_DESCRIPTION | |
204 | */ | |
205 | public int getConnectiontype() | |
206 | { | |
207 | 0 | return MapScriptJNI.get_layerObj_connectiontype(swigCPtr); |
208 | } | |
209 | ||
210 | /** | |
211 | * DOCUMENT ME! | |
212 | * | |
213 | * @param data PARAMETER | |
214 | * | |
215 | * @todo METHOD_DESCRIPTION | |
216 | */ | |
217 | public void setData(String data) | |
218 | { | |
219 | 0 | MapScriptJNI.set_layerObj_data(swigCPtr, data); |
220 | 0 | } |
221 | ||
222 | /** | |
223 | * DOCUMENT ME! | |
224 | * | |
225 | * @return RETURN | |
226 | * | |
227 | * @todo METHOD_DESCRIPTION | |
228 | */ | |
229 | public String getData() | |
230 | { | |
231 | 0 | return MapScriptJNI.get_layerObj_data(swigCPtr); |
232 | } | |
233 | ||
234 | /** | |
235 | * DOCUMENT ME! | |
236 | * | |
237 | * @param dump PARAMETER | |
238 | * | |
239 | * @todo METHOD_DESCRIPTION | |
240 | */ | |
241 | public void setDump(int dump) | |
242 | { | |
243 | 0 | MapScriptJNI.set_layerObj_dump(swigCPtr, dump); |
244 | 0 | } |
245 | ||
246 | /** | |
247 | * DOCUMENT ME! | |
248 | * | |
249 | * @return RETURN | |
250 | * | |
251 | * @todo METHOD_DESCRIPTION | |
252 | */ | |
253 | public int getDump() | |
254 | { | |
255 | 0 | return MapScriptJNI.get_layerObj_dump(swigCPtr); |
256 | } | |
257 | ||
258 | /** | |
259 | * DOCUMENT ME! | |
260 | * | |
261 | * @param string PARAMETER | |
262 | * | |
263 | * @return RETURN | |
264 | * | |
265 | * @todo METHOD_DESCRIPTION | |
266 | */ | |
267 | public int setFilter(String string) | |
268 | { | |
269 | 0 | return MapScriptJNI.layerObj_setFilter(swigCPtr, string); |
270 | } | |
271 | ||
272 | /** | |
273 | * DOCUMENT ME! | |
274 | * | |
275 | * @param filteritem PARAMETER | |
276 | * | |
277 | * @todo METHOD_DESCRIPTION | |
278 | */ | |
279 | public void setFilteritem(String filteritem) | |
280 | { | |
281 | 0 | MapScriptJNI.set_layerObj_filteritem(swigCPtr, filteritem); |
282 | 0 | } |
283 | ||
284 | /** | |
285 | * DOCUMENT ME! | |
286 | * | |
287 | * @return RETURN | |
288 | * | |
289 | * @todo METHOD_DESCRIPTION | |
290 | */ | |
291 | public String getFilteritem() | |
292 | { | |
293 | 0 | return MapScriptJNI.get_layerObj_filteritem(swigCPtr); |
294 | } | |
295 | ||
296 | /** | |
297 | * DOCUMENT ME! | |
298 | * | |
299 | * @param filteritemindex PARAMETER | |
300 | * | |
301 | * @todo METHOD_DESCRIPTION | |
302 | */ | |
303 | public void setFilteritemindex(int filteritemindex) | |
304 | { | |
305 | 0 | MapScriptJNI.set_layerObj_filteritemindex(swigCPtr, filteritemindex); |
306 | 0 | } |
307 | ||
308 | /** | |
309 | * DOCUMENT ME! | |
310 | * | |
311 | * @return RETURN | |
312 | * | |
313 | * @todo METHOD_DESCRIPTION | |
314 | */ | |
315 | public int getFilteritemindex() | |
316 | { | |
317 | 0 | return MapScriptJNI.get_layerObj_filteritemindex(swigCPtr); |
318 | } | |
319 | ||
320 | /** | |
321 | * DOCUMENT ME! | |
322 | * | |
323 | * @param footer PARAMETER | |
324 | * | |
325 | * @todo METHOD_DESCRIPTION | |
326 | */ | |
327 | public void setFooter(String footer) | |
328 | { | |
329 | 0 | MapScriptJNI.set_layerObj_footer(swigCPtr, footer); |
330 | 0 | } |
331 | ||
332 | /** | |
333 | * DOCUMENT ME! | |
334 | * | |
335 | * @return RETURN | |
336 | * | |
337 | * @todo METHOD_DESCRIPTION | |
338 | */ | |
339 | public String getFooter() | |
340 | { | |
341 | 0 | return MapScriptJNI.get_layerObj_footer(swigCPtr); |
342 | } | |
343 | ||
344 | /** | |
345 | * DOCUMENT ME! | |
346 | * | |
347 | * @param group PARAMETER | |
348 | * | |
349 | * @todo METHOD_DESCRIPTION | |
350 | */ | |
351 | public void setGroup(String group) | |
352 | { | |
353 | 0 | MapScriptJNI.set_layerObj_group(swigCPtr, group); |
354 | 0 | } |
355 | ||
356 | /** | |
357 | * DOCUMENT ME! | |
358 | * | |
359 | * @return RETURN | |
360 | * | |
361 | * @todo METHOD_DESCRIPTION | |
362 | */ | |
363 | public String getGroup() | |
364 | { | |
365 | 0 | return MapScriptJNI.get_layerObj_group(swigCPtr); |
366 | } | |
367 | ||
368 | /** | |
369 | * DOCUMENT ME! | |
370 | * | |
371 | * @param header PARAMETER | |
372 | * | |
373 | * @todo METHOD_DESCRIPTION | |
374 | */ | |
375 | public void setHeader(String header) | |
376 | { | |
377 | 0 | MapScriptJNI.set_layerObj_header(swigCPtr, header); |
378 | 0 | } |
379 | ||
380 | /** | |
381 | * DOCUMENT ME! | |
382 | * | |
383 | * @return RETURN | |
384 | * | |
385 | * @todo METHOD_DESCRIPTION | |
386 | */ | |
387 | public String getHeader() | |
388 | { | |
389 | 0 | return MapScriptJNI.get_layerObj_header(swigCPtr); |
390 | } | |
391 | ||
392 | /** | |
393 | * DOCUMENT ME! | |
394 | * | |
395 | * @param index PARAMETER | |
396 | * | |
397 | * @todo METHOD_DESCRIPTION | |
398 | */ | |
399 | public void setIndex(int index) | |
400 | { | |
401 | 0 | MapScriptJNI.set_layerObj_index(swigCPtr, index); |
402 | 0 | } |
403 | ||
404 | /** | |
405 | * DOCUMENT ME! | |
406 | * | |
407 | * @return RETURN | |
408 | * | |
409 | * @todo METHOD_DESCRIPTION | |
410 | */ | |
411 | public int getIndex() | |
412 | { | |
413 | 0 | return MapScriptJNI.get_layerObj_index(swigCPtr); |
414 | } | |
415 | ||
416 | /** | |
417 | * DOCUMENT ME! | |
418 | * | |
419 | * @param i PARAMETER | |
420 | * | |
421 | * @return RETURN | |
422 | * | |
423 | * @todo METHOD_DESCRIPTION | |
424 | */ | |
425 | public String getItem(int i) | |
426 | { | |
427 | 0 | return MapScriptJNI.layerObj_getItem(swigCPtr, i); |
428 | } | |
429 | ||
430 | /** | |
431 | * DOCUMENT ME! | |
432 | * | |
433 | * @param items PARAMETER | |
434 | * | |
435 | * @todo METHOD_DESCRIPTION | |
436 | */ | |
437 | public void setItems(SWIGTYPE_p_p_char items) | |
438 | { | |
439 | 0 | MapScriptJNI.set_layerObj_items(swigCPtr, SWIGTYPE_p_p_char.getCPtr(items)); |
440 | 0 | } |
441 | ||
442 | /** | |
443 | * DOCUMENT ME! | |
444 | * | |
445 | * @return RETURN | |
446 | * | |
447 | * @todo METHOD_DESCRIPTION | |
448 | */ | |
449 | public SWIGTYPE_p_p_char getItems() | |
450 | { | |
451 | 0 | return new SWIGTYPE_p_p_char(MapScriptJNI.get_layerObj_items(swigCPtr), |
452 | false); | |
453 | } | |
454 | ||
455 | /** | |
456 | * DOCUMENT ME! | |
457 | * | |
458 | * @param labelangleitem PARAMETER | |
459 | * | |
460 | * @todo METHOD_DESCRIPTION | |
461 | */ | |
462 | public void setLabelangleitem(String labelangleitem) | |
463 | { | |
464 | 0 | MapScriptJNI.set_layerObj_labelangleitem(swigCPtr, labelangleitem); |
465 | 0 | } |
466 | ||
467 | /** | |
468 | * DOCUMENT ME! | |
469 | * | |
470 | * @return RETURN | |
471 | * | |
472 | * @todo METHOD_DESCRIPTION | |
473 | */ | |
474 | public String getLabelangleitem() | |
475 | { | |
476 | 0 | return MapScriptJNI.get_layerObj_labelangleitem(swigCPtr); |
477 | } | |
478 | ||
479 | /** | |
480 | * DOCUMENT ME! | |
481 | * | |
482 | * @param labelangleitemindex PARAMETER | |
483 | * | |
484 | * @todo METHOD_DESCRIPTION | |
485 | */ | |
486 | public void setLabelangleitemindex(int labelangleitemindex) | |
487 | { | |
488 | 0 | MapScriptJNI.set_layerObj_labelangleitemindex(swigCPtr, labelangleitemindex); |
489 | 0 | } |
490 | ||
491 | /** | |
492 | * DOCUMENT ME! | |
493 | * | |
494 | * @return RETURN | |
495 | * | |
496 | * @todo METHOD_DESCRIPTION | |
497 | */ | |
498 | public int getLabelangleitemindex() | |
499 | { | |
500 | 0 | return MapScriptJNI.get_layerObj_labelangleitemindex(swigCPtr); |
501 | } | |
502 | ||
503 | /** | |
504 | * DOCUMENT ME! | |
505 | * | |
506 | * @param labelcache PARAMETER | |
507 | * | |
508 | * @todo METHOD_DESCRIPTION | |
509 | */ | |
510 | public void setLabelcache(int labelcache) | |
511 | { | |
512 | 0 | MapScriptJNI.set_layerObj_labelcache(swigCPtr, labelcache); |
513 | 0 | } |
514 | ||
515 | /** | |
516 | * DOCUMENT ME! | |
517 | * | |
518 | * @return RETURN | |
519 | * | |
520 | * @todo METHOD_DESCRIPTION | |
521 | */ | |
522 | public int getLabelcache() | |
523 | { | |
524 | 0 | return MapScriptJNI.get_layerObj_labelcache(swigCPtr); |
525 | } | |
526 | ||
527 | /** | |
528 | * DOCUMENT ME! | |
529 | * | |
530 | * @param labelitem PARAMETER | |
531 | * | |
532 | * @todo METHOD_DESCRIPTION | |
533 | */ | |
534 | public void setLabelitem(String labelitem) | |
535 | { | |
536 | 0 | MapScriptJNI.set_layerObj_labelitem(swigCPtr, labelitem); |
537 | 0 | } |
538 | ||
539 | /** | |
540 | * DOCUMENT ME! | |
541 | * | |
542 | * @return RETURN | |
543 | * | |
544 | * @todo METHOD_DESCRIPTION | |
545 | */ | |
546 | public String getLabelitem() | |
547 | { | |
548 | 0 | return MapScriptJNI.get_layerObj_labelitem(swigCPtr); |
549 | } | |
550 | ||
551 | /** | |
552 | * DOCUMENT ME! | |
553 | * | |
554 | * @param labelitemindex PARAMETER | |
555 | * | |
556 | * @todo METHOD_DESCRIPTION | |
557 | */ | |
558 | public void setLabelitemindex(int labelitemindex) | |
559 | { | |
560 | 0 | MapScriptJNI.set_layerObj_labelitemindex(swigCPtr, labelitemindex); |
561 | 0 | } |
562 | ||
563 | /** | |
564 | * DOCUMENT ME! | |
565 | * | |
566 | * @return RETURN | |
567 | * | |
568 | * @todo METHOD_DESCRIPTION | |
569 | */ | |
570 | public int getLabelitemindex() | |
571 | { | |
572 | 0 | return MapScriptJNI.get_layerObj_labelitemindex(swigCPtr); |
573 | } | |
574 | ||
575 | /** | |
576 | * DOCUMENT ME! | |
577 | * | |
578 | * @param labelmaxscale PARAMETER | |
579 | * | |
580 | * @todo METHOD_DESCRIPTION | |
581 | */ | |
582 | public void setLabelmaxscale(double labelmaxscale) | |
583 | { | |
584 | 0 | MapScriptJNI.set_layerObj_labelmaxscale(swigCPtr, labelmaxscale); |
585 | 0 | } |
586 | ||
587 | /** | |
588 | * DOCUMENT ME! | |
589 | * | |
590 | * @return RETURN | |
591 | * | |
592 | * @todo METHOD_DESCRIPTION | |
593 | */ | |
594 | public double getLabelmaxscale() | |
595 | { | |
596 | 0 | return MapScriptJNI.get_layerObj_labelmaxscale(swigCPtr); |
597 | } | |
598 | ||
599 | /** | |
600 | * DOCUMENT ME! | |
601 | * | |
602 | * @param labelminscale PARAMETER | |
603 | * | |
604 | * @todo METHOD_DESCRIPTION | |
605 | */ | |
606 | public void setLabelminscale(double labelminscale) | |
607 | { | |
608 | 0 | MapScriptJNI.set_layerObj_labelminscale(swigCPtr, labelminscale); |
609 | 0 | } |
610 | ||
611 | /** | |
612 | * DOCUMENT ME! | |
613 | * | |
614 | * @return RETURN | |
615 | * | |
616 | * @todo METHOD_DESCRIPTION | |
617 | */ | |
618 | public double getLabelminscale() | |
619 | { | |
620 | 0 | return MapScriptJNI.get_layerObj_labelminscale(swigCPtr); |
621 | } | |
622 | ||
623 | /** | |
624 | * DOCUMENT ME! | |
625 | * | |
626 | * @param labelrequires PARAMETER | |
627 | * | |
628 | * @todo METHOD_DESCRIPTION | |
629 | */ | |
630 | public void setLabelrequires(String labelrequires) | |
631 | { | |
632 | 0 | MapScriptJNI.set_layerObj_labelrequires(swigCPtr, labelrequires); |
633 | 0 | } |
634 | ||
635 | /** | |
636 | * DOCUMENT ME! | |
637 | * | |
638 | * @return RETURN | |
639 | * | |
640 | * @todo METHOD_DESCRIPTION | |
641 | */ | |
642 | public String getLabelrequires() | |
643 | { | |
644 | 0 | return MapScriptJNI.get_layerObj_labelrequires(swigCPtr); |
645 | } | |
646 | ||
647 | /** | |
648 | * DOCUMENT ME! | |
649 | * | |
650 | * @param labelsizeitem PARAMETER | |
651 | * | |
652 | * @todo METHOD_DESCRIPTION | |
653 | */ | |
654 | public void setLabelsizeitem(String labelsizeitem) | |
655 | { | |
656 | 0 | MapScriptJNI.set_layerObj_labelsizeitem(swigCPtr, labelsizeitem); |
657 | 0 | } |
658 | ||
659 | /** | |
660 | * DOCUMENT ME! | |
661 | * | |
662 | * @return RETURN | |
663 | * | |
664 | * @todo METHOD_DESCRIPTION | |
665 | */ | |
666 | public String getLabelsizeitem() | |
667 | { | |
668 | 0 | return MapScriptJNI.get_layerObj_labelsizeitem(swigCPtr); |
669 | } | |
670 | ||
671 | /** | |
672 | * DOCUMENT ME! | |
673 | * | |
674 | * @param labelsizeitemindex PARAMETER | |
675 | * | |
676 | * @todo METHOD_DESCRIPTION | |
677 | */ | |
678 | public void setLabelsizeitemindex(int labelsizeitemindex) | |
679 | { | |
680 | 0 | MapScriptJNI.set_layerObj_labelsizeitemindex(swigCPtr, labelsizeitemindex); |
681 | 0 | } |
682 | ||
683 | /** | |
684 | * DOCUMENT ME! | |
685 | * | |
686 | * @return RETURN | |
687 | * | |
688 | * @todo METHOD_DESCRIPTION | |
689 | */ | |
690 | public int getLabelsizeitemindex() | |
691 | { | |
692 | 0 | return MapScriptJNI.get_layerObj_labelsizeitemindex(swigCPtr); |
693 | } | |
694 | ||
695 | /** | |
696 | * DOCUMENT ME! | |
697 | * | |
698 | * @param maxfeatures PARAMETER | |
699 | * | |
700 | * @todo METHOD_DESCRIPTION | |
701 | */ | |
702 | public void setMaxfeatures(int maxfeatures) | |
703 | { | |
704 | 0 | MapScriptJNI.set_layerObj_maxfeatures(swigCPtr, maxfeatures); |
705 | 0 | } |
706 | ||
707 | /** | |
708 | * DOCUMENT ME! | |
709 | * | |
710 | * @return RETURN | |
711 | * | |
712 | * @todo METHOD_DESCRIPTION | |
713 | */ | |
714 | public int getMaxfeatures() | |
715 | { | |
716 | 0 | return MapScriptJNI.get_layerObj_maxfeatures(swigCPtr); |
717 | } | |
718 | ||
719 | /** | |
720 | * DOCUMENT ME! | |
721 | * | |
722 | * @param maxscale PARAMETER | |
723 | * | |
724 | * @todo METHOD_DESCRIPTION | |
725 | */ | |
726 | public void setMaxscale(double maxscale) | |
727 | { | |
728 | 0 | MapScriptJNI.set_layerObj_maxscale(swigCPtr, maxscale); |
729 | 0 | } |
730 | ||
731 | /** | |
732 | * DOCUMENT ME! | |
733 | * | |
734 | * @return RETURN | |
735 | * | |
736 | * @todo METHOD_DESCRIPTION | |
737 | */ | |
738 | public double getMaxscale() | |
739 | { | |
740 | 0 | return MapScriptJNI.get_layerObj_maxscale(swigCPtr); |
741 | } | |
742 | ||
743 | /** | |
744 | * DOCUMENT ME! | |
745 | * | |
746 | * @param name PARAMETER | |
747 | * @param value PARAMETER | |
748 | * | |
749 | * @return RETURN | |
750 | * | |
751 | * @todo METHOD_DESCRIPTION | |
752 | */ | |
753 | public int setMetaData(String name, String value) | |
754 | { | |
755 | 0 | return MapScriptJNI.layerObj_setMetaData(swigCPtr, name, value); |
756 | } | |
757 | ||
758 | /** | |
759 | * DOCUMENT ME! | |
760 | * | |
761 | * @param name PARAMETER | |
762 | * | |
763 | * @return RETURN | |
764 | * | |
765 | * @todo METHOD_DESCRIPTION | |
766 | */ | |
767 | public String getMetaData(String name) | |
768 | { | |
769 | 0 | return MapScriptJNI.layerObj_getMetaData(swigCPtr, name); |
770 | } | |
771 | ||
772 | /** | |
773 | * DOCUMENT ME! | |
774 | * | |
775 | * @param minscale PARAMETER | |
776 | * | |
777 | * @todo METHOD_DESCRIPTION | |
778 | */ | |
779 | public void setMinscale(double minscale) | |
780 | { | |
781 | 0 | MapScriptJNI.set_layerObj_minscale(swigCPtr, minscale); |
782 | 0 | } |
783 | ||
784 | /** | |
785 | * DOCUMENT ME! | |
786 | * | |
787 | * @return RETURN | |
788 | * | |
789 | * @todo METHOD_DESCRIPTION | |
790 | */ | |
791 | public double getMinscale() | |
792 | { | |
793 | 0 | return MapScriptJNI.get_layerObj_minscale(swigCPtr); |
794 | } | |
795 | ||
796 | /** | |
797 | * DOCUMENT ME! | |
798 | * | |
799 | * @param name PARAMETER | |
800 | * | |
801 | * @todo METHOD_DESCRIPTION | |
802 | */ | |
803 | public void setName(String name) | |
804 | { | |
805 | 0 | MapScriptJNI.set_layerObj_name(swigCPtr, name); |
806 | 0 | } |
807 | ||
808 | /** | |
809 | * DOCUMENT ME! | |
810 | * | |
811 | * @return RETURN | |
812 | * | |
813 | * @todo METHOD_DESCRIPTION | |
814 | */ | |
815 | public String getName() | |
816 | { | |
817 | 0 | return MapScriptJNI.get_layerObj_name(swigCPtr); |
818 | } | |
819 | ||
820 | /** | |
821 | * DOCUMENT ME! | |
822 | * | |
823 | * @return RETURN | |
824 | * | |
825 | * @todo METHOD_DESCRIPTION | |
826 | */ | |
827 | public int getNumclasses() | |
828 | { | |
829 | 0 | return MapScriptJNI.get_layerObj_numclasses(swigCPtr); |
830 | } | |
831 | ||
832 | /** | |
833 | * DOCUMENT ME! | |
834 | * | |
835 | * @param numitems PARAMETER | |
836 | * | |
837 | * @todo METHOD_DESCRIPTION | |
838 | */ | |
839 | public void setNumitems(int numitems) | |
840 | { | |
841 | 0 | MapScriptJNI.set_layerObj_numitems(swigCPtr, numitems); |
842 | 0 | } |
843 | ||
844 | /** | |
845 | * DOCUMENT ME! | |
846 | * | |
847 | * @return RETURN | |
848 | * | |
849 | * @todo METHOD_DESCRIPTION | |
850 | */ | |
851 | public int getNumitems() | |
852 | { | |
853 | 0 | return MapScriptJNI.get_layerObj_numitems(swigCPtr); |
854 | } | |
855 | ||
856 | /** | |
857 | * DOCUMENT ME! | |
858 | * | |
859 | * @param offsite PARAMETER | |
860 | * | |
861 | * @todo METHOD_DESCRIPTION | |
862 | */ | |
863 | public void setOffsite(int offsite) | |
864 | { | |
865 | 0 | MapScriptJNI.set_layerObj_offsite(swigCPtr, offsite); |
866 | 0 | } |
867 | ||
868 | /** | |
869 | * DOCUMENT ME! | |
870 | * | |
871 | * @return RETURN | |
872 | * | |
873 | * @todo METHOD_DESCRIPTION | |
874 | */ | |
875 | public int getOffsite() | |
876 | { | |
877 | 0 | return MapScriptJNI.get_layerObj_offsite(swigCPtr); |
878 | } | |
879 | ||
880 | /** | |
881 | * DOCUMENT ME! | |
882 | * | |
883 | * @param postlabelcache PARAMETER | |
884 | * | |
885 | * @todo METHOD_DESCRIPTION | |
886 | */ | |
887 | public void setPostlabelcache(int postlabelcache) | |
888 | { | |
889 | 0 | MapScriptJNI.set_layerObj_postlabelcache(swigCPtr, postlabelcache); |
890 | 0 | } |
891 | ||
892 | /** | |
893 | * DOCUMENT ME! | |
894 | * | |
895 | * @return RETURN | |
896 | * | |
897 | * @todo METHOD_DESCRIPTION | |
898 | */ | |
899 | public int getPostlabelcache() | |
900 | { | |
901 | 0 | return MapScriptJNI.get_layerObj_postlabelcache(swigCPtr); |
902 | } | |
903 | ||
904 | /** | |
905 | * DOCUMENT ME! | |
906 | * | |
907 | * @param string PARAMETER | |
908 | * | |
909 | * @return RETURN | |
910 | * | |
911 | * @todo METHOD_DESCRIPTION | |
912 | */ | |
913 | public int setProjection(String string) | |
914 | { | |
915 | 0 | return MapScriptJNI.layerObj_setProjection(swigCPtr, string); |
916 | } | |
917 | ||
918 | /** | |
919 | * DOCUMENT ME! | |
920 | * | |
921 | * @return RETURN | |
922 | * | |
923 | * @todo METHOD_DESCRIPTION | |
924 | */ | |
925 | public String getProjection() | |
926 | { | |
927 | 0 | return MapScriptJNI.layerObj_getProjection(swigCPtr); |
928 | } | |
929 | ||
930 | /** | |
931 | * DOCUMENT ME! | |
932 | * | |
933 | * @param requires PARAMETER | |
934 | * | |
935 | * @todo METHOD_DESCRIPTION | |
936 | */ | |
937 | public void setRequires(String requires) | |
938 | { | |
939 | 0 | MapScriptJNI.set_layerObj_requires(swigCPtr, requires); |
940 | 0 | } |
941 | ||
942 | /** | |
943 | * DOCUMENT ME! | |
944 | * | |
945 | * @return RETURN | |
946 | * | |
947 | * @todo METHOD_DESCRIPTION | |
948 | */ | |
949 | public String getRequires() | |
950 | { | |
951 | 0 | return MapScriptJNI.get_layerObj_requires(swigCPtr); |
952 | } | |
953 | ||
954 | /** | |
955 | * DOCUMENT ME! | |
956 | * | |
957 | * @param i PARAMETER | |
958 | * | |
959 | * @return RETURN | |
960 | * | |
961 | * @todo METHOD_DESCRIPTION | |
962 | */ | |
963 | public resultCacheMemberObj getResult(int i) | |
964 | { | |
965 | 0 | return new resultCacheMemberObj(MapScriptJNI.layerObj_getResult(swigCPtr, i), |
966 | false); | |
967 | } | |
968 | ||
969 | /** | |
970 | * DOCUMENT ME! | |
971 | * | |
972 | * @param resultcache PARAMETER | |
973 | * | |
974 | * @todo METHOD_DESCRIPTION | |
975 | */ | |
976 | public void setResultcache(resultCacheObj resultcache) | |
977 | { | |
978 | 0 | MapScriptJNI.set_layerObj_resultcache(swigCPtr, |
979 | resultCacheObj.getCPtr(resultcache)); | |
980 | 0 | } |
981 | ||
982 | /** | |
983 | * DOCUMENT ME! | |
984 | * | |
985 | * @return RETURN | |
986 | * | |
987 | * @todo METHOD_DESCRIPTION | |
988 | */ | |
989 | public resultCacheObj getResultcache() | |
990 | { | |
991 | 0 | long resultCachePtr = MapScriptJNI.get_layerObj_resultcache(swigCPtr); |
992 | ||
993 | 0 | if (resultCachePtr != 0) |
994 | { | |
995 | 0 | return new resultCacheObj(resultCachePtr, false); |
996 | } | |
997 | ||
998 | 0 | return null; |
999 | } | |
1000 | ||
1001 | /** | |
1002 | * DOCUMENT ME! | |
1003 | * | |
1004 | * @param tileindex PARAMETER | |
1005 | * @param shapeindex PARAMETER | |
1006 | * | |
1007 | * @return RETURN | |
1008 | * | |
1009 | * @todo METHOD_DESCRIPTION | |
1010 | */ | |
1011 | public shapeObj getShape(int tileindex, int shapeindex) | |
1012 | { | |
1013 | 0 | shapeObj shape = new shapeObj(MapScript.MS_SHAPE_NULL); |
1014 | ||
1015 | 0 | int returnValue = MapScriptJNI.layerObj_getShape(swigCPtr, |
1016 | shapeObj.getCPtr(shape), tileindex, shapeindex); | |
1017 | ||
1018 | 0 | if (returnValue != 0) |
1019 | { | |
1020 | 0 | return null; |
1021 | } | |
1022 | ||
1023 | 0 | return shape; |
1024 | } | |
1025 | ||
1026 | /** | |
1027 | * DOCUMENT ME! | |
1028 | * | |
1029 | * @param sizeunits PARAMETER | |
1030 | * | |
1031 | * @todo METHOD_DESCRIPTION | |
1032 | */ | |
1033 | public void setSizeunits(int sizeunits) | |
1034 | { | |
1035 | 0 | MapScriptJNI.set_layerObj_sizeunits(swigCPtr, sizeunits); |
1036 | 0 | } |
1037 | ||
1038 | /** | |
1039 | * DOCUMENT ME! | |
1040 | * | |
1041 | * @return RETURN | |
1042 | * | |
1043 | * @todo METHOD_DESCRIPTION | |
1044 | */ | |
1045 | public int getSizeunits() | |
1046 | { | |
1047 | 0 | return MapScriptJNI.get_layerObj_sizeunits(swigCPtr); |
1048 | } | |
1049 | ||
1050 | /** | |
1051 | * DOCUMENT ME! | |
1052 | * | |
1053 | * @param status PARAMETER | |
1054 | * | |
1055 | * @todo METHOD_DESCRIPTION | |
1056 | */ | |
1057 | public void setStatus(int status) | |
1058 | { | |
1059 | 0 | MapScriptJNI.set_layerObj_status(swigCPtr, status); |
1060 | 0 | } |
1061 | ||
1062 | /** | |
1063 | * DOCUMENT ME! | |
1064 | * | |
1065 | * @return RETURN | |
1066 | * | |
1067 | * @todo METHOD_DESCRIPTION | |
1068 | */ | |
1069 | public int getStatus() | |
1070 | { | |
1071 | 0 | return MapScriptJNI.get_layerObj_status(swigCPtr); |
1072 | } | |
1073 | ||
1074 | /** | |
1075 | * DOCUMENT ME! | |
1076 | * | |
1077 | * @param styleitem PARAMETER | |
1078 | * | |
1079 | * @todo METHOD_DESCRIPTION | |
1080 | */ | |
1081 | public void setStyleitem(String styleitem) | |
1082 | { | |
1083 | 0 | MapScriptJNI.set_layerObj_styleitem(swigCPtr, styleitem); |
1084 | 0 | } |
1085 | ||
1086 | /** | |
1087 | * DOCUMENT ME! | |
1088 | * | |
1089 | * @return RETURN | |
1090 | * | |
1091 | * @todo METHOD_DESCRIPTION | |
1092 | */ | |
1093 | public String getStyleitem() | |
1094 | { | |
1095 | 0 | return MapScriptJNI.get_layerObj_styleitem(swigCPtr); |
1096 | } | |
1097 | ||
1098 | /** | |
1099 | * DOCUMENT ME! | |
1100 | * | |
1101 | * @param styleitemindex PARAMETER | |
1102 | * | |
1103 | * @todo METHOD_DESCRIPTION | |
1104 | */ | |
1105 | public void setStyleitemindex(int styleitemindex) | |
1106 | { | |
1107 | 0 | MapScriptJNI.set_layerObj_styleitemindex(swigCPtr, styleitemindex); |
1108 | 0 | } |
1109 | ||
1110 | /** | |
1111 | * DOCUMENT ME! | |
1112 | * | |
1113 | * @return RETURN | |
1114 | * | |
1115 | * @todo METHOD_DESCRIPTION | |
1116 | */ | |
1117 | public int getStyleitemindex() | |
1118 | { | |
1119 | 0 | return MapScriptJNI.get_layerObj_styleitemindex(swigCPtr); |
1120 | } | |
1121 | ||
1122 | /** | |
1123 | * DOCUMENT ME! | |
1124 | * | |
1125 | * @param symbolscale PARAMETER | |
1126 | * | |
1127 | * @todo METHOD_DESCRIPTION | |
1128 | */ | |
1129 | public void setSymbolscale(double symbolscale) | |
1130 | { | |
1131 | 0 | MapScriptJNI.set_layerObj_symbolscale(swigCPtr, symbolscale); |
1132 | 0 | } |
1133 | ||
1134 | /** | |
1135 | * DOCUMENT ME! | |
1136 | * | |
1137 | * @return RETURN | |
1138 | * | |
1139 | * @todo METHOD_DESCRIPTION | |
1140 | */ | |
1141 | public double getSymbolscale() | |
1142 | { | |
1143 | 0 | return MapScriptJNI.get_layerObj_symbolscale(swigCPtr); |
1144 | } | |
1145 | ||
1146 | /** | |
1147 | * DOCUMENT ME! | |
1148 | * | |
1149 | * @param template PARAMETER | |
1150 | * | |
1151 | * @todo METHOD_DESCRIPTION | |
1152 | */ | |
1153 | public void setTemplate(String template) | |
1154 | { | |
1155 | 0 | MapScriptJNI.set_layerObj_template(swigCPtr, template); |
1156 | 0 | } |
1157 | ||
1158 | /** | |
1159 | * DOCUMENT ME! | |
1160 | * | |
1161 | * @return RETURN | |
1162 | * | |
1163 | * @todo METHOD_DESCRIPTION | |
1164 | */ | |
1165 | public String getTemplate() | |
1166 | { | |
1167 | 0 | return MapScriptJNI.get_layerObj_template(swigCPtr); |
1168 | } | |
1169 | ||
1170 | /** | |
1171 | * DOCUMENT ME! | |
1172 | * | |
1173 | * @param tileindex PARAMETER | |
1174 | * | |
1175 | * @todo METHOD_DESCRIPTION | |
1176 | */ | |
1177 | public void setTileindex(String tileindex) | |
1178 | { | |
1179 | 0 | MapScriptJNI.set_layerObj_tileindex(swigCPtr, tileindex); |
1180 | 0 | } |
1181 | ||
1182 | /** | |
1183 | * DOCUMENT ME! | |
1184 | * | |
1185 | * @return RETURN | |
1186 | * | |
1187 | * @todo METHOD_DESCRIPTION | |
1188 | */ | |
1189 | public String getTileindex() | |
1190 | { | |
1191 | 0 | return MapScriptJNI.get_layerObj_tileindex(swigCPtr); |
1192 | } | |
1193 | ||
1194 | /** | |
1195 | * DOCUMENT ME! | |
1196 | * | |
1197 | * @param tileitem PARAMETER | |
1198 | * | |
1199 | * @todo METHOD_DESCRIPTION | |
1200 | */ | |
1201 | public void setTileitem(String tileitem) | |
1202 | { | |
1203 | 0 | MapScriptJNI.set_layerObj_tileitem(swigCPtr, tileitem); |
1204 | 0 | } |
1205 | ||
1206 | /** | |
1207 | * DOCUMENT ME! | |
1208 | * | |
1209 | * @return RETURN | |
1210 | * | |
1211 | * @todo METHOD_DESCRIPTION | |
1212 | */ | |
1213 | public String getTileitem() | |
1214 | { | |
1215 | 0 | return MapScriptJNI.get_layerObj_tileitem(swigCPtr); |
1216 | } | |
1217 | ||
1218 | /** | |
1219 | * DOCUMENT ME! | |
1220 | * | |
1221 | * @param tileitemindex PARAMETER | |
1222 | * | |
1223 | * @todo METHOD_DESCRIPTION | |
1224 | */ | |
1225 | public void setTileitemindex(int tileitemindex) | |
1226 | { | |
1227 | 0 | MapScriptJNI.set_layerObj_tileitemindex(swigCPtr, tileitemindex); |
1228 | 0 | } |
1229 | ||
1230 | /** | |
1231 | * DOCUMENT ME! | |
1232 | * | |
1233 | * @return RETURN | |
1234 | * | |
1235 | * @todo METHOD_DESCRIPTION | |
1236 | */ | |
1237 | public int getTileitemindex() | |
1238 | { | |
1239 | 0 | return MapScriptJNI.get_layerObj_tileitemindex(swigCPtr); |
1240 | } | |
1241 | ||
1242 | /** | |
1243 | * DOCUMENT ME! | |
1244 | * | |
1245 | * @param tolerance PARAMETER | |
1246 | * | |
1247 | * @todo METHOD_DESCRIPTION | |
1248 | */ | |
1249 | public void setTolerance(double tolerance) | |
1250 | { | |
1251 | 0 | MapScriptJNI.set_layerObj_tolerance(swigCPtr, tolerance); |
1252 | 0 | } |
1253 | ||
1254 | /** | |
1255 | * DOCUMENT ME! | |
1256 | * | |
1257 | * @return RETURN | |
1258 | * | |
1259 | * @todo METHOD_DESCRIPTION | |
1260 | */ | |
1261 | public double getTolerance() | |
1262 | { | |
1263 | 0 | return MapScriptJNI.get_layerObj_tolerance(swigCPtr); |
1264 | } | |
1265 | ||
1266 | /** | |
1267 | * DOCUMENT ME! | |
1268 | * | |
1269 | * @param toleranceunits PARAMETER | |
1270 | * | |
1271 | * @todo METHOD_DESCRIPTION | |
1272 | */ | |
1273 | public void setToleranceunits(int toleranceunits) | |
1274 | { | |
1275 | 0 | MapScriptJNI.set_layerObj_toleranceunits(swigCPtr, toleranceunits); |
1276 | 0 | } |
1277 | ||
1278 | /** | |
1279 | * DOCUMENT ME! | |
1280 | * | |
1281 | * @return RETURN | |
1282 | * | |
1283 | * @todo METHOD_DESCRIPTION | |
1284 | */ | |
1285 | public int getToleranceunits() | |
1286 | { | |
1287 | 0 | return MapScriptJNI.get_layerObj_toleranceunits(swigCPtr); |
1288 | } | |
1289 | ||
1290 | /** | |
1291 | * DOCUMENT ME! | |
1292 | * | |
1293 | * @param transform PARAMETER | |
1294 | * | |
1295 | * @todo METHOD_DESCRIPTION | |
1296 | */ | |
1297 | public void setTransform(int transform) | |
1298 | { | |
1299 | 0 | MapScriptJNI.set_layerObj_transform(swigCPtr, transform); |
1300 | 0 | } |
1301 | ||
1302 | /** | |
1303 | * DOCUMENT ME! | |
1304 | * | |
1305 | * @return RETURN | |
1306 | * | |
1307 | * @todo METHOD_DESCRIPTION | |
1308 | */ | |
1309 | public int getTransform() | |
1310 | { | |
1311 | 0 | return MapScriptJNI.get_layerObj_transform(swigCPtr); |
1312 | } | |
1313 | ||
1314 | /** | |
1315 | * DOCUMENT ME! | |
1316 | * | |
1317 | * @param transparency PARAMETER | |
1318 | * | |
1319 | * @todo METHOD_DESCRIPTION | |
1320 | */ | |
1321 | public void setTransparency(int transparency) | |
1322 | { | |
1323 | 0 | MapScriptJNI.set_layerObj_transparency(swigCPtr, transparency); |
1324 | 0 | } |
1325 | ||
1326 | /** | |
1327 | * DOCUMENT ME! | |
1328 | * | |
1329 | * @return RETURN | |
1330 | * | |
1331 | * @todo METHOD_DESCRIPTION | |
1332 | */ | |
1333 | public int getTransparency() | |
1334 | { | |
1335 | 0 | return MapScriptJNI.get_layerObj_transparency(swigCPtr); |
1336 | } | |
1337 | ||
1338 | /** | |
1339 | * DOCUMENT ME! | |
1340 | * | |
1341 | * @param type PARAMETER | |
1342 | * | |
1343 | * @todo METHOD_DESCRIPTION | |
1344 | */ | |
1345 | public void setType(int type) | |
1346 | { | |
1347 | 0 | MapScriptJNI.set_layerObj_type(swigCPtr, type); |
1348 | 0 | } |
1349 | ||
1350 | /** | |
1351 | * DOCUMENT ME! | |
1352 | * | |
1353 | * @return RETURN | |
1354 | * | |
1355 | * @todo METHOD_DESCRIPTION | |
1356 | */ | |
1357 | public int getType() | |
1358 | { | |
1359 | 0 | return MapScriptJNI.get_layerObj_type(swigCPtr); |
1360 | } | |
1361 | ||
1362 | /** | |
1363 | * DOCUMENT ME! | |
1364 | * | |
1365 | * @param units PARAMETER | |
1366 | * | |
1367 | * @todo METHOD_DESCRIPTION | |
1368 | */ | |
1369 | public void setUnits(int units) | |
1370 | { | |
1371 | 0 | MapScriptJNI.set_layerObj_units(swigCPtr, units); |
1372 | 0 | } |
1373 | ||
1374 | /** | |
1375 | * DOCUMENT ME! | |
1376 | * | |
1377 | * @return RETURN | |
1378 | * | |
1379 | * @todo METHOD_DESCRIPTION | |
1380 | */ | |
1381 | public int getUnits() | |
1382 | { | |
1383 | 0 | return MapScriptJNI.get_layerObj_units(swigCPtr); |
1384 | } | |
1385 | ||
1386 | /** | |
1387 | * DOCUMENT ME! | |
1388 | * | |
1389 | * @param map PARAMETER | |
1390 | * @param click_x PARAMETER | |
1391 | * @param click_y PARAMETER | |
1392 | * @param feature_count PARAMETER | |
1393 | * @param info_format PARAMETER | |
1394 | * | |
1395 | * @return RETURN | |
1396 | * | |
1397 | * @todo METHOD_DESCRIPTION | |
1398 | */ | |
1399 | public String getWMSFeatureInfoURL(mapObj map, int click_x, int click_y, | |
1400 | int feature_count, String info_format) | |
1401 | { | |
1402 | 0 | return MapScriptJNI.layerObj_getWMSFeatureInfoURL(swigCPtr, |
1403 | mapObj.getCPtr(map), click_x, click_y, feature_count, info_format); | |
1404 | } | |
1405 | ||
1406 | /** | |
1407 | * DOCUMENT ME! | |
1408 | * | |
1409 | * @param shape PARAMETER | |
1410 | * | |
1411 | * @return RETURN | |
1412 | * | |
1413 | * @todo METHOD_DESCRIPTION | |
1414 | */ | |
1415 | public int addFeature(shapeObj shape) | |
1416 | { | |
1417 | 0 | return MapScriptJNI.layerObj_addFeature(swigCPtr, shapeObj.getCPtr(shape)); |
1418 | } | |
1419 | ||
1420 | /** | |
1421 | * DOCUMENT ME! | |
1422 | * | |
1423 | * @todo METHOD_DESCRIPTION | |
1424 | */ | |
1425 | public void close() | |
1426 | { | |
1427 | 0 | MapScriptJNI.layerObj_close(swigCPtr); |
1428 | 0 | } |
1429 | ||
1430 | /** | |
1431 | * DOCUMENT ME! | |
1432 | * | |
1433 | * @todo METHOD_DESCRIPTION | |
1434 | */ | |
1435 | public void delete() | |
1436 | { | |
1437 | 0 | if ((swigCPtr != 0) && swigCMemOwn) |
1438 | { | |
1439 | 0 | MapScriptJNI.delete_layerObj(swigCPtr); |
1440 | 0 | swigCMemOwn = false; |
1441 | } | |
1442 | ||
1443 | 0 | swigCPtr = 0; |
1444 | 0 | } |
1445 | ||
1446 | /** | |
1447 | * DOCUMENT ME! | |
1448 | * | |
1449 | * @param map PARAMETER | |
1450 | * @param image PARAMETER | |
1451 | * | |
1452 | * @return RETURN | |
1453 | * | |
1454 | * @todo METHOD_DESCRIPTION | |
1455 | */ | |
1456 | public int draw(mapObj map, imageObj image) | |
1457 | { | |
1458 | 0 | return MapScriptJNI.layerObj_draw(swigCPtr, mapObj.getCPtr(map), |
1459 | imageObj.getCPtr(image)); | |
1460 | } | |
1461 | ||
1462 | /** | |
1463 | * DOCUMENT ME! | |
1464 | * | |
1465 | * @param map PARAMETER | |
1466 | * @param image PARAMETER | |
1467 | * | |
1468 | * @return RETURN | |
1469 | * | |
1470 | * @todo METHOD_DESCRIPTION | |
1471 | */ | |
1472 | public int drawQuery(mapObj map, imageObj image) | |
1473 | { | |
1474 | 0 | return MapScriptJNI.layerObj_drawQuery(swigCPtr, mapObj.getCPtr(map), |
1475 | imageObj.getCPtr(image)); | |
1476 | } | |
1477 | ||
1478 | /** | |
1479 | * DOCUMENT ME! | |
1480 | * | |
1481 | * @param obj PARAMETER | |
1482 | * | |
1483 | * @return RETURN | |
1484 | * | |
1485 | * @todo METHOD_DESCRIPTION | |
1486 | */ | |
1487 | public boolean equals(Object obj) | |
1488 | { | |
1489 | 0 | boolean equal = false; |
1490 | ||
1491 | 0 | if (obj instanceof layerObj) |
1492 | { | |
1493 | 0 | equal = (((layerObj) obj).swigCPtr == this.swigCPtr); |
1494 | } | |
1495 | ||
1496 | 0 | return equal; |
1497 | } | |
1498 | ||
1499 | /** | |
1500 | * DOCUMENT ME! | |
1501 | * | |
1502 | * @param path PARAMETER | |
1503 | * | |
1504 | * @return RETURN | |
1505 | * | |
1506 | * @todo METHOD_DESCRIPTION | |
1507 | */ | |
1508 | public int open(String path) | |
1509 | { | |
1510 | 0 | return MapScriptJNI.layerObj_open(swigCPtr, path); |
1511 | } | |
1512 | ||
1513 | /** | |
1514 | * DOCUMENT ME! | |
1515 | * | |
1516 | * @param map PARAMETER | |
1517 | * @param mode PARAMETER | |
1518 | * | |
1519 | * @return RETURN | |
1520 | * | |
1521 | * @todo METHOD_DESCRIPTION | |
1522 | */ | |
1523 | public int queryByAttributes(mapObj map, int mode) | |
1524 | { | |
1525 | 0 | return MapScriptJNI.layerObj_queryByAttributes(swigCPtr, |
1526 | mapObj.getCPtr(map), mode); | |
1527 | } | |
1528 | ||
1529 | /** | |
1530 | * DOCUMENT ME! | |
1531 | * | |
1532 | * @param map PARAMETER | |
1533 | * @param slayer PARAMETER | |
1534 | * | |
1535 | * @return RETURN | |
1536 | * | |
1537 | * @todo METHOD_DESCRIPTION | |
1538 | */ | |
1539 | public int queryByFeatures(mapObj map, int slayer) | |
1540 | { | |
1541 | 0 | return MapScriptJNI.layerObj_queryByFeatures(swigCPtr, mapObj.getCPtr(map), |
1542 | slayer); | |
1543 | } | |
1544 | ||
1545 | /** | |
1546 | * DOCUMENT ME! | |
1547 | * | |
1548 | * @param map PARAMETER | |
1549 | * @param point PARAMETER | |
1550 | * @param mode PARAMETER | |
1551 | * @param buffer PARAMETER | |
1552 | * | |
1553 | * @return RETURN | |
1554 | * | |
1555 | * @todo METHOD_DESCRIPTION | |
1556 | */ | |
1557 | public int queryByPoint(mapObj map, pointObj point, int mode, double buffer) | |
1558 | { | |
1559 | 0 | return MapScriptJNI.layerObj_queryByPoint(swigCPtr, mapObj.getCPtr(map), |
1560 | pointObj.getCPtr(point), mode, buffer); | |
1561 | } | |
1562 | ||
1563 | /** | |
1564 | * DOCUMENT ME! | |
1565 | * | |
1566 | * @param map PARAMETER | |
1567 | * @param rect PARAMETER | |
1568 | * | |
1569 | * @return RETURN | |
1570 | * | |
1571 | * @todo METHOD_DESCRIPTION | |
1572 | */ | |
1573 | public int queryByRect(mapObj map, rectObj rect) | |
1574 | { | |
1575 | 0 | return MapScriptJNI.layerObj_queryByRect(swigCPtr, mapObj.getCPtr(map), |
1576 | rectObj.getCPtr(rect)); | |
1577 | } | |
1578 | ||
1579 | /** | |
1580 | * DOCUMENT ME! | |
1581 | * | |
1582 | * @param map PARAMETER | |
1583 | * @param shape PARAMETER | |
1584 | * | |
1585 | * @return RETURN | |
1586 | * | |
1587 | * @todo METHOD_DESCRIPTION | |
1588 | */ | |
1589 | public int queryByShape(mapObj map, shapeObj shape) | |
1590 | { | |
1591 | 0 | return MapScriptJNI.layerObj_queryByShape(swigCPtr, mapObj.getCPtr(map), |
1592 | shapeObj.getCPtr(shape)); | |
1593 | } | |
1594 | ||
1595 | /** | |
1596 | * DOCUMENT ME! | |
1597 | * | |
1598 | * @param obj PARAMETER | |
1599 | * | |
1600 | * @return RETURN | |
1601 | * | |
1602 | * @todo METHOD_DESCRIPTION | |
1603 | */ | |
1604 | protected static long getCPtr(layerObj obj) | |
1605 | { | |
1606 | 0 | return obj.swigCPtr; |
1607 | } | |
1608 | ||
1609 | /** | |
1610 | * DOCUMENT ME! | |
1611 | * | |
1612 | * @todo METHOD_DESCRIPTION | |
1613 | */ | |
1614 | protected void finalize() | |
1615 | { | |
1616 | 0 | delete(); |
1617 | 0 | } |
1618 | } |
this report was generated by version 1.0.2 of jcoverage. |
copyright © 2003, jcoverage ltd. all rights reserved. |