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 labelObj | |
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 labelObj object. | |
48 | */ | |
49 | public labelObj() | |
50 | { | |
51 | 0 | this(MapScriptJNI.new_labelObj(), true); |
52 | 0 | } |
53 | ||
54 | /** | |
55 | * Creates a new labelObj object. | |
56 | * | |
57 | * @param cPtr PARAMETER | |
58 | * @param cMemoryOwn PARAMETER | |
59 | */ | |
60 | protected labelObj(long cPtr, boolean cMemoryOwn) | |
61 | 0 | { |
62 | 0 | swigCMemOwn = cMemoryOwn; |
63 | 0 | swigCPtr = cPtr; |
64 | 0 | } |
65 | ||
66 | /** | |
67 | * DOCUMENT ME! | |
68 | * | |
69 | * @param angle PARAMETER | |
70 | * | |
71 | * @todo METHOD_DESCRIPTION | |
72 | */ | |
73 | public void setAngle(double angle) | |
74 | { | |
75 | 0 | MapScriptJNI.set_labelObj_angle(swigCPtr, angle); |
76 | 0 | } |
77 | ||
78 | /** | |
79 | * DOCUMENT ME! | |
80 | * | |
81 | * @return RETURN | |
82 | * | |
83 | * @todo METHOD_DESCRIPTION | |
84 | */ | |
85 | public double getAngle() | |
86 | { | |
87 | 0 | return MapScriptJNI.get_labelObj_angle(swigCPtr); |
88 | } | |
89 | ||
90 | /** | |
91 | * DOCUMENT ME! | |
92 | * | |
93 | * @param antialias PARAMETER | |
94 | * | |
95 | * @todo METHOD_DESCRIPTION | |
96 | */ | |
97 | public void setAntialias(int antialias) | |
98 | { | |
99 | 0 | MapScriptJNI.set_labelObj_antialias(swigCPtr, antialias); |
100 | 0 | } |
101 | ||
102 | /** | |
103 | * DOCUMENT ME! | |
104 | * | |
105 | * @return RETURN | |
106 | * | |
107 | * @todo METHOD_DESCRIPTION | |
108 | */ | |
109 | public int getAntialias() | |
110 | { | |
111 | 0 | return MapScriptJNI.get_labelObj_antialias(swigCPtr); |
112 | } | |
113 | ||
114 | /** | |
115 | * DOCUMENT ME! | |
116 | * | |
117 | * @param autoangle PARAMETER | |
118 | * | |
119 | * @todo METHOD_DESCRIPTION | |
120 | */ | |
121 | public void setAutoangle(int autoangle) | |
122 | { | |
123 | 0 | MapScriptJNI.set_labelObj_autoangle(swigCPtr, autoangle); |
124 | 0 | } |
125 | ||
126 | /** | |
127 | * DOCUMENT ME! | |
128 | * | |
129 | * @return RETURN | |
130 | * | |
131 | * @todo METHOD_DESCRIPTION | |
132 | */ | |
133 | public int getAutoangle() | |
134 | { | |
135 | 0 | return MapScriptJNI.get_labelObj_autoangle(swigCPtr); |
136 | } | |
137 | ||
138 | /** | |
139 | * DOCUMENT ME! | |
140 | * | |
141 | * @param autominfeaturesize PARAMETER | |
142 | * | |
143 | * @todo METHOD_DESCRIPTION | |
144 | */ | |
145 | public void setAutominfeaturesize(int autominfeaturesize) | |
146 | { | |
147 | 0 | MapScriptJNI.set_labelObj_autominfeaturesize(swigCPtr, autominfeaturesize); |
148 | 0 | } |
149 | ||
150 | /** | |
151 | * DOCUMENT ME! | |
152 | * | |
153 | * @return RETURN | |
154 | * | |
155 | * @todo METHOD_DESCRIPTION | |
156 | */ | |
157 | public int getAutominfeaturesize() | |
158 | { | |
159 | 0 | return MapScriptJNI.get_labelObj_autominfeaturesize(swigCPtr); |
160 | } | |
161 | ||
162 | /** | |
163 | * DOCUMENT ME! | |
164 | * | |
165 | * @param backgroundcolor PARAMETER | |
166 | * | |
167 | * @todo METHOD_DESCRIPTION | |
168 | */ | |
169 | public void setBackgroundcolor(int backgroundcolor) | |
170 | { | |
171 | 0 | MapScriptJNI.set_labelObj_backgroundcolor(swigCPtr, backgroundcolor); |
172 | 0 | } |
173 | ||
174 | /** | |
175 | * DOCUMENT ME! | |
176 | * | |
177 | * @return RETURN | |
178 | * | |
179 | * @todo METHOD_DESCRIPTION | |
180 | */ | |
181 | public int getBackgroundcolor() | |
182 | { | |
183 | 0 | return MapScriptJNI.get_labelObj_backgroundcolor(swigCPtr); |
184 | } | |
185 | ||
186 | /** | |
187 | * DOCUMENT ME! | |
188 | * | |
189 | * @param backgroundshadowcolor PARAMETER | |
190 | * | |
191 | * @todo METHOD_DESCRIPTION | |
192 | */ | |
193 | public void setBackgroundshadowcolor(int backgroundshadowcolor) | |
194 | { | |
195 | 0 | MapScriptJNI.set_labelObj_backgroundshadowcolor(swigCPtr, |
196 | backgroundshadowcolor); | |
197 | 0 | } |
198 | ||
199 | /** | |
200 | * DOCUMENT ME! | |
201 | * | |
202 | * @return RETURN | |
203 | * | |
204 | * @todo METHOD_DESCRIPTION | |
205 | */ | |
206 | public int getBackgroundshadowcolor() | |
207 | { | |
208 | 0 | return MapScriptJNI.get_labelObj_backgroundshadowcolor(swigCPtr); |
209 | } | |
210 | ||
211 | /** | |
212 | * DOCUMENT ME! | |
213 | * | |
214 | * @param backgroundshadowsizex PARAMETER | |
215 | * | |
216 | * @todo METHOD_DESCRIPTION | |
217 | */ | |
218 | public void setBackgroundshadowsizex(int backgroundshadowsizex) | |
219 | { | |
220 | 0 | MapScriptJNI.set_labelObj_backgroundshadowsizex(swigCPtr, |
221 | backgroundshadowsizex); | |
222 | 0 | } |
223 | ||
224 | /** | |
225 | * DOCUMENT ME! | |
226 | * | |
227 | * @return RETURN | |
228 | * | |
229 | * @todo METHOD_DESCRIPTION | |
230 | */ | |
231 | public int getBackgroundshadowsizex() | |
232 | { | |
233 | 0 | return MapScriptJNI.get_labelObj_backgroundshadowsizex(swigCPtr); |
234 | } | |
235 | ||
236 | /** | |
237 | * DOCUMENT ME! | |
238 | * | |
239 | * @param backgroundshadowsizey PARAMETER | |
240 | * | |
241 | * @todo METHOD_DESCRIPTION | |
242 | */ | |
243 | public void setBackgroundshadowsizey(int backgroundshadowsizey) | |
244 | { | |
245 | 0 | MapScriptJNI.set_labelObj_backgroundshadowsizey(swigCPtr, |
246 | backgroundshadowsizey); | |
247 | 0 | } |
248 | ||
249 | /** | |
250 | * DOCUMENT ME! | |
251 | * | |
252 | * @return RETURN | |
253 | * | |
254 | * @todo METHOD_DESCRIPTION | |
255 | */ | |
256 | public int getBackgroundshadowsizey() | |
257 | { | |
258 | 0 | return MapScriptJNI.get_labelObj_backgroundshadowsizey(swigCPtr); |
259 | } | |
260 | ||
261 | /** | |
262 | * DOCUMENT ME! | |
263 | * | |
264 | * @param buffer PARAMETER | |
265 | * | |
266 | * @todo METHOD_DESCRIPTION | |
267 | */ | |
268 | public void setBuffer(int buffer) | |
269 | { | |
270 | 0 | MapScriptJNI.set_labelObj_buffer(swigCPtr, buffer); |
271 | 0 | } |
272 | ||
273 | /** | |
274 | * DOCUMENT ME! | |
275 | * | |
276 | * @return RETURN | |
277 | * | |
278 | * @todo METHOD_DESCRIPTION | |
279 | */ | |
280 | public int getBuffer() | |
281 | { | |
282 | 0 | return MapScriptJNI.get_labelObj_buffer(swigCPtr); |
283 | } | |
284 | ||
285 | /** | |
286 | * DOCUMENT ME! | |
287 | * | |
288 | * @param color PARAMETER | |
289 | * | |
290 | * @todo METHOD_DESCRIPTION | |
291 | */ | |
292 | public void setColor(int color) | |
293 | { | |
294 | 0 | MapScriptJNI.set_labelObj_color(swigCPtr, color); |
295 | 0 | } |
296 | ||
297 | /** | |
298 | * DOCUMENT ME! | |
299 | * | |
300 | * @return RETURN | |
301 | * | |
302 | * @todo METHOD_DESCRIPTION | |
303 | */ | |
304 | public int getColor() | |
305 | { | |
306 | 0 | return MapScriptJNI.get_labelObj_color(swigCPtr); |
307 | } | |
308 | ||
309 | /** | |
310 | * DOCUMENT ME! | |
311 | * | |
312 | * @param font PARAMETER | |
313 | * | |
314 | * @todo METHOD_DESCRIPTION | |
315 | */ | |
316 | public void setFont(String font) | |
317 | { | |
318 | 0 | MapScriptJNI.set_labelObj_font(swigCPtr, font); |
319 | 0 | } |
320 | ||
321 | /** | |
322 | * DOCUMENT ME! | |
323 | * | |
324 | * @return RETURN | |
325 | * | |
326 | * @todo METHOD_DESCRIPTION | |
327 | */ | |
328 | public String getFont() | |
329 | { | |
330 | 0 | return MapScriptJNI.get_labelObj_font(swigCPtr); |
331 | } | |
332 | ||
333 | /** | |
334 | * DOCUMENT ME! | |
335 | * | |
336 | * @param force PARAMETER | |
337 | * | |
338 | * @todo METHOD_DESCRIPTION | |
339 | */ | |
340 | public void setForce(int force) | |
341 | { | |
342 | 0 | MapScriptJNI.set_labelObj_force(swigCPtr, force); |
343 | 0 | } |
344 | ||
345 | /** | |
346 | * DOCUMENT ME! | |
347 | * | |
348 | * @return RETURN | |
349 | * | |
350 | * @todo METHOD_DESCRIPTION | |
351 | */ | |
352 | public int getForce() | |
353 | { | |
354 | 0 | return MapScriptJNI.get_labelObj_force(swigCPtr); |
355 | } | |
356 | ||
357 | /** | |
358 | * DOCUMENT ME! | |
359 | * | |
360 | * @param maxsize PARAMETER | |
361 | * | |
362 | * @todo METHOD_DESCRIPTION | |
363 | */ | |
364 | public void setMaxsize(int maxsize) | |
365 | { | |
366 | 0 | MapScriptJNI.set_labelObj_maxsize(swigCPtr, maxsize); |
367 | 0 | } |
368 | ||
369 | /** | |
370 | * DOCUMENT ME! | |
371 | * | |
372 | * @return RETURN | |
373 | * | |
374 | * @todo METHOD_DESCRIPTION | |
375 | */ | |
376 | public int getMaxsize() | |
377 | { | |
378 | 0 | return MapScriptJNI.get_labelObj_maxsize(swigCPtr); |
379 | } | |
380 | ||
381 | /** | |
382 | * DOCUMENT ME! | |
383 | * | |
384 | * @param mindistance PARAMETER | |
385 | * | |
386 | * @todo METHOD_DESCRIPTION | |
387 | */ | |
388 | public void setMindistance(int mindistance) | |
389 | { | |
390 | 0 | MapScriptJNI.set_labelObj_mindistance(swigCPtr, mindistance); |
391 | 0 | } |
392 | ||
393 | /** | |
394 | * DOCUMENT ME! | |
395 | * | |
396 | * @return RETURN | |
397 | * | |
398 | * @todo METHOD_DESCRIPTION | |
399 | */ | |
400 | public int getMindistance() | |
401 | { | |
402 | 0 | return MapScriptJNI.get_labelObj_mindistance(swigCPtr); |
403 | } | |
404 | ||
405 | /** | |
406 | * DOCUMENT ME! | |
407 | * | |
408 | * @param minfeaturesize PARAMETER | |
409 | * | |
410 | * @todo METHOD_DESCRIPTION | |
411 | */ | |
412 | public void setMinfeaturesize(int minfeaturesize) | |
413 | { | |
414 | 0 | MapScriptJNI.set_labelObj_minfeaturesize(swigCPtr, minfeaturesize); |
415 | 0 | } |
416 | ||
417 | /** | |
418 | * DOCUMENT ME! | |
419 | * | |
420 | * @return RETURN | |
421 | * | |
422 | * @todo METHOD_DESCRIPTION | |
423 | */ | |
424 | public int getMinfeaturesize() | |
425 | { | |
426 | 0 | return MapScriptJNI.get_labelObj_minfeaturesize(swigCPtr); |
427 | } | |
428 | ||
429 | /** | |
430 | * DOCUMENT ME! | |
431 | * | |
432 | * @param minsize PARAMETER | |
433 | * | |
434 | * @todo METHOD_DESCRIPTION | |
435 | */ | |
436 | public void setMinsize(int minsize) | |
437 | { | |
438 | 0 | MapScriptJNI.set_labelObj_minsize(swigCPtr, minsize); |
439 | 0 | } |
440 | ||
441 | /** | |
442 | * DOCUMENT ME! | |
443 | * | |
444 | * @return RETURN | |
445 | * | |
446 | * @todo METHOD_DESCRIPTION | |
447 | */ | |
448 | public int getMinsize() | |
449 | { | |
450 | 0 | return MapScriptJNI.get_labelObj_minsize(swigCPtr); |
451 | } | |
452 | ||
453 | /** | |
454 | * DOCUMENT ME! | |
455 | * | |
456 | * @param offsetx PARAMETER | |
457 | * | |
458 | * @todo METHOD_DESCRIPTION | |
459 | */ | |
460 | public void setOffsetx(int offsetx) | |
461 | { | |
462 | 0 | MapScriptJNI.set_labelObj_offsetx(swigCPtr, offsetx); |
463 | 0 | } |
464 | ||
465 | /** | |
466 | * DOCUMENT ME! | |
467 | * | |
468 | * @return RETURN | |
469 | * | |
470 | * @todo METHOD_DESCRIPTION | |
471 | */ | |
472 | public int getOffsetx() | |
473 | { | |
474 | 0 | return MapScriptJNI.get_labelObj_offsetx(swigCPtr); |
475 | } | |
476 | ||
477 | /** | |
478 | * DOCUMENT ME! | |
479 | * | |
480 | * @param offsety PARAMETER | |
481 | * | |
482 | * @todo METHOD_DESCRIPTION | |
483 | */ | |
484 | public void setOffsety(int offsety) | |
485 | { | |
486 | 0 | MapScriptJNI.set_labelObj_offsety(swigCPtr, offsety); |
487 | 0 | } |
488 | ||
489 | /** | |
490 | * DOCUMENT ME! | |
491 | * | |
492 | * @return RETURN | |
493 | * | |
494 | * @todo METHOD_DESCRIPTION | |
495 | */ | |
496 | public int getOffsety() | |
497 | { | |
498 | 0 | return MapScriptJNI.get_labelObj_offsety(swigCPtr); |
499 | } | |
500 | ||
501 | /** | |
502 | * DOCUMENT ME! | |
503 | * | |
504 | * @param outlinecolor PARAMETER | |
505 | * | |
506 | * @todo METHOD_DESCRIPTION | |
507 | */ | |
508 | public void setOutlinecolor(int outlinecolor) | |
509 | { | |
510 | 0 | MapScriptJNI.set_labelObj_outlinecolor(swigCPtr, outlinecolor); |
511 | 0 | } |
512 | ||
513 | /** | |
514 | * DOCUMENT ME! | |
515 | * | |
516 | * @return RETURN | |
517 | * | |
518 | * @todo METHOD_DESCRIPTION | |
519 | */ | |
520 | public int getOutlinecolor() | |
521 | { | |
522 | 0 | return MapScriptJNI.get_labelObj_outlinecolor(swigCPtr); |
523 | } | |
524 | ||
525 | /** | |
526 | * DOCUMENT ME! | |
527 | * | |
528 | * @param partials PARAMETER | |
529 | * | |
530 | * @todo METHOD_DESCRIPTION | |
531 | */ | |
532 | public void setPartials(int partials) | |
533 | { | |
534 | 0 | MapScriptJNI.set_labelObj_partials(swigCPtr, partials); |
535 | 0 | } |
536 | ||
537 | /** | |
538 | * DOCUMENT ME! | |
539 | * | |
540 | * @return RETURN | |
541 | * | |
542 | * @todo METHOD_DESCRIPTION | |
543 | */ | |
544 | public int getPartials() | |
545 | { | |
546 | 0 | return MapScriptJNI.get_labelObj_partials(swigCPtr); |
547 | } | |
548 | ||
549 | /** | |
550 | * DOCUMENT ME! | |
551 | * | |
552 | * @param position PARAMETER | |
553 | * | |
554 | * @todo METHOD_DESCRIPTION | |
555 | */ | |
556 | public void setPosition(int position) | |
557 | { | |
558 | 0 | MapScriptJNI.set_labelObj_position(swigCPtr, position); |
559 | 0 | } |
560 | ||
561 | /** | |
562 | * DOCUMENT ME! | |
563 | * | |
564 | * @return RETURN | |
565 | * | |
566 | * @todo METHOD_DESCRIPTION | |
567 | */ | |
568 | public int getPosition() | |
569 | { | |
570 | 0 | return MapScriptJNI.get_labelObj_position(swigCPtr); |
571 | } | |
572 | ||
573 | /** | |
574 | * DOCUMENT ME! | |
575 | * | |
576 | * @param shadowcolor PARAMETER | |
577 | * | |
578 | * @todo METHOD_DESCRIPTION | |
579 | */ | |
580 | public void setShadowcolor(int shadowcolor) | |
581 | { | |
582 | 0 | MapScriptJNI.set_labelObj_shadowcolor(swigCPtr, shadowcolor); |
583 | 0 | } |
584 | ||
585 | /** | |
586 | * DOCUMENT ME! | |
587 | * | |
588 | * @return RETURN | |
589 | * | |
590 | * @todo METHOD_DESCRIPTION | |
591 | */ | |
592 | public int getShadowcolor() | |
593 | { | |
594 | 0 | return MapScriptJNI.get_labelObj_shadowcolor(swigCPtr); |
595 | } | |
596 | ||
597 | /** | |
598 | * DOCUMENT ME! | |
599 | * | |
600 | * @param shadowsizex PARAMETER | |
601 | * | |
602 | * @todo METHOD_DESCRIPTION | |
603 | */ | |
604 | public void setShadowsizex(int shadowsizex) | |
605 | { | |
606 | 0 | MapScriptJNI.set_labelObj_shadowsizex(swigCPtr, shadowsizex); |
607 | 0 | } |
608 | ||
609 | /** | |
610 | * DOCUMENT ME! | |
611 | * | |
612 | * @return RETURN | |
613 | * | |
614 | * @todo METHOD_DESCRIPTION | |
615 | */ | |
616 | public int getShadowsizex() | |
617 | { | |
618 | 0 | return MapScriptJNI.get_labelObj_shadowsizex(swigCPtr); |
619 | } | |
620 | ||
621 | /** | |
622 | * DOCUMENT ME! | |
623 | * | |
624 | * @param shadowsizey PARAMETER | |
625 | * | |
626 | * @todo METHOD_DESCRIPTION | |
627 | */ | |
628 | public void setShadowsizey(int shadowsizey) | |
629 | { | |
630 | 0 | MapScriptJNI.set_labelObj_shadowsizey(swigCPtr, shadowsizey); |
631 | 0 | } |
632 | ||
633 | /** | |
634 | * DOCUMENT ME! | |
635 | * | |
636 | * @return RETURN | |
637 | * | |
638 | * @todo METHOD_DESCRIPTION | |
639 | */ | |
640 | public int getShadowsizey() | |
641 | { | |
642 | 0 | return MapScriptJNI.get_labelObj_shadowsizey(swigCPtr); |
643 | } | |
644 | ||
645 | /** | |
646 | * DOCUMENT ME! | |
647 | * | |
648 | * @param size PARAMETER | |
649 | * | |
650 | * @todo METHOD_DESCRIPTION | |
651 | */ | |
652 | public void setSize(int size) | |
653 | { | |
654 | 0 | MapScriptJNI.set_labelObj_size(swigCPtr, size); |
655 | 0 | } |
656 | ||
657 | /** | |
658 | * DOCUMENT ME! | |
659 | * | |
660 | * @return RETURN | |
661 | * | |
662 | * @todo METHOD_DESCRIPTION | |
663 | */ | |
664 | public int getSize() | |
665 | { | |
666 | 0 | return MapScriptJNI.get_labelObj_size(swigCPtr); |
667 | } | |
668 | ||
669 | /** | |
670 | * DOCUMENT ME! | |
671 | * | |
672 | * @param sizescaled PARAMETER | |
673 | * | |
674 | * @todo METHOD_DESCRIPTION | |
675 | */ | |
676 | public void setSizescaled(int sizescaled) | |
677 | { | |
678 | 0 | MapScriptJNI.set_labelObj_sizescaled(swigCPtr, sizescaled); |
679 | 0 | } |
680 | ||
681 | /** | |
682 | * DOCUMENT ME! | |
683 | * | |
684 | * @return RETURN | |
685 | * | |
686 | * @todo METHOD_DESCRIPTION | |
687 | */ | |
688 | public int getSizescaled() | |
689 | { | |
690 | 0 | return MapScriptJNI.get_labelObj_sizescaled(swigCPtr); |
691 | } | |
692 | ||
693 | /** | |
694 | * DOCUMENT ME! | |
695 | * | |
696 | * @param type PARAMETER | |
697 | * | |
698 | * @todo METHOD_DESCRIPTION | |
699 | */ | |
700 | public void setType(int type) | |
701 | { | |
702 | 0 | MapScriptJNI.set_labelObj_type(swigCPtr, type); |
703 | 0 | } |
704 | ||
705 | /** | |
706 | * DOCUMENT ME! | |
707 | * | |
708 | * @return RETURN | |
709 | * | |
710 | * @todo METHOD_DESCRIPTION | |
711 | */ | |
712 | public int getType() | |
713 | { | |
714 | 0 | return MapScriptJNI.get_labelObj_type(swigCPtr); |
715 | } | |
716 | ||
717 | /** | |
718 | * DOCUMENT ME! | |
719 | * | |
720 | * @param wrap PARAMETER | |
721 | * | |
722 | * @todo METHOD_DESCRIPTION | |
723 | */ | |
724 | public void setWrap(char wrap) | |
725 | { | |
726 | 0 | MapScriptJNI.set_labelObj_wrap(swigCPtr, wrap); |
727 | 0 | } |
728 | ||
729 | /** | |
730 | * DOCUMENT ME! | |
731 | * | |
732 | * @return RETURN | |
733 | * | |
734 | * @todo METHOD_DESCRIPTION | |
735 | */ | |
736 | public char getWrap() | |
737 | { | |
738 | 0 | return MapScriptJNI.get_labelObj_wrap(swigCPtr); |
739 | } | |
740 | ||
741 | /** | |
742 | * DOCUMENT ME! | |
743 | * | |
744 | * @todo METHOD_DESCRIPTION | |
745 | */ | |
746 | public void delete() | |
747 | { | |
748 | 0 | if ((swigCPtr != 0) && swigCMemOwn) |
749 | { | |
750 | 0 | MapScriptJNI.delete_labelObj(swigCPtr); |
751 | 0 | swigCMemOwn = false; |
752 | } | |
753 | ||
754 | 0 | swigCPtr = 0; |
755 | 0 | } |
756 | ||
757 | /** | |
758 | * DOCUMENT ME! | |
759 | * | |
760 | * @param obj PARAMETER | |
761 | * | |
762 | * @return RETURN | |
763 | * | |
764 | * @todo METHOD_DESCRIPTION | |
765 | */ | |
766 | public boolean equals(Object obj) | |
767 | { | |
768 | 0 | boolean equal = false; |
769 | ||
770 | 0 | if (obj instanceof labelObj) |
771 | { | |
772 | 0 | equal = (((labelObj) obj).swigCPtr == this.swigCPtr); |
773 | } | |
774 | ||
775 | 0 | return equal; |
776 | } | |
777 | ||
778 | /** | |
779 | * DOCUMENT ME! | |
780 | * | |
781 | * @param obj PARAMETER | |
782 | * | |
783 | * @return RETURN | |
784 | * | |
785 | * @todo METHOD_DESCRIPTION | |
786 | */ | |
787 | protected static long getCPtr(labelObj obj) | |
788 | { | |
789 | 0 | return obj.swigCPtr; |
790 | } | |
791 | ||
792 | /** | |
793 | * DOCUMENT ME! | |
794 | * | |
795 | * @todo METHOD_DESCRIPTION | |
796 | */ | |
797 | protected void finalize() | |
798 | { | |
799 | 0 | delete(); |
800 | 0 | } |
801 | } |
this report was generated by version 1.0.2 of jcoverage. |
copyright © 2003, jcoverage ltd. all rights reserved. |