svn-gvsig-desktop / branches / CqCMSDvp / libraries / libCq CMS for java.old / doc-files / javadocs / org / cresques / geo / Graticule.html @ 2312
History | View | Annotate | Download (12.8 KB)
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|---|
2 |
<!--NewPage-->
|
3 |
<HTML>
|
4 |
<HEAD>
|
5 |
<!-- Generated by javadoc (build 1.4.2_03) on Thu Jun 23 14:38:23 CEST 2005 -->
|
6 |
<TITLE>
|
7 |
Graticule |
8 |
</TITLE>
|
9 |
|
10 |
<META NAME="keywords" CONTENT="org.cresques.geo.Graticule class"> |
11 |
|
12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
13 |
|
14 |
<SCRIPT type="text/javascript"> |
15 |
function windowTitle() |
16 |
{ |
17 |
parent.document.title="Graticule"; |
18 |
} |
19 |
</SCRIPT>
|
20 |
|
21 |
</HEAD>
|
22 |
|
23 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
24 |
|
25 |
|
26 |
<!-- ========= START OF TOP NAVBAR ======= -->
|
27 |
<A NAME="navbar_top"><!-- --></A> |
28 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
29 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
30 |
<TR>
|
31 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
32 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
33 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
34 |
<TR ALIGN="center" VALIGN="top"> |
35 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
39 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
42 |
</TR>
|
43 |
</TABLE>
|
44 |
</TD>
|
45 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
46 |
</EM>
|
47 |
</TD>
|
48 |
</TR>
|
49 |
|
50 |
<TR>
|
51 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
52 |
<A HREF="../../../org/cresques/geo/GeoPoint.html" title="class in org.cresques.geo"><B>PREV CLASS</B></A> |
53 |
<A HREF="../../../org/cresques/geo/Mercator.html" title="class in org.cresques.geo"><B>NEXT CLASS</B></A></FONT></TD> |
54 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
55 |
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
56 |
<A HREF="Graticule.html" target="_top"><B>NO FRAMES</B></A> |
57 |
<SCRIPT type="text/javascript"> |
58 |
<!--
|
59 |
if(window==top) {
|
60 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
61 |
}
|
62 |
//-->
|
63 |
</SCRIPT>
|
64 |
<NOSCRIPT>
|
65 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
66 |
</NOSCRIPT>
|
67 |
|
68 |
</FONT></TD> |
69 |
</TR>
|
70 |
<TR>
|
71 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
72 |
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
73 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
74 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
75 |
</TR>
|
76 |
</TABLE>
|
77 |
<A NAME="skip-navbar_top"></A> |
78 |
<!-- ========= END OF TOP NAVBAR ========= -->
|
79 |
|
80 |
<HR>
|
81 |
<!-- ======== START OF CLASS DATA ======== -->
|
82 |
<H2>
|
83 |
<FONT SIZE="-1"> |
84 |
org.cresques.geo</FONT>
|
85 |
<BR>
|
86 |
Class Graticule</H2>
|
87 |
<PRE>
|
88 |
java.lang.Object |
89 |
<IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>org.cresques.geo.Graticule</B> |
90 |
</PRE>
|
91 |
<HR>
|
92 |
<DL>
|
93 |
<DT>public class <B>Graticule</B><DT>extends java.lang.Object</DL> |
94 |
|
95 |
<P>
|
96 |
<DL>
|
97 |
<DT><B>Author:</B></DT> |
98 |
<DD>"Luis W. Sevilla" <sevilla_lui@gva.es> |
99 |
|
100 |
TODO A?adir soporte para hasta 3 niveles de grid (3 colores y 3 GeneralPath</DD>
|
101 |
</DL>
|
102 |
<HR>
|
103 |
|
104 |
<P>
|
105 |
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
106 |
|
107 |
|
108 |
<!-- =========== FIELD SUMMARY =========== -->
|
109 |
|
110 |
|
111 |
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
112 |
|
113 |
<A NAME="constructor_summary"><!-- --></A> |
114 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
115 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
116 |
<TD COLSPAN=2><FONT SIZE="+2"> |
117 |
<B>Constructor Summary</B></FONT></TD> |
118 |
</TR>
|
119 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
120 |
<TD><CODE><B><A HREF="../../../org/cresques/geo/Graticule.html#Graticule(org.cresques.geo.Projection)">Graticule</A></B>(<A HREF="../../../org/cresques/geo/Projection.html" title="class in org.cresques.geo">Projection</A> proj)</CODE> |
121 |
|
122 |
<BR>
|
123 |
</TD> |
124 |
</TR>
|
125 |
</TABLE>
|
126 |
|
127 |
<!-- ========== METHOD SUMMARY =========== -->
|
128 |
|
129 |
<A NAME="method_summary"><!-- --></A> |
130 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
131 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
132 |
<TD COLSPAN=2><FONT SIZE="+2"> |
133 |
<B>Method Summary</B></FONT></TD> |
134 |
</TR>
|
135 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
136 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
137 |
<CODE> void</CODE></FONT></TD> |
138 |
<TD><CODE><B><A HREF="../../../org/cresques/geo/Graticule.html#addLine(java.awt.geom.Point2D, java.awt.geom.Point2D)">addLine</A></B>(java.awt.geom.Point2D pt1, |
139 |
java.awt.geom.Point2D pt2)</CODE> |
140 |
|
141 |
<BR>
|
142 |
</TD> |
143 |
</TR>
|
144 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
145 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
146 |
<CODE> void</CODE></FONT></TD> |
147 |
<TD><CODE><B><A HREF="../../../org/cresques/geo/Graticule.html#addLine(java.awt.geom.Point2D, java.awt.geom.Point2D, int)">addLine</A></B>(java.awt.geom.Point2D pt1, |
148 |
java.awt.geom.Point2D pt2,
|
149 |
int num)</CODE> |
150 |
|
151 |
<BR>
|
152 |
</TD> |
153 |
</TR>
|
154 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
155 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
156 |
<CODE> void</CODE></FONT></TD> |
157 |
<TD><CODE><B><A HREF="../../../org/cresques/geo/Graticule.html#addText(java.lang.String, java.awt.geom.Point2D)">addText</A></B>(java.lang.String txt, |
158 |
java.awt.geom.Point2D pt)</CODE> |
159 |
|
160 |
<BR>
|
161 |
</TD> |
162 |
</TR>
|
163 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
164 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
165 |
<CODE> void</CODE></FONT></TD> |
166 |
<TD><CODE><B><A HREF="../../../org/cresques/geo/Graticule.html#draw(java.awt.Graphics2D, org.cresques.geo.ViewPortData)">draw</A></B>(java.awt.Graphics2D g, |
167 |
<A HREF="../../../org/cresques/geo/ViewPortData.html" title="class in org.cresques.geo">ViewPortData</A> vp)</CODE> |
168 |
|
169 |
<BR>
|
170 |
</TD> |
171 |
</TR>
|
172 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
173 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
174 |
<CODE> java.awt.Color</CODE></FONT></TD> |
175 |
<TD><CODE><B><A HREF="../../../org/cresques/geo/Graticule.html#getColor()">getColor</A></B>()</CODE> |
176 |
|
177 |
<BR>
|
178 |
</TD> |
179 |
</TR>
|
180 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
181 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
182 |
<CODE> void</CODE></FONT></TD> |
183 |
<TD><CODE><B><A HREF="../../../org/cresques/geo/Graticule.html#setColor(java.awt.Color)">setColor</A></B>(java.awt.Color color)</CODE> |
184 |
|
185 |
<BR>
|
186 |
</TD> |
187 |
</TR>
|
188 |
</TABLE>
|
189 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
190 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
191 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
192 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
193 |
</TR>
|
194 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
195 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
196 |
</TR>
|
197 |
</TABLE>
|
198 |
|
199 |
<P>
|
200 |
|
201 |
<!-- ============ FIELD DETAIL =========== -->
|
202 |
|
203 |
|
204 |
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
205 |
|
206 |
<A NAME="constructor_detail"><!-- --></A> |
207 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
208 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
209 |
<TD COLSPAN=1><FONT SIZE="+2"> |
210 |
<B>Constructor Detail</B></FONT></TD> |
211 |
</TR>
|
212 |
</TABLE>
|
213 |
|
214 |
<A NAME="Graticule(org.cresques.geo.Projection)"><!-- --></A><H3> |
215 |
Graticule</H3>
|
216 |
<PRE>
|
217 |
public <B>Graticule</B>(<A HREF="../../../org/cresques/geo/Projection.html" title="class in org.cresques.geo">Projection</A> proj)</PRE> |
218 |
<DL>
|
219 |
</DL>
|
220 |
|
221 |
<!-- ============ METHOD DETAIL ========== -->
|
222 |
|
223 |
<A NAME="method_detail"><!-- --></A> |
224 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
225 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
226 |
<TD COLSPAN=1><FONT SIZE="+2"> |
227 |
<B>Method Detail</B></FONT></TD> |
228 |
</TR>
|
229 |
</TABLE>
|
230 |
|
231 |
<A NAME="getColor()"><!-- --></A><H3> |
232 |
getColor</H3>
|
233 |
<PRE>
|
234 |
public java.awt.Color <B>getColor</B>()</PRE> |
235 |
<DL>
|
236 |
<DD><DL> |
237 |
</DL>
|
238 |
</DD>
|
239 |
</DL>
|
240 |
<HR>
|
241 |
|
242 |
<A NAME="setColor(java.awt.Color)"><!-- --></A><H3> |
243 |
setColor</H3>
|
244 |
<PRE>
|
245 |
public void <B>setColor</B>(java.awt.Color color)</PRE> |
246 |
<DL>
|
247 |
<DD><DL> |
248 |
</DL>
|
249 |
</DD>
|
250 |
</DL>
|
251 |
<HR>
|
252 |
|
253 |
<A NAME="addLine(java.awt.geom.Point2D, java.awt.geom.Point2D)"><!-- --></A><H3> |
254 |
addLine</H3>
|
255 |
<PRE>
|
256 |
public void <B>addLine</B>(java.awt.geom.Point2D pt1, |
257 |
java.awt.geom.Point2D pt2)</PRE> |
258 |
<DL>
|
259 |
<DD><DL> |
260 |
</DL>
|
261 |
</DD>
|
262 |
</DL>
|
263 |
<HR>
|
264 |
|
265 |
<A NAME="addLine(java.awt.geom.Point2D, java.awt.geom.Point2D, int)"><!-- --></A><H3> |
266 |
addLine</H3>
|
267 |
<PRE>
|
268 |
public void <B>addLine</B>(java.awt.geom.Point2D pt1, |
269 |
java.awt.geom.Point2D pt2,
|
270 |
int num)</PRE> |
271 |
<DL>
|
272 |
<DD><DL> |
273 |
</DL>
|
274 |
</DD>
|
275 |
</DL>
|
276 |
<HR>
|
277 |
|
278 |
<A NAME="addText(java.lang.String, java.awt.geom.Point2D)"><!-- --></A><H3> |
279 |
addText</H3>
|
280 |
<PRE>
|
281 |
public void <B>addText</B>(java.lang.String txt, |
282 |
java.awt.geom.Point2D pt)</PRE> |
283 |
<DL>
|
284 |
<DD><DL> |
285 |
</DL>
|
286 |
</DD>
|
287 |
</DL>
|
288 |
<HR>
|
289 |
|
290 |
<A NAME="draw(java.awt.Graphics2D, org.cresques.geo.ViewPortData)"><!-- --></A><H3> |
291 |
draw</H3>
|
292 |
<PRE>
|
293 |
public void <B>draw</B>(java.awt.Graphics2D g, |
294 |
<A HREF="../../../org/cresques/geo/ViewPortData.html" title="class in org.cresques.geo">ViewPortData</A> vp)</PRE> |
295 |
<DL>
|
296 |
<DD><DL> |
297 |
</DL>
|
298 |
</DD>
|
299 |
</DL>
|
300 |
<!-- ========= END OF CLASS DATA ========= -->
|
301 |
<HR>
|
302 |
|
303 |
|
304 |
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
305 |
<A NAME="navbar_bottom"><!-- --></A> |
306 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
307 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
308 |
<TR>
|
309 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
310 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
311 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
312 |
<TR ALIGN="center" VALIGN="top"> |
313 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
314 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
315 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
316 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
317 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
318 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
319 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
320 |
</TR>
|
321 |
</TABLE>
|
322 |
</TD>
|
323 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
324 |
</EM>
|
325 |
</TD>
|
326 |
</TR>
|
327 |
|
328 |
<TR>
|
329 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
330 |
<A HREF="../../../org/cresques/geo/GeoPoint.html" title="class in org.cresques.geo"><B>PREV CLASS</B></A> |
331 |
<A HREF="../../../org/cresques/geo/Mercator.html" title="class in org.cresques.geo"><B>NEXT CLASS</B></A></FONT></TD> |
332 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
333 |
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
334 |
<A HREF="Graticule.html" target="_top"><B>NO FRAMES</B></A> |
335 |
<SCRIPT type="text/javascript"> |
336 |
<!--
|
337 |
if(window==top) {
|
338 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
339 |
}
|
340 |
//-->
|
341 |
</SCRIPT>
|
342 |
<NOSCRIPT>
|
343 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
344 |
</NOSCRIPT>
|
345 |
|
346 |
</FONT></TD> |
347 |
</TR>
|
348 |
<TR>
|
349 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
350 |
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
351 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
352 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
353 |
</TR>
|
354 |
</TABLE>
|
355 |
<A NAME="skip-navbar_bottom"></A> |
356 |
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
357 |
|
358 |
<HR>
|
359 |
|
360 |
</BODY>
|
361 |
</HTML>
|