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

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 referenceMapObj
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 referenceMapObj object.
48    */
49   public referenceMapObj()
50   {
510    this(MapScriptJNI.new_referenceMapObj(), true);
520  }
53  
54   /**
55    * Creates a new referenceMapObj object.
56    *
57    * @param cPtr PARAMETER
58    * @param cMemoryOwn PARAMETER
59    */
60   protected referenceMapObj(long cPtr, boolean cMemoryOwn)
610  {
620    swigCMemOwn = cMemoryOwn;
630    swigCPtr = cPtr;
640  }
65  
66   /**
67    * DOCUMENT ME!
68    *
69    * @param color PARAMETER
70    *
71    * @todo METHOD_DESCRIPTION
72    */
73   public void setColor(colorObj color)
74   {
750    MapScriptJNI.set_referenceMapObj_color(swigCPtr, colorObj.getCPtr(color));
760  }
77  
78   /**
79    * DOCUMENT ME!
80    *
81    * @return RETURN
82    *
83    * @todo METHOD_DESCRIPTION
84    */
85   public colorObj getColor()
86   {
870    return new colorObj(MapScriptJNI.get_referenceMapObj_color(swigCPtr), false);
88   }
89  
90   /**
91    * DOCUMENT ME!
92    *
93    * @param extent PARAMETER
94    *
95    * @todo METHOD_DESCRIPTION
96    */
97   public void setExtent(rectObj extent)
98   {
990    MapScriptJNI.set_referenceMapObj_extent(swigCPtr, rectObj.getCPtr(extent));
1000  }
101  
102   /**
103    * DOCUMENT ME!
104    *
105    * @return RETURN
106    *
107    * @todo METHOD_DESCRIPTION
108    */
109   public rectObj getExtent()
110   {
1110    return new rectObj(MapScriptJNI.get_referenceMapObj_extent(swigCPtr), false);
112   }
113  
114   /**
115    * DOCUMENT ME!
116    *
117    * @param height PARAMETER
118    *
119    * @todo METHOD_DESCRIPTION
120    */
121   public void setHeight(int height)
122   {
1230    MapScriptJNI.set_referenceMapObj_height(swigCPtr, height);
1240  }
125  
126   /**
127    * DOCUMENT ME!
128    *
129    * @return RETURN
130    *
131    * @todo METHOD_DESCRIPTION
132    */
133   public int getHeight()
134   {
1350    return MapScriptJNI.get_referenceMapObj_height(swigCPtr);
136   }
137  
138   /**
139    * DOCUMENT ME!
140    *
141    * @param image PARAMETER
142    *
143    * @todo METHOD_DESCRIPTION
144    */
145   public void setImage(String image)
146   {
1470    MapScriptJNI.set_referenceMapObj_image(swigCPtr, image);
1480  }
149  
150   /**
151    * DOCUMENT ME!
152    *
153    * @return RETURN
154    *
155    * @todo METHOD_DESCRIPTION
156    */
157   public String getImage()
158   {
1590    return MapScriptJNI.get_referenceMapObj_image(swigCPtr);
160   }
161  
162   /**
163    * DOCUMENT ME!
164    *
165    * @param marker PARAMETER
166    *
167    * @todo METHOD_DESCRIPTION
168    */
169   public void setMarker(int marker)
170   {
1710    MapScriptJNI.set_referenceMapObj_marker(swigCPtr, marker);
1720  }
173  
174   /**
175    * DOCUMENT ME!
176    *
177    * @return RETURN
178    *
179    * @todo METHOD_DESCRIPTION
180    */
181   public int getMarker()
182   {
1830    return MapScriptJNI.get_referenceMapObj_marker(swigCPtr);
184   }
185  
186   /**
187    * DOCUMENT ME!
188    *
189    * @param markername PARAMETER
190    *
191    * @todo METHOD_DESCRIPTION
192    */
193   public void setMarkername(String markername)
194   {
1950    MapScriptJNI.set_referenceMapObj_markername(swigCPtr, markername);
1960  }
197  
198   /**
199    * DOCUMENT ME!
200    *
201    * @return RETURN
202    *
203    * @todo METHOD_DESCRIPTION
204    */
205   public String getMarkername()
206   {
2070    return MapScriptJNI.get_referenceMapObj_markername(swigCPtr);
208   }
209  
210   /**
211    * DOCUMENT ME!
212    *
213    * @param markersize PARAMETER
214    *
215    * @todo METHOD_DESCRIPTION
216    */
217   public void setMarkersize(int markersize)
218   {
2190    MapScriptJNI.set_referenceMapObj_markersize(swigCPtr, markersize);
2200  }
221  
222   /**
223    * DOCUMENT ME!
224    *
225    * @return RETURN
226    *
227    * @todo METHOD_DESCRIPTION
228    */
229   public int getMarkersize()
230   {
2310    return MapScriptJNI.get_referenceMapObj_markersize(swigCPtr);
232   }
233  
234   /**
235    * DOCUMENT ME!
236    *
237    * @param maxboxsize PARAMETER
238    *
239    * @todo METHOD_DESCRIPTION
240    */
241   public void setMaxboxsize(int maxboxsize)
242   {
2430    MapScriptJNI.set_referenceMapObj_maxboxsize(swigCPtr, maxboxsize);
2440  }
245  
246   /**
247    * DOCUMENT ME!
248    *
249    * @return RETURN
250    *
251    * @todo METHOD_DESCRIPTION
252    */
253   public int getMaxboxsize()
254   {
2550    return MapScriptJNI.get_referenceMapObj_maxboxsize(swigCPtr);
256   }
257  
258   /**
259    * DOCUMENT ME!
260    *
261    * @param minboxsize PARAMETER
262    *
263    * @todo METHOD_DESCRIPTION
264    */
265   public void setMinboxsize(int minboxsize)
266   {
2670    MapScriptJNI.set_referenceMapObj_minboxsize(swigCPtr, minboxsize);
2680  }
269  
270   /**
271    * DOCUMENT ME!
272    *
273    * @return RETURN
274    *
275    * @todo METHOD_DESCRIPTION
276    */
277   public int getMinboxsize()
278   {
2790    return MapScriptJNI.get_referenceMapObj_minboxsize(swigCPtr);
280   }
281  
282   /**
283    * DOCUMENT ME!
284    *
285    * @param outlinecolor PARAMETER
286    *
287    * @todo METHOD_DESCRIPTION
288    */
289   public void setOutlinecolor(colorObj outlinecolor)
290   {
2910    MapScriptJNI.set_referenceMapObj_outlinecolor(swigCPtr,
292       colorObj.getCPtr(outlinecolor));
2930  }
294  
295   /**
296    * DOCUMENT ME!
297    *
298    * @return RETURN
299    *
300    * @todo METHOD_DESCRIPTION
301    */
302   public colorObj getOutlinecolor()
303   {
3040    return new colorObj(MapScriptJNI.get_referenceMapObj_outlinecolor(swigCPtr),
305       false);
306   }
307  
308   /**
309    * DOCUMENT ME!
310    *
311    * @param status PARAMETER
312    *
313    * @todo METHOD_DESCRIPTION
314    */
315   public void setStatus(int status)
316   {
3170    MapScriptJNI.set_referenceMapObj_status(swigCPtr, status);
3180  }
319  
320   /**
321    * DOCUMENT ME!
322    *
323    * @return RETURN
324    *
325    * @todo METHOD_DESCRIPTION
326    */
327   public int getStatus()
328   {
3290    return MapScriptJNI.get_referenceMapObj_status(swigCPtr);
330   }
331  
332   /**
333    * DOCUMENT ME!
334    *
335    * @param width PARAMETER
336    *
337    * @todo METHOD_DESCRIPTION
338    */
339   public void setWidth(int width)
340   {
3410    MapScriptJNI.set_referenceMapObj_width(swigCPtr, width);
3420  }
343  
344   /**
345    * DOCUMENT ME!
346    *
347    * @return RETURN
348    *
349    * @todo METHOD_DESCRIPTION
350    */
351   public int getWidth()
352   {
3530    return MapScriptJNI.get_referenceMapObj_width(swigCPtr);
354   }
355  
356   /**
357    * DOCUMENT ME!
358    *
359    * @todo METHOD_DESCRIPTION
360    */
361   public void delete()
362   {
3630    if ((swigCPtr != 0) && swigCMemOwn)
364     {
3650      MapScriptJNI.delete_referenceMapObj(swigCPtr);
3660      swigCMemOwn = false;
367     }
368  
3690    swigCPtr = 0;
3700  }
371  
372   /**
373    * DOCUMENT ME!
374    *
375    * @param obj PARAMETER
376    *
377    * @return RETURN
378    *
379    * @todo METHOD_DESCRIPTION
380    */
381   public boolean equals(Object obj)
382   {
3830    boolean equal = false;
384  
3850    if (obj instanceof referenceMapObj)
386     {
3870      equal = (((referenceMapObj) obj).swigCPtr == this.swigCPtr);
388     }
389  
3900    return equal;
391   }
392  
393   /**
394    * DOCUMENT ME!
395    *
396    * @param obj PARAMETER
397    *
398    * @return RETURN
399    *
400    * @todo METHOD_DESCRIPTION
401    */
402   protected static long getCPtr(referenceMapObj obj)
403   {
4040    return obj.swigCPtr;
405   }
406  
407   /**
408    * DOCUMENT ME!
409    *
410    * @todo METHOD_DESCRIPTION
411    */
412   protected void finalize()
413   {
4140    delete();
4150  }
416 }

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.