Coverage details for edu.umn.gis.mapscript.imp.labelObj

LineHitsSource
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   {
510    this(MapScriptJNI.new_labelObj(), true);
520  }
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)
610  {
620    swigCMemOwn = cMemoryOwn;
630    swigCPtr = cPtr;
640  }
65  
66   /**
67    * DOCUMENT ME!
68    *
69    * @param angle PARAMETER
70    *
71    * @todo METHOD_DESCRIPTION
72    */
73   public void setAngle(double angle)
74   {
750    MapScriptJNI.set_labelObj_angle(swigCPtr, angle);
760  }
77  
78   /**
79    * DOCUMENT ME!
80    *
81    * @return RETURN
82    *
83    * @todo METHOD_DESCRIPTION
84    */
85   public double getAngle()
86   {
870    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   {
990    MapScriptJNI.set_labelObj_antialias(swigCPtr, antialias);
1000  }
101  
102   /**
103    * DOCUMENT ME!
104    *
105    * @return RETURN
106    *
107    * @todo METHOD_DESCRIPTION
108    */
109   public int getAntialias()
110   {
1110    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   {
1230    MapScriptJNI.set_labelObj_autoangle(swigCPtr, autoangle);
1240  }
125  
126   /**
127    * DOCUMENT ME!
128    *
129    * @return RETURN
130    *
131    * @todo METHOD_DESCRIPTION
132    */
133   public int getAutoangle()
134   {
1350    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   {
1470    MapScriptJNI.set_labelObj_autominfeaturesize(swigCPtr, autominfeaturesize);
1480  }
149  
150   /**
151    * DOCUMENT ME!
152    *
153    * @return RETURN
154    *
155    * @todo METHOD_DESCRIPTION
156    */
157   public int getAutominfeaturesize()
158   {
1590    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   {
1710    MapScriptJNI.set_labelObj_backgroundcolor(swigCPtr, backgroundcolor);
1720  }
173  
174   /**
175    * DOCUMENT ME!
176    *
177    * @return RETURN
178    *
179    * @todo METHOD_DESCRIPTION
180    */
181   public int getBackgroundcolor()
182   {
1830    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   {
1950    MapScriptJNI.set_labelObj_backgroundshadowcolor(swigCPtr,
196       backgroundshadowcolor);
1970  }
198  
199   /**
200    * DOCUMENT ME!
201    *
202    * @return RETURN
203    *
204    * @todo METHOD_DESCRIPTION
205    */
206   public int getBackgroundshadowcolor()
207   {
2080    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   {
2200    MapScriptJNI.set_labelObj_backgroundshadowsizex(swigCPtr,
221       backgroundshadowsizex);
2220  }
223  
224   /**
225    * DOCUMENT ME!
226    *
227    * @return RETURN
228    *
229    * @todo METHOD_DESCRIPTION
230    */
231   public int getBackgroundshadowsizex()
232   {
2330    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   {
2450    MapScriptJNI.set_labelObj_backgroundshadowsizey(swigCPtr,
246       backgroundshadowsizey);
2470  }
248  
249   /**
250    * DOCUMENT ME!
251    *
252    * @return RETURN
253    *
254    * @todo METHOD_DESCRIPTION
255    */
256   public int getBackgroundshadowsizey()
257   {
2580    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   {
2700    MapScriptJNI.set_labelObj_buffer(swigCPtr, buffer);
2710  }
272  
273   /**
274    * DOCUMENT ME!
275    *
276    * @return RETURN
277    *
278    * @todo METHOD_DESCRIPTION
279    */
280   public int getBuffer()
281   {
2820    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   {
2940    MapScriptJNI.set_labelObj_color(swigCPtr, color);
2950  }
296  
297   /**
298    * DOCUMENT ME!
299    *
300    * @return RETURN
301    *
302    * @todo METHOD_DESCRIPTION
303    */
304   public int getColor()
305   {
3060    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   {
3180    MapScriptJNI.set_labelObj_font(swigCPtr, font);
3190  }
320  
321   /**
322    * DOCUMENT ME!
323    *
324    * @return RETURN
325    *
326    * @todo METHOD_DESCRIPTION
327    */
328   public String getFont()
329   {
3300    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   {
3420    MapScriptJNI.set_labelObj_force(swigCPtr, force);
3430  }
344  
345   /**
346    * DOCUMENT ME!
347    *
348    * @return RETURN
349    *
350    * @todo METHOD_DESCRIPTION
351    */
352   public int getForce()
353   {
3540    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   {
3660    MapScriptJNI.set_labelObj_maxsize(swigCPtr, maxsize);
3670  }
368  
369   /**
370    * DOCUMENT ME!
371    *
372    * @return RETURN
373    *
374    * @todo METHOD_DESCRIPTION
375    */
376   public int getMaxsize()
377   {
3780    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   {
3900    MapScriptJNI.set_labelObj_mindistance(swigCPtr, mindistance);
3910  }
392  
393   /**
394    * DOCUMENT ME!
395    *
396    * @return RETURN
397    *
398    * @todo METHOD_DESCRIPTION
399    */
400   public int getMindistance()
401   {
4020    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   {
4140    MapScriptJNI.set_labelObj_minfeaturesize(swigCPtr, minfeaturesize);
4150  }
416  
417   /**
418    * DOCUMENT ME!
419    *
420    * @return RETURN
421    *
422    * @todo METHOD_DESCRIPTION
423    */
424   public int getMinfeaturesize()
425   {
4260    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   {
4380    MapScriptJNI.set_labelObj_minsize(swigCPtr, minsize);
4390  }
440  
441   /**
442    * DOCUMENT ME!
443    *
444    * @return RETURN
445    *
446    * @todo METHOD_DESCRIPTION
447    */
448   public int getMinsize()
449   {
4500    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   {
4620    MapScriptJNI.set_labelObj_offsetx(swigCPtr, offsetx);
4630  }
464  
465   /**
466    * DOCUMENT ME!
467    *
468    * @return RETURN
469    *
470    * @todo METHOD_DESCRIPTION
471    */
472   public int getOffsetx()
473   {
4740    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   {
4860    MapScriptJNI.set_labelObj_offsety(swigCPtr, offsety);
4870  }
488  
489   /**
490    * DOCUMENT ME!
491    *
492    * @return RETURN
493    *
494    * @todo METHOD_DESCRIPTION
495    */
496   public int getOffsety()
497   {
4980    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   {
5100    MapScriptJNI.set_labelObj_outlinecolor(swigCPtr, outlinecolor);
5110  }
512  
513   /**
514    * DOCUMENT ME!
515    *
516    * @return RETURN
517    *
518    * @todo METHOD_DESCRIPTION
519    */
520   public int getOutlinecolor()
521   {
5220    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   {
5340    MapScriptJNI.set_labelObj_partials(swigCPtr, partials);
5350  }
536  
537   /**
538    * DOCUMENT ME!
539    *
540    * @return RETURN
541    *
542    * @todo METHOD_DESCRIPTION
543    */
544   public int getPartials()
545   {
5460    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   {
5580    MapScriptJNI.set_labelObj_position(swigCPtr, position);
5590  }
560  
561   /**
562    * DOCUMENT ME!
563    *
564    * @return RETURN
565    *
566    * @todo METHOD_DESCRIPTION
567    */
568   public int getPosition()
569   {
5700    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   {
5820    MapScriptJNI.set_labelObj_shadowcolor(swigCPtr, shadowcolor);
5830  }
584  
585   /**
586    * DOCUMENT ME!
587    *
588    * @return RETURN
589    *
590    * @todo METHOD_DESCRIPTION
591    */
592   public int getShadowcolor()
593   {
5940    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   {
6060    MapScriptJNI.set_labelObj_shadowsizex(swigCPtr, shadowsizex);
6070  }
608  
609   /**
610    * DOCUMENT ME!
611    *
612    * @return RETURN
613    *
614    * @todo METHOD_DESCRIPTION
615    */
616   public int getShadowsizex()
617   {
6180    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   {
6300    MapScriptJNI.set_labelObj_shadowsizey(swigCPtr, shadowsizey);
6310  }
632  
633   /**
634    * DOCUMENT ME!
635    *
636    * @return RETURN
637    *
638    * @todo METHOD_DESCRIPTION
639    */
640   public int getShadowsizey()
641   {
6420    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   {
6540    MapScriptJNI.set_labelObj_size(swigCPtr, size);
6550  }
656  
657   /**
658    * DOCUMENT ME!
659    *
660    * @return RETURN
661    *
662    * @todo METHOD_DESCRIPTION
663    */
664   public int getSize()
665   {
6660    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   {
6780    MapScriptJNI.set_labelObj_sizescaled(swigCPtr, sizescaled);
6790  }
680  
681   /**
682    * DOCUMENT ME!
683    *
684    * @return RETURN
685    *
686    * @todo METHOD_DESCRIPTION
687    */
688   public int getSizescaled()
689   {
6900    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   {
7020    MapScriptJNI.set_labelObj_type(swigCPtr, type);
7030  }
704  
705   /**
706    * DOCUMENT ME!
707    *
708    * @return RETURN
709    *
710    * @todo METHOD_DESCRIPTION
711    */
712   public int getType()
713   {
7140    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   {
7260    MapScriptJNI.set_labelObj_wrap(swigCPtr, wrap);
7270  }
728  
729   /**
730    * DOCUMENT ME!
731    *
732    * @return RETURN
733    *
734    * @todo METHOD_DESCRIPTION
735    */
736   public char getWrap()
737   {
7380    return MapScriptJNI.get_labelObj_wrap(swigCPtr);
739   }
740  
741   /**
742    * DOCUMENT ME!
743    *
744    * @todo METHOD_DESCRIPTION
745    */
746   public void delete()
747   {
7480    if ((swigCPtr != 0) && swigCMemOwn)
749     {
7500      MapScriptJNI.delete_labelObj(swigCPtr);
7510      swigCMemOwn = false;
752     }
753  
7540    swigCPtr = 0;
7550  }
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   {
7680    boolean equal = false;
769  
7700    if (obj instanceof labelObj)
771     {
7720      equal = (((labelObj) obj).swigCPtr == this.swigCPtr);
773     }
774  
7750    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   {
7890    return obj.swigCPtr;
790   }
791  
792   /**
793    * DOCUMENT ME!
794    *
795    * @todo METHOD_DESCRIPTION
796    */
797   protected void finalize()
798   {
7990    delete();
8000  }
801 }

this report was generated by version 1.0.2 of jcoverage.
visit www.jcoverage.com for updates.

copyright © 2003, jcoverage ltd. all rights reserved.
Java is a trademark of Sun Microsystems, Inc. in the United States and other countries.