root / trunk / docs / gvSIG / gvSIG-api / com / iver / cit / gvsig / gui / layout / FLayoutUtilities.html @ 11445
History | View | Annotate | Download (20.3 KB)
1 | 1935 | vcaballero | <!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_04) on Mon Feb 14 08:49:14 CET 2005 -->
|
||
6 | <TITLE>
|
||
7 | FLayoutUtilities (gvSIG API) |
||
8 | </TITLE>
|
||
9 | |||
10 | <META NAME="keywords" CONTENT="com.iver.cit.gvsig.gui.layout.FLayoutUtilities 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="FLayoutUtilities (gvSIG API)"; |
||
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="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutGraphics.html" title="class in com.iver.cit.gvsig.gui.layout"><B>PREV CLASS</B></A> |
||
53 | <A HREF="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutZooms.html" title="class in com.iver.cit.gvsig.gui.layout"><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="FLayoutUtilities.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 | com.iver.cit.gvsig.gui.layout</FONT>
|
||
85 | <BR>
|
||
86 | Class FLayoutUtilities</H2>
|
||
87 | <PRE>
|
||
88 | java.lang.Object |
||
89 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.gui.layout.FLayoutUtilities</B> |
||
90 | </PRE>
|
||
91 | <HR>
|
||
92 | <DL>
|
||
93 | <DT>public class <B>FLayoutUtilities</B><DT>extends java.lang.Object</DL> |
||
94 | |||
95 | <P>
|
||
96 | Clase que recoge m?todos est?ticos sobre el Layout. |
||
97 | <P>
|
||
98 | |||
99 | <P>
|
||
100 | <DL>
|
||
101 | <DT><B>Author:</B></DT> |
||
102 | <DD>Vicente Caballero Navarro</DD> |
||
103 | </DL>
|
||
104 | <HR>
|
||
105 | |||
106 | <P>
|
||
107 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
||
108 | |||
109 | |||
110 | <!-- =========== FIELD SUMMARY =========== -->
|
||
111 | |||
112 | |||
113 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
114 | |||
115 | <A NAME="constructor_summary"><!-- --></A> |
||
116 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
117 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
118 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
119 | <B>Constructor Summary</B></FONT></TD> |
||
120 | </TR>
|
||
121 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
122 | <TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutUtilities.html#FLayoutUtilities()">FLayoutUtilities</A></B>()</CODE> |
||
123 | |||
124 | <BR>
|
||
125 | </TD> |
||
126 | </TR>
|
||
127 | </TABLE>
|
||
128 |
|
||
129 | <!-- ========== METHOD SUMMARY =========== -->
|
||
130 | |||
131 | <A NAME="method_summary"><!-- --></A> |
||
132 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
133 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
134 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
135 | <B>Method Summary</B></FONT></TD> |
||
136 | </TR>
|
||
137 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
138 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
139 | <CODE>static double</CODE></FONT></TD> |
||
140 | <TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutUtilities.html#fromSheetDistance(double, java.awt.geom.AffineTransform)">fromSheetDistance</A></B>(double d, |
||
141 | java.awt.geom.AffineTransform at)</CODE> |
||
142 | |||
143 | <BR>
|
||
144 | Pasa una distancia de coordenadas del folio a pixels.</TD> |
||
145 | </TR>
|
||
146 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
147 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
148 | <CODE>static java.awt.geom.Point2D.Double</CODE></FONT></TD> |
||
149 | <TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutUtilities.html#fromSheetPoint(java.awt.geom.Point2D.Double, java.awt.geom.AffineTransform)">fromSheetPoint</A></B>(java.awt.geom.Point2D.Double pSheet, |
||
150 | java.awt.geom.AffineTransform at)</CODE> |
||
151 | |||
152 | <BR>
|
||
153 | Pasa de un punto en coordenadas del folio a pixels.</TD> |
||
154 | </TR>
|
||
155 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
156 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
157 | <CODE>static java.awt.geom.Rectangle2D.Double</CODE></FONT></TD> |
||
158 | <TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutUtilities.html#fromSheetRect(java.awt.geom.Rectangle2D.Double, java.awt.geom.AffineTransform)">fromSheetRect</A></B>(java.awt.geom.Rectangle2D.Double r, |
||
159 | java.awt.geom.AffineTransform at)</CODE> |
||
160 | |||
161 | <BR>
|
||
162 | Pasa un rect?ngulo en coordenadas del folio a pixels.</TD> |
||
163 | </TR>
|
||
164 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
165 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
166 | <CODE>static long</CODE></FONT></TD> |
||
167 | <TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutUtilities.html#getScaleView(FMap, double)">getScaleView</A></B>(FMap map, |
||
168 | double h)</CODE> |
||
169 | |||
170 | <BR>
|
||
171 | Devuelve un long representando a la escala en funci?n de que unidad de |
||
172 | medida se pase como par?metro.</TD>
|
||
173 | </TR>
|
||
174 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
175 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
176 | <CODE>static boolean</CODE></FONT></TD> |
||
177 | <TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutUtilities.html#isEqualList(java.util.ArrayList, java.util.ArrayList)">isEqualList</A></B>(java.util.ArrayList n, |
||
178 | java.util.ArrayList l)</CODE> |
||
179 | |||
180 | <BR>
|
||
181 | Devuelve true si las dos ArrayList que se le pasan como parametro son |
||
182 | iguales.</TD>
|
||
183 | </TR>
|
||
184 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
185 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
186 | <CODE>static boolean</CODE></FONT></TD> |
||
187 | <TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutUtilities.html#isPosible(java.awt.geom.Rectangle2D.Double)">isPosible</A></B>(java.awt.geom.Rectangle2D.Double r)</CODE> |
||
188 | |||
189 | <BR>
|
||
190 | Cuando se dibuja sobre el graphics todo se tiene que situar en enteros y |
||
191 | aqu? lo que se comprueba es que si los valores que contiene el |
||
192 | Rectangle2D, que toma como par?metro, supera los valores soportados por |
||
193 | un entero.</TD>
|
||
194 | </TR>
|
||
195 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
196 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
197 | <CODE>static void</CODE></FONT></TD> |
||
198 | <TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutUtilities.html#setRectGrid(java.awt.geom.Rectangle2D, double, double, java.awt.geom.AffineTransform)">setRectGrid</A></B>(java.awt.geom.Rectangle2D re, |
||
199 | double distX,
|
||
200 | double distY,
|
||
201 | java.awt.geom.AffineTransform at)</CODE> |
||
202 | |||
203 | <BR>
|
||
204 | Obtiene el rect?ngulo ajustado al grid del layout.</TD> |
||
205 | </TR>
|
||
206 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
207 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
208 | <CODE>static double</CODE></FONT></TD> |
||
209 | <TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutUtilities.html#toSheetDistance(double, java.awt.geom.AffineTransform)">toSheetDistance</A></B>(double d, |
||
210 | java.awt.geom.AffineTransform at)</CODE> |
||
211 | |||
212 | <BR>
|
||
213 | Pasa una distancia en pixels a unidades del folio.</TD> |
||
214 | </TR>
|
||
215 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
216 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
217 | <CODE>static java.awt.geom.Point2D.Double</CODE></FONT></TD> |
||
218 | <TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutUtilities.html#toSheetPoint(java.awt.geom.Point2D.Double, java.awt.geom.AffineTransform)">toSheetPoint</A></B>(java.awt.geom.Point2D.Double pScreen, |
||
219 | java.awt.geom.AffineTransform at)</CODE> |
||
220 | |||
221 | <BR>
|
||
222 | Pasa un punto en pixels a coordenadas del folio.</TD> |
||
223 | </TR>
|
||
224 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
225 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
226 | <CODE>static java.awt.geom.Rectangle2D.Double</CODE></FONT></TD> |
||
227 | <TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutUtilities.html#toSheetRect(java.awt.geom.Rectangle2D, java.awt.geom.AffineTransform)">toSheetRect</A></B>(java.awt.geom.Rectangle2D r, |
||
228 | java.awt.geom.AffineTransform at)</CODE> |
||
229 | |||
230 | <BR>
|
||
231 | Pasa un ret?ngulo de pixels a coordenadas del folio.</TD> |
||
232 | </TR>
|
||
233 | </TABLE>
|
||
234 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
235 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
236 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
237 | <TD><B>Methods inherited from class java.lang.Object</B></TD> |
||
238 | </TR>
|
||
239 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
240 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
||
241 | </TR>
|
||
242 | </TABLE>
|
||
243 |
|
||
244 | <P>
|
||
245 | |||
246 | <!-- ============ FIELD DETAIL =========== -->
|
||
247 | |||
248 | |||
249 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
250 | |||
251 | <A NAME="constructor_detail"><!-- --></A> |
||
252 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
253 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
254 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
255 | <B>Constructor Detail</B></FONT></TD> |
||
256 | </TR>
|
||
257 | </TABLE>
|
||
258 | |||
259 | <A NAME="FLayoutUtilities()"><!-- --></A><H3> |
||
260 | FLayoutUtilities</H3>
|
||
261 | <PRE>
|
||
262 | public <B>FLayoutUtilities</B>()</PRE> |
||
263 | <DL>
|
||
264 | </DL>
|
||
265 | |||
266 | <!-- ============ METHOD DETAIL ========== -->
|
||
267 | |||
268 | <A NAME="method_detail"><!-- --></A> |
||
269 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
270 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
271 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
272 | <B>Method Detail</B></FONT></TD> |
||
273 | </TR>
|
||
274 | </TABLE>
|
||
275 | |||
276 | <A NAME="isEqualList(java.util.ArrayList, java.util.ArrayList)"><!-- --></A><H3> |
||
277 | isEqualList</H3>
|
||
278 | <PRE>
|
||
279 | public static boolean <B>isEqualList</B>(java.util.ArrayList n, |
||
280 | java.util.ArrayList l)</PRE> |
||
281 | <DL>
|
||
282 | <DD>Devuelve true si las dos ArrayList que se le pasan como parametro son
|
||
283 | iguales. |
||
284 | <P>
|
||
285 | <DD><DL> |
||
286 | <DT><B>Parameters:</B><DD><CODE>n</CODE> - lista anterior<DD><CODE>l</CODE> - lista actual |
||
287 | <DT><B>Returns:</B><DD>true si los ArrayList son iguales.</DL> |
||
288 | </DD>
|
||
289 | </DL>
|
||
290 | <HR>
|
||
291 | |||
292 | <A NAME="toSheetDistance(double, java.awt.geom.AffineTransform)"><!-- --></A><H3> |
||
293 | toSheetDistance</H3>
|
||
294 | <PRE>
|
||
295 | public static double <B>toSheetDistance</B>(double d, |
||
296 | java.awt.geom.AffineTransform at)</PRE> |
||
297 | <DL>
|
||
298 | <DD>Pasa una distancia en pixels a unidades del folio.
|
||
299 | <P>
|
||
300 | <DD><DL> |
||
301 | <DT><B>Parameters:</B><DD><CODE>d</CODE> - distancia en pixels.<DD><CODE>at</CODE> - Matriz de transformaci?n. |
||
302 | <DT><B>Returns:</B><DD>distancia en unidades de folio.</DL> |
||
303 | </DD>
|
||
304 | </DL>
|
||
305 | <HR>
|
||
306 | |||
307 | <A NAME="fromSheetDistance(double, java.awt.geom.AffineTransform)"><!-- --></A><H3> |
||
308 | fromSheetDistance</H3>
|
||
309 | <PRE>
|
||
310 | public static double <B>fromSheetDistance</B>(double d, |
||
311 | java.awt.geom.AffineTransform at)</PRE> |
||
312 | <DL>
|
||
313 | <DD>Pasa una distancia de coordenadas del folio a pixels.
|
||
314 | <P>
|
||
315 | <DD><DL> |
||
316 | <DT><B>Parameters:</B><DD><CODE>d</CODE> - distancia en coordenadas de folio.<DD><CODE>at</CODE> - Matriz de transformaci?n. |
||
317 | <DT><B>Returns:</B><DD>double en pixels.</DL> |
||
318 | </DD>
|
||
319 | </DL>
|
||
320 | <HR>
|
||
321 | |||
322 | <A NAME="toSheetPoint(java.awt.geom.Point2D.Double, java.awt.geom.AffineTransform)"><!-- --></A><H3> |
||
323 | toSheetPoint</H3>
|
||
324 | <PRE>
|
||
325 | public static java.awt.geom.Point2D.Double <B>toSheetPoint</B>(java.awt.geom.Point2D.Double pScreen, |
||
326 | java.awt.geom.AffineTransform at)</PRE> |
||
327 | <DL>
|
||
328 | <DD>Pasa un punto en pixels a coordenadas del folio.
|
||
329 | <P>
|
||
330 | <DD><DL> |
||
331 | <DT><B>Parameters:</B><DD><CODE>pScreen</CODE> - pixels.<DD><CODE>at</CODE> - Matriz de transformaci?n. |
||
332 | <DT><B>Returns:</B><DD>Point2D en coordenadas de folio.</DL> |
||
333 | </DD>
|
||
334 | </DL>
|
||
335 | <HR>
|
||
336 | |||
337 | <A NAME="toSheetRect(java.awt.geom.Rectangle2D, java.awt.geom.AffineTransform)"><!-- --></A><H3> |
||
338 | toSheetRect</H3>
|
||
339 | <PRE>
|
||
340 | public static java.awt.geom.Rectangle2D.Double <B>toSheetRect</B>(java.awt.geom.Rectangle2D r, |
||
341 | java.awt.geom.AffineTransform at)</PRE> |
||
342 | <DL>
|
||
343 | <DD>Pasa un ret?ngulo de pixels a coordenadas del folio.
|
||
344 | <P>
|
||
345 | <DD><DL> |
||
346 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - rect?ngulo en coordenadas de pixels a coordenadas de folio.<DD><CODE>at</CODE> - Matriz de transformaci?n. |
||
347 | <DT><B>Returns:</B><DD>Rectangle2D en coordenadas de folio.</DL> |
||
348 | </DD>
|
||
349 | </DL>
|
||
350 | <HR>
|
||
351 | |||
352 | <A NAME="fromSheetPoint(java.awt.geom.Point2D.Double, java.awt.geom.AffineTransform)"><!-- --></A><H3> |
||
353 | fromSheetPoint</H3>
|
||
354 | <PRE>
|
||
355 | public static java.awt.geom.Point2D.Double <B>fromSheetPoint</B>(java.awt.geom.Point2D.Double pSheet, |
||
356 | java.awt.geom.AffineTransform at)</PRE> |
||
357 | <DL>
|
||
358 | <DD>Pasa de un punto en coordenadas del folio a pixels.
|
||
359 | <P>
|
||
360 | <DD><DL> |
||
361 | <DT><B>Parameters:</B><DD><CODE>pSheet</CODE> - punto en coordenadas de folio.<DD><CODE>at</CODE> - Matriz de transformaci?n. |
||
362 | <DT><B>Returns:</B><DD>Point2D en pixels.</DL> |
||
363 | </DD>
|
||
364 | </DL>
|
||
365 | <HR>
|
||
366 | |||
367 | <A NAME="fromSheetRect(java.awt.geom.Rectangle2D.Double, java.awt.geom.AffineTransform)"><!-- --></A><H3> |
||
368 | fromSheetRect</H3>
|
||
369 | <PRE>
|
||
370 | public static java.awt.geom.Rectangle2D.Double <B>fromSheetRect</B>(java.awt.geom.Rectangle2D.Double r, |
||
371 | java.awt.geom.AffineTransform at)</PRE> |
||
372 | <DL>
|
||
373 | <DD>Pasa un rect?ngulo en coordenadas del folio a pixels.
|
||
374 | <P>
|
||
375 | <DD><DL> |
||
376 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - rect?ngulo en coordenadas de folio.<DD><CODE>at</CODE> - Matriz de transformaci?n. |
||
377 | <DT><B>Returns:</B><DD>Rectangle2D en pixels.</DL> |
||
378 | </DD>
|
||
379 | </DL>
|
||
380 | <HR>
|
||
381 | |||
382 | <A NAME="setRectGrid(java.awt.geom.Rectangle2D, double, double, java.awt.geom.AffineTransform)"><!-- --></A><H3> |
||
383 | setRectGrid</H3>
|
||
384 | <PRE>
|
||
385 | public static void <B>setRectGrid</B>(java.awt.geom.Rectangle2D re, |
||
386 | double distX,
|
||
387 | double distY,
|
||
388 | java.awt.geom.AffineTransform at)</PRE> |
||
389 | <DL>
|
||
390 | <DD>Obtiene el rect?ngulo ajustado al grid del layout.
|
||
391 | <P>
|
||
392 | <DD><DL> |
||
393 | <DT><B>Parameters:</B><DD><CODE>re</CODE> - Rect?ngulo a ajustar.<DD><CODE>distX</CODE> - Distancia m?nima en pixels de X.<DD><CODE>distY</CODE> - Distancia m?nima en pixels de Y.<DD><CODE>at</CODE> - Matriz de transformaci?n.</DL> |
||
394 | </DD>
|
||
395 | </DL>
|
||
396 | <HR>
|
||
397 | |||
398 | <A NAME="isPosible(java.awt.geom.Rectangle2D.Double)"><!-- --></A><H3> |
||
399 | isPosible</H3>
|
||
400 | <PRE>
|
||
401 | public static boolean <B>isPosible</B>(java.awt.geom.Rectangle2D.Double r)</PRE> |
||
402 | <DL>
|
||
403 | <DD>Cuando se dibuja sobre el graphics todo se tiene que situar en enteros y
|
||
404 | aqu? lo que se comprueba es que si los valores que contiene el |
||
405 | Rectangle2D, que toma como par?metro, supera los valores soportados por |
||
406 | un entero. |
||
407 | <P>
|
||
408 | <DD><DL> |
||
409 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - Rectangle2D a comprobar si los valores que contiene no superan |
||
410 | a los que puede tener un entero. |
||
411 | <DT><B>Returns:</B><DD>true si no se han superado los l?mites.</DL> |
||
412 | </DD>
|
||
413 | </DL>
|
||
414 | <HR>
|
||
415 | |||
416 | <A NAME="getScaleView(FMap, double)"><!-- --></A><H3> |
||
417 | getScaleView</H3>
|
||
418 | <PRE>
|
||
419 | public static long <B>getScaleView</B>(FMap map, |
||
420 | double h)</PRE> |
||
421 | <DL>
|
||
422 | <DD>Devuelve un long representando a la escala en funci?n de que unidad de
|
||
423 | medida se pase como par?metro. |
||
424 | <P>
|
||
425 | <DD><DL> |
||
426 | <DT><B>Parameters:</B><DD><CODE>map</CODE> - FMap<DD><CODE>h</CODE> - Rect?ngulo. |
||
427 | <DT><B>Returns:</B><DD>escala.</DL> |
||
428 | </DD>
|
||
429 | </DL>
|
||
430 | <!-- ========= END OF CLASS DATA ========= -->
|
||
431 | <HR>
|
||
432 | |||
433 | |||
434 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
435 | <A NAME="navbar_bottom"><!-- --></A> |
||
436 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
437 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
438 | <TR>
|
||
439 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
440 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
441 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
442 | <TR ALIGN="center" VALIGN="top"> |
||
443 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
444 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
445 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
446 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
447 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
448 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
449 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
450 | </TR>
|
||
451 | </TABLE>
|
||
452 | </TD>
|
||
453 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
454 | </EM>
|
||
455 | </TD>
|
||
456 | </TR>
|
||
457 | |||
458 | <TR>
|
||
459 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
460 | <A HREF="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutGraphics.html" title="class in com.iver.cit.gvsig.gui.layout"><B>PREV CLASS</B></A> |
||
461 | <A HREF="../../../../../../com/iver/cit/gvsig/gui/layout/FLayoutZooms.html" title="class in com.iver.cit.gvsig.gui.layout"><B>NEXT CLASS</B></A></FONT></TD> |
||
462 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
463 | <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A> |
||
464 | <A HREF="FLayoutUtilities.html" target="_top"><B>NO FRAMES</B></A> |
||
465 | <SCRIPT type="text/javascript"> |
||
466 | <!--
|
||
467 | if(window==top) {
|
||
468 | document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
469 | }
|
||
470 | //-->
|
||
471 | </SCRIPT>
|
||
472 | <NOSCRIPT>
|
||
473 | <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
474 | </NOSCRIPT>
|
||
475 | |||
476 | </FONT></TD> |
||
477 | </TR>
|
||
478 | <TR>
|
||
479 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
480 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
481 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
482 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
483 | </TR>
|
||
484 | </TABLE>
|
||
485 | <A NAME="skip-navbar_bottom"></A> |
||
486 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
487 | |||
488 | <HR>
|
||
489 | |||
490 | </BODY>
|
||
491 | </HTML> |