root / trunk / docs / gvSIG / gvSIG-api / com / iver / cit / gvsig / gui / GUIUtil.html @ 11445
History | View | Annotate | Download (58.4 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_04) on Mon Feb 14 08:49:13 CET 2005 -->
|
6 |
<TITLE>
|
7 |
GUIUtil (gvSIG API) |
8 |
</TITLE>
|
9 |
|
10 |
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.gui.GUIUtil 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="GUIUtil (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/FThemePropertiesDialog.html" title="class in com.iver.cit.gvsig.gui"><B>PREV CLASS</B></A> |
53 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.Location.html" title="class in com.iver.cit.gvsig.gui"><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="GUIUtil.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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <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: <A HREF="#field_detail">FIELD</A> | <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</FONT>
|
85 |
<BR>
|
86 |
Class GUIUtil</H2>
|
87 |
<PRE>
|
88 |
java.lang.Object |
89 |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.gui.GUIUtil</B> |
90 |
</PRE>
|
91 |
<HR>
|
92 |
<DL>
|
93 |
<DT>public class <B>GUIUtil</B><DT>extends java.lang.Object</DL> |
94 |
|
95 |
<P>
|
96 |
<HR>
|
97 |
|
98 |
<P>
|
99 |
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
100 |
|
101 |
<A NAME="nested_class_summary"><!-- --></A> |
102 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
103 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
104 |
<TD COLSPAN=2><FONT SIZE="+2"> |
105 |
<B>Nested Class Summary</B></FONT></TD> |
106 |
</TR>
|
107 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
108 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
109 |
<CODE>static class</CODE></FONT></TD> |
110 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.Location.html" title="class in com.iver.cit.gvsig.gui">GUIUtil.Location</A></B></CODE> |
111 |
|
112 |
<BR>
|
113 |
</TD> |
114 |
</TR>
|
115 |
</TABLE>
|
116 |
|
117 |
<!-- =========== FIELD SUMMARY =========== -->
|
118 |
|
119 |
<A NAME="field_summary"><!-- --></A> |
120 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
121 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
122 |
<TD COLSPAN=2><FONT SIZE="+2"> |
123 |
<B>Field Summary</B></FONT></TD> |
124 |
</TR>
|
125 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
126 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
127 |
<CODE>static javax.swing.filechooser.FileFilter</CODE></FONT></TD> |
128 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#ALL_FILES_FILTER">ALL_FILES_FILTER</A></B></CODE> |
129 |
|
130 |
<BR>
|
131 |
</TD> |
132 |
</TR>
|
133 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
134 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
135 |
<CODE>static java.lang.String</CODE></FONT></TD> |
136 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#dbf">dbf</A></B></CODE> |
137 |
|
138 |
<BR>
|
139 |
</TD> |
140 |
</TR>
|
141 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
142 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
143 |
<CODE>static java.lang.String</CODE></FONT></TD> |
144 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#dbfDesc">dbfDesc</A></B></CODE> |
145 |
|
146 |
<BR>
|
147 |
</TD> |
148 |
</TR>
|
149 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
150 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
151 |
<CODE>static java.lang.String</CODE></FONT></TD> |
152 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#fme">fme</A></B></CODE> |
153 |
|
154 |
<BR>
|
155 |
</TD> |
156 |
</TR>
|
157 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
158 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
159 |
<CODE>static java.lang.String</CODE></FONT></TD> |
160 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#fmeDesc">fmeDesc</A></B></CODE> |
161 |
|
162 |
<BR>
|
163 |
</TD> |
164 |
</TR>
|
165 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
166 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
167 |
<CODE>static java.lang.String</CODE></FONT></TD> |
168 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#gml">gml</A></B></CODE> |
169 |
|
170 |
<BR>
|
171 |
</TD> |
172 |
</TR>
|
173 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
174 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
175 |
<CODE>static java.lang.String</CODE></FONT></TD> |
176 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#gmlDesc">gmlDesc</A></B></CODE> |
177 |
|
178 |
<BR>
|
179 |
</TD> |
180 |
</TR>
|
181 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
182 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
183 |
<CODE>static java.lang.String</CODE></FONT></TD> |
184 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#jml">jml</A></B></CODE> |
185 |
|
186 |
<BR>
|
187 |
</TD> |
188 |
</TR>
|
189 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
190 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
191 |
<CODE>static java.lang.String</CODE></FONT></TD> |
192 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#jmlDesc">jmlDesc</A></B></CODE> |
193 |
|
194 |
<BR>
|
195 |
</TD> |
196 |
</TR>
|
197 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
198 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
199 |
<CODE>static java.lang.String</CODE></FONT></TD> |
200 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#shp">shp</A></B></CODE> |
201 |
|
202 |
<BR>
|
203 |
</TD> |
204 |
</TR>
|
205 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
206 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
207 |
<CODE>static java.lang.String</CODE></FONT></TD> |
208 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#shpDesc">shpDesc</A></B></CODE> |
209 |
|
210 |
<BR>
|
211 |
</TD> |
212 |
</TR>
|
213 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
214 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
215 |
<CODE>static java.lang.String</CODE></FONT></TD> |
216 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#shx">shx</A></B></CODE> |
217 |
|
218 |
<BR>
|
219 |
</TD> |
220 |
</TR>
|
221 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
222 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
223 |
<CODE>static java.lang.String</CODE></FONT></TD> |
224 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#shxDesc">shxDesc</A></B></CODE> |
225 |
|
226 |
<BR>
|
227 |
</TD> |
228 |
</TR>
|
229 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
230 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
231 |
<CODE>static java.lang.String</CODE></FONT></TD> |
232 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#wkt">wkt</A></B></CODE> |
233 |
|
234 |
<BR>
|
235 |
</TD> |
236 |
</TR>
|
237 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
238 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
239 |
<CODE>static java.lang.String</CODE></FONT></TD> |
240 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#wktaDesc">wktaDesc</A></B></CODE> |
241 |
|
242 |
<BR>
|
243 |
</TD> |
244 |
</TR>
|
245 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
246 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
247 |
<CODE>static java.lang.String</CODE></FONT></TD> |
248 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#wktDesc">wktDesc</A></B></CODE> |
249 |
|
250 |
<BR>
|
251 |
</TD> |
252 |
</TR>
|
253 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
254 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
255 |
<CODE>static java.lang.String</CODE></FONT></TD> |
256 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#xml">xml</A></B></CODE> |
257 |
|
258 |
<BR>
|
259 |
</TD> |
260 |
</TR>
|
261 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
262 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
263 |
<CODE>static java.lang.String</CODE></FONT></TD> |
264 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#xmlDesc">xmlDesc</A></B></CODE> |
265 |
|
266 |
<BR>
|
267 |
</TD> |
268 |
</TR>
|
269 |
</TABLE>
|
270 |
|
271 |
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
272 |
|
273 |
<A NAME="constructor_summary"><!-- --></A> |
274 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
275 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
276 |
<TD COLSPAN=2><FONT SIZE="+2"> |
277 |
<B>Constructor Summary</B></FONT></TD> |
278 |
</TR>
|
279 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
280 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#GUIUtil()">GUIUtil</A></B>()</CODE> |
281 |
|
282 |
<BR>
|
283 |
</TD> |
284 |
</TR>
|
285 |
</TABLE>
|
286 |
|
287 |
<!-- ========== METHOD SUMMARY =========== -->
|
288 |
|
289 |
<A NAME="method_summary"><!-- --></A> |
290 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
291 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
292 |
<TD COLSPAN=2><FONT SIZE="+2"> |
293 |
<B>Method Summary</B></FONT></TD> |
294 |
</TR>
|
295 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
296 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
297 |
<CODE>static java.awt.geom.Point2D</CODE></FONT></TD> |
298 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#add(java.awt.geom.Point2D, java.awt.geom.Point2D)">add</A></B>(java.awt.geom.Point2D a, |
299 |
java.awt.geom.Point2D b)</CODE> |
300 |
|
301 |
<BR>
|
302 |
</TD> |
303 |
</TR>
|
304 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
305 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
306 |
<CODE>static void</CODE></FONT></TD> |
307 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#addInternalFrameListener(javax.swing.JDesktopPane, javax.swing.event.InternalFrameListener)">addInternalFrameListener</A></B>(javax.swing.JDesktopPane pane, |
308 |
javax.swing.event.InternalFrameListener listener)</CODE> |
309 |
|
310 |
<BR>
|
311 |
Listens to all internal frames (current and future) in a JDesktopPane.</TD> |
312 |
</TR>
|
313 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
314 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
315 |
<CODE>static java.awt.Color</CODE></FONT></TD> |
316 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#alphaColor(java.awt.Color, int)">alphaColor</A></B>(java.awt.Color color, |
317 |
int alpha)</CODE> |
318 |
|
319 |
<BR>
|
320 |
</TD> |
321 |
</TR>
|
322 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
323 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
324 |
<CODE>static void</CODE></FONT></TD> |
325 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#centre(java.awt.Component, java.awt.Component)">centre</A></B>(java.awt.Component componentToMove, |
326 |
java.awt.Component componentToCentreOn)</CODE> |
327 |
|
328 |
<BR>
|
329 |
Centres the first component on the second</TD> |
330 |
</TR>
|
331 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
332 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
333 |
<CODE>static void</CODE></FONT></TD> |
334 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#centreOnScreen(java.awt.Component)">centreOnScreen</A></B>(java.awt.Component componentToMove)</CODE> |
335 |
|
336 |
<BR>
|
337 |
Centres the component on the screen</TD> |
338 |
</TR>
|
339 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
340 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
341 |
<CODE>static void</CODE></FONT></TD> |
342 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#centreOnWindow(java.awt.Component)">centreOnWindow</A></B>(java.awt.Component componentToMove)</CODE> |
343 |
|
344 |
<BR>
|
345 |
Centres the component on its window</TD> |
346 |
</TR>
|
347 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
348 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
349 |
<CODE>static void</CODE></FONT></TD> |
350 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#chooseGoodColumnWidths(javax.swing.JTable)">chooseGoodColumnWidths</A></B>(javax.swing.JTable table)</CODE> |
351 |
|
352 |
<BR>
|
353 |
Sets the column widths based on the first row.</TD> |
354 |
</TR>
|
355 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
356 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
357 |
<CODE>static javax.swing.filechooser.FileFilter</CODE></FONT></TD> |
358 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#createFileFilter(java.lang.String, java.lang.String[])">createFileFilter</A></B>(java.lang.String description, |
359 |
java.lang.String[] extensions)</CODE> |
360 |
|
361 |
<BR>
|
362 |
</TD> |
363 |
</TR>
|
364 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
365 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
366 |
<CODE>static javax.swing.JFileChooser</CODE></FONT></TD> |
367 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#createJFileChooserWithExistenceChecking()">createJFileChooserWithExistenceChecking</A></B>()</CODE> |
368 |
|
369 |
<BR>
|
370 |
</TD> |
371 |
</TR>
|
372 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
373 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
374 |
<CODE>static javax.swing.JFileChooser</CODE></FONT></TD> |
375 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#createJFileChooserWithOverwritePrompting()">createJFileChooserWithOverwritePrompting</A></B>()</CODE> |
376 |
|
377 |
<BR>
|
378 |
</TD> |
379 |
</TR>
|
380 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
381 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
382 |
<CODE>static javax.swing.Timer</CODE></FONT></TD> |
383 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#createRestartableSingleEventTimer(int, java.awt.event.ActionListener)">createRestartableSingleEventTimer</A></B>(int delay, |
384 |
java.awt.event.ActionListener listener)</CODE> |
385 |
|
386 |
<BR>
|
387 |
Returns a Timer that fires once, after the delay. </TD> |
388 |
</TR>
|
389 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
390 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
391 |
<CODE>static <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField</A></CODE></FONT></TD> |
392 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#createSyncdTextField(javax.swing.JSlider)">createSyncdTextField</A></B>(javax.swing.JSlider s)</CODE> |
393 |
|
394 |
<BR>
|
395 |
</TD> |
396 |
</TR>
|
397 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
398 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
399 |
<CODE>static <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField</A></CODE></FONT></TD> |
400 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#createSyncdTextField(javax.swing.JSlider, int)">createSyncdTextField</A></B>(javax.swing.JSlider s, |
401 |
int columns)</CODE> |
402 |
|
403 |
<BR>
|
404 |
</TD> |
405 |
</TR>
|
406 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
407 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
408 |
<CODE>static void</CODE></FONT></TD> |
409 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#dispose(javax.swing.JInternalFrame, javax.swing.JDesktopPane)">dispose</A></B>(javax.swing.JInternalFrame internalFrame, |
410 |
javax.swing.JDesktopPane desktopPane)</CODE> |
411 |
|
412 |
<BR>
|
413 |
Ensures that the next frame is activated when #dispose is called |
414 |
explicitly, in JDK 1.4. </TD>
|
415 |
</TR>
|
416 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
417 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
418 |
<CODE>static void</CODE></FONT></TD> |
419 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#doNotRoundDoubles(javax.swing.JTable)">doNotRoundDoubles</A></B>(javax.swing.JTable table)</CODE> |
420 |
|
421 |
<BR>
|
422 |
</TD> |
423 |
</TR>
|
424 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
425 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
426 |
<CODE>static java.lang.String</CODE></FONT></TD> |
427 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#escapeHTML(java.lang.String, boolean, boolean)">escapeHTML</A></B>(java.lang.String value, |
428 |
boolean escapeSpaces,
|
429 |
boolean escapeNewlines)</CODE> |
430 |
|
431 |
<BR>
|
432 |
Returns a string suitable for embeddind as HTML. </TD> |
433 |
</TR>
|
434 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
435 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
436 |
<CODE>static void</CODE></FONT></TD> |
437 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#fixClicks(java.awt.Component)">fixClicks</A></B>(java.awt.Component c)</CODE> |
438 |
|
439 |
<BR>
|
440 |
Fix for Sun Java Bug 4398733: if you click in an inactive JInternalFrame, |
441 |
the mousePressed and mouseReleased events will be fired, but not the |
442 |
mouseClicked event.</TD>
|
443 |
</TR>
|
444 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
445 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
446 |
<CODE>static void</CODE></FONT></TD> |
447 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#fixEditableComboBox(javax.swing.JComboBox)">fixEditableComboBox</A></B>(javax.swing.JComboBox cb)</CODE> |
448 |
|
449 |
<BR>
|
450 |
Workaround for Java Bug 4648654 "REGRESSION: Editable JComboBox focus |
451 |
misbehaves under Windows look and feel, proposed by Kleopatra |
452 |
(fastegal@addcom.de). </TD>
|
453 |
</TR>
|
454 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
455 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
456 |
<CODE>static java.awt.datatransfer.Transferable</CODE></FONT></TD> |
457 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#getContents(java.awt.datatransfer.Clipboard)">getContents</A></B>(java.awt.datatransfer.Clipboard clipboard)</CODE> |
458 |
|
459 |
<BR>
|
460 |
The JVM's clipboard implementation is buggy (see bugs 4644554 and 4522198 |
461 |
in Sun's Java bug database). </TD>
|
462 |
</TR>
|
463 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
464 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
465 |
<CODE>static java.awt.Component</CODE></FONT></TD> |
466 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#getDescendantOfClass(java.lang.Class, java.awt.Container)">getDescendantOfClass</A></B>(java.lang.Class c, |
467 |
java.awt.Container container)</CODE> |
468 |
|
469 |
<BR>
|
470 |
</TD> |
471 |
</TR>
|
472 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
473 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
474 |
<CODE>static java.lang.String</CODE></FONT></TD> |
475 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#getExtension(java.io.File)">getExtension</A></B>(java.io.File f)</CODE> |
476 |
|
477 |
<BR>
|
478 |
</TD> |
479 |
</TR>
|
480 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
481 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
482 |
<CODE>static void</CODE></FONT></TD> |
483 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#handleThrowable(java.lang.Throwable, java.awt.Component)">handleThrowable</A></B>(java.lang.Throwable t, |
484 |
java.awt.Component parent)</CODE> |
485 |
|
486 |
<BR>
|
487 |
</TD> |
488 |
</TR>
|
489 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
490 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
491 |
<CODE>static void</CODE></FONT></TD> |
492 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#highlightForDebugging(javax.swing.JComponent, java.awt.Color)">highlightForDebugging</A></B>(javax.swing.JComponent component, |
493 |
java.awt.Color color)</CODE> |
494 |
|
495 |
<BR>
|
496 |
Highlights a given component with a given color. |
497 |
</TD>
|
498 |
</TR>
|
499 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
500 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
501 |
<CODE>static void</CODE></FONT></TD> |
502 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#invokeOnEventThread(java.lang.Runnable)">invokeOnEventThread</A></B>(java.lang.Runnable r)</CODE> |
503 |
|
504 |
<BR>
|
505 |
GUI operations should be performed only on the AWT event dispatching |
506 |
thread. </TD>
|
507 |
</TR>
|
508 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
509 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
510 |
<CODE>static java.util.List</CODE></FONT></TD> |
511 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#items(javax.swing.JComboBox)">items</A></B>(javax.swing.JComboBox comboBox)</CODE> |
512 |
|
513 |
<BR>
|
514 |
</TD> |
515 |
</TR>
|
516 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
517 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
518 |
<CODE>static java.awt.geom.Point2D</CODE></FONT></TD> |
519 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#multiply(java.awt.geom.Point2D, double)">multiply</A></B>(java.awt.geom.Point2D v, |
520 |
double x)</CODE> |
521 |
|
522 |
<BR>
|
523 |
</TD> |
524 |
</TR>
|
525 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
526 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
527 |
<CODE>static java.lang.String</CODE></FONT></TD> |
528 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#nameWithoutExtension(java.io.File)">nameWithoutExtension</A></B>(java.io.File file)</CODE> |
529 |
|
530 |
<BR>
|
531 |
</TD> |
532 |
</TR>
|
533 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
534 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
535 |
<CODE>static void</CODE></FONT></TD> |
536 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#removeChoosableFileFilters(javax.swing.JFileChooser)">removeChoosableFileFilters</A></B>(javax.swing.JFileChooser fc)</CODE> |
537 |
|
538 |
<BR>
|
539 |
</TD> |
540 |
</TR>
|
541 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
542 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
543 |
<CODE>static javax.swing.ImageIcon</CODE></FONT></TD> |
544 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#resize(javax.swing.ImageIcon, int)">resize</A></B>(javax.swing.ImageIcon icon, |
545 |
int extent)</CODE> |
546 |
|
547 |
<BR>
|
548 |
</TD> |
549 |
</TR>
|
550 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
551 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
552 |
<CODE>static java.io.File[]</CODE></FONT></TD> |
553 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#selectedFiles(javax.swing.JFileChooser)">selectedFiles</A></B>(javax.swing.JFileChooser chooser)</CODE> |
554 |
|
555 |
<BR>
|
556 |
Work around Java Bug 4437688 "JFileChooser.getSelectedFile() returns |
557 |
nothing when a file is selected" [Jon Aquino]</TD>
|
558 |
</TR>
|
559 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
560 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
561 |
<CODE>static void</CODE></FONT></TD> |
562 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#setLocation(java.awt.Component, com.iver.cit.gvsig.gui.GUIUtil.Location, java.awt.Component)">setLocation</A></B>(java.awt.Component componentToMove, |
563 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.Location.html" title="class in com.iver.cit.gvsig.gui">GUIUtil.Location</A> location, |
564 |
java.awt.Component other)</CODE> |
565 |
|
566 |
<BR>
|
567 |
</TD> |
568 |
</TR>
|
569 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
570 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
571 |
<CODE>static void</CODE></FONT></TD> |
572 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#setSelectedWithClick(javax.swing.JCheckBox, boolean)">setSelectedWithClick</A></B>(javax.swing.JCheckBox checkBox, |
573 |
boolean selected)</CODE> |
574 |
|
575 |
<BR>
|
576 |
Calls #doClick so that events are fired.</TD> |
577 |
</TR>
|
578 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
579 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
580 |
<CODE>static java.awt.geom.Point2D</CODE></FONT></TD> |
581 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#subtract(java.awt.geom.Point2D, java.awt.geom.Point2D)">subtract</A></B>(java.awt.geom.Point2D a, |
582 |
java.awt.geom.Point2D b)</CODE> |
583 |
|
584 |
<BR>
|
585 |
</TD> |
586 |
</TR>
|
587 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
588 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
589 |
<CODE>static int</CODE></FONT></TD> |
590 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#swingThreadPriority()">swingThreadPriority</A></B>()</CODE> |
591 |
|
592 |
<BR>
|
593 |
</TD> |
594 |
</TR>
|
595 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
596 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
597 |
<CODE>static void</CODE></FONT></TD> |
598 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#sync(javax.swing.JCheckBox, javax.swing.JCheckBox)">sync</A></B>(javax.swing.JCheckBox c1, |
599 |
javax.swing.JCheckBox c2)</CODE> |
600 |
|
601 |
<BR>
|
602 |
</TD> |
603 |
</TR>
|
604 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
605 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
606 |
<CODE>static void</CODE></FONT></TD> |
607 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#sync(javax.swing.JSlider, javax.swing.JSlider)">sync</A></B>(javax.swing.JSlider s1, |
608 |
javax.swing.JSlider s2)</CODE> |
609 |
|
610 |
<BR>
|
611 |
</TD> |
612 |
</TR>
|
613 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
614 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
615 |
<CODE>static void</CODE></FONT></TD> |
616 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#sync(javax.swing.JSlider, com.iver.cit.gvsig.gui.ValidatingTextField)">sync</A></B>(javax.swing.JSlider s, |
617 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField</A> t)</CODE> |
618 |
|
619 |
<BR>
|
620 |
</TD> |
621 |
</TR>
|
622 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
623 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
624 |
<CODE>static void</CODE></FONT></TD> |
625 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#syncEnabledStates(javax.swing.JComponent, javax.swing.JComponent)">syncEnabledStates</A></B>(javax.swing.JComponent c1, |
626 |
javax.swing.JComponent c2)</CODE> |
627 |
|
628 |
<BR>
|
629 |
</TD> |
630 |
</TR>
|
631 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
632 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
633 |
<CODE>static javax.swing.ImageIcon</CODE></FONT></TD> |
634 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#toDisabledIcon(javax.swing.ImageIcon)">toDisabledIcon</A></B>(javax.swing.ImageIcon icon)</CODE> |
635 |
|
636 |
<BR>
|
637 |
</TD> |
638 |
</TR>
|
639 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
640 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
641 |
<CODE>static javax.swing.event.DocumentListener</CODE></FONT></TD> |
642 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#toDocumentListener(java.awt.event.ActionListener)">toDocumentListener</A></B>(java.awt.event.ActionListener listener)</CODE> |
643 |
|
644 |
<BR>
|
645 |
</TD> |
646 |
</TR>
|
647 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
648 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
649 |
<CODE>static javax.swing.event.InternalFrameListener</CODE></FONT></TD> |
650 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#toInternalFrameListener(java.awt.event.ActionListener)">toInternalFrameListener</A></B>(java.awt.event.ActionListener listener)</CODE> |
651 |
|
652 |
<BR>
|
653 |
</TD> |
654 |
</TR>
|
655 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
656 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
657 |
<CODE>static javax.swing.event.ListDataListener</CODE></FONT></TD> |
658 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#toListDataListener(java.awt.event.ActionListener)">toListDataListener</A></B>(java.awt.event.ActionListener listener)</CODE> |
659 |
|
660 |
<BR>
|
661 |
</TD> |
662 |
</TR>
|
663 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
664 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
665 |
<CODE>static java.awt.Component</CODE></FONT></TD> |
666 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#topCard(java.awt.Container)">topCard</A></B>(java.awt.Container c)</CODE> |
667 |
|
668 |
<BR>
|
669 |
</TD> |
670 |
</TR>
|
671 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
672 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
673 |
<CODE>static java.awt.Color</CODE></FONT></TD> |
674 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#toSimulatedTransparency(java.awt.Color)">toSimulatedTransparency</A></B>(java.awt.Color color)</CODE> |
675 |
|
676 |
<BR>
|
677 |
</TD> |
678 |
</TR>
|
679 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
680 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
681 |
<CODE>static javax.swing.ImageIcon</CODE></FONT></TD> |
682 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#toSmallIcon(javax.swing.ImageIcon)">toSmallIcon</A></B>(javax.swing.ImageIcon icon)</CODE> |
683 |
|
684 |
<BR>
|
685 |
Resizes icon to 16 x 16.</TD> |
686 |
</TR>
|
687 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
688 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
689 |
<CODE>static double</CODE></FONT></TD> |
690 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#trueAscent(java.awt.font.TextLayout)">trueAscent</A></B>(java.awt.font.TextLayout layout)</CODE> |
691 |
|
692 |
<BR>
|
693 |
Returns the distance from the baseline to the top of the text's bounding box. |
694 |
</TD>
|
695 |
</TR>
|
696 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
697 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
698 |
<CODE>static java.lang.String</CODE></FONT></TD> |
699 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#truncateString(java.lang.String, int)">truncateString</A></B>(java.lang.String s, |
700 |
int maxLength)</CODE> |
701 |
|
702 |
<BR>
|
703 |
</TD> |
704 |
</TR>
|
705 |
</TABLE>
|
706 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
707 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
708 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
709 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
710 |
</TR>
|
711 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
712 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
713 |
</TR>
|
714 |
</TABLE>
|
715 |
|
716 |
<P>
|
717 |
|
718 |
<!-- ============ FIELD DETAIL =========== -->
|
719 |
|
720 |
<A NAME="field_detail"><!-- --></A> |
721 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
722 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
723 |
<TD COLSPAN=1><FONT SIZE="+2"> |
724 |
<B>Field Detail</B></FONT></TD> |
725 |
</TR>
|
726 |
</TABLE>
|
727 |
|
728 |
<A NAME="dbf"><!-- --></A><H3> |
729 |
dbf</H3>
|
730 |
<PRE>
|
731 |
public static final java.lang.String <B>dbf</B></PRE> |
732 |
<DL>
|
733 |
<DL>
|
734 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.dbf">Constant Field Values</A></DL> |
735 |
</DL>
|
736 |
<HR>
|
737 |
|
738 |
<A NAME="dbfDesc"><!-- --></A><H3> |
739 |
dbfDesc</H3>
|
740 |
<PRE>
|
741 |
public static final java.lang.String <B>dbfDesc</B></PRE> |
742 |
<DL>
|
743 |
<DL>
|
744 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.dbfDesc">Constant Field Values</A></DL> |
745 |
</DL>
|
746 |
<HR>
|
747 |
|
748 |
<A NAME="fme"><!-- --></A><H3> |
749 |
fme</H3>
|
750 |
<PRE>
|
751 |
public static final java.lang.String <B>fme</B></PRE> |
752 |
<DL>
|
753 |
<DL>
|
754 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.fme">Constant Field Values</A></DL> |
755 |
</DL>
|
756 |
<HR>
|
757 |
|
758 |
<A NAME="fmeDesc"><!-- --></A><H3> |
759 |
fmeDesc</H3>
|
760 |
<PRE>
|
761 |
public static final java.lang.String <B>fmeDesc</B></PRE> |
762 |
<DL>
|
763 |
<DL>
|
764 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.fmeDesc">Constant Field Values</A></DL> |
765 |
</DL>
|
766 |
<HR>
|
767 |
|
768 |
<A NAME="gml"><!-- --></A><H3> |
769 |
gml</H3>
|
770 |
<PRE>
|
771 |
public static final java.lang.String <B>gml</B></PRE> |
772 |
<DL>
|
773 |
<DL>
|
774 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.gml">Constant Field Values</A></DL> |
775 |
</DL>
|
776 |
<HR>
|
777 |
|
778 |
<A NAME="gmlDesc"><!-- --></A><H3> |
779 |
gmlDesc</H3>
|
780 |
<PRE>
|
781 |
public static final java.lang.String <B>gmlDesc</B></PRE> |
782 |
<DL>
|
783 |
<DL>
|
784 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.gmlDesc">Constant Field Values</A></DL> |
785 |
</DL>
|
786 |
<HR>
|
787 |
|
788 |
<A NAME="jml"><!-- --></A><H3> |
789 |
jml</H3>
|
790 |
<PRE>
|
791 |
public static final java.lang.String <B>jml</B></PRE> |
792 |
<DL>
|
793 |
<DL>
|
794 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.jml">Constant Field Values</A></DL> |
795 |
</DL>
|
796 |
<HR>
|
797 |
|
798 |
<A NAME="jmlDesc"><!-- --></A><H3> |
799 |
jmlDesc</H3>
|
800 |
<PRE>
|
801 |
public static final java.lang.String <B>jmlDesc</B></PRE> |
802 |
<DL>
|
803 |
<DL>
|
804 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.jmlDesc">Constant Field Values</A></DL> |
805 |
</DL>
|
806 |
<HR>
|
807 |
|
808 |
<A NAME="shp"><!-- --></A><H3> |
809 |
shp</H3>
|
810 |
<PRE>
|
811 |
public static final java.lang.String <B>shp</B></PRE> |
812 |
<DL>
|
813 |
<DL>
|
814 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.shp">Constant Field Values</A></DL> |
815 |
</DL>
|
816 |
<HR>
|
817 |
|
818 |
<A NAME="shpDesc"><!-- --></A><H3> |
819 |
shpDesc</H3>
|
820 |
<PRE>
|
821 |
public static final java.lang.String <B>shpDesc</B></PRE> |
822 |
<DL>
|
823 |
<DL>
|
824 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.shpDesc">Constant Field Values</A></DL> |
825 |
</DL>
|
826 |
<HR>
|
827 |
|
828 |
<A NAME="shx"><!-- --></A><H3> |
829 |
shx</H3>
|
830 |
<PRE>
|
831 |
public static final java.lang.String <B>shx</B></PRE> |
832 |
<DL>
|
833 |
<DL>
|
834 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.shx">Constant Field Values</A></DL> |
835 |
</DL>
|
836 |
<HR>
|
837 |
|
838 |
<A NAME="shxDesc"><!-- --></A><H3> |
839 |
shxDesc</H3>
|
840 |
<PRE>
|
841 |
public static final java.lang.String <B>shxDesc</B></PRE> |
842 |
<DL>
|
843 |
<DL>
|
844 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.shxDesc">Constant Field Values</A></DL> |
845 |
</DL>
|
846 |
<HR>
|
847 |
|
848 |
<A NAME="wkt"><!-- --></A><H3> |
849 |
wkt</H3>
|
850 |
<PRE>
|
851 |
public static final java.lang.String <B>wkt</B></PRE> |
852 |
<DL>
|
853 |
<DL>
|
854 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.wkt">Constant Field Values</A></DL> |
855 |
</DL>
|
856 |
<HR>
|
857 |
|
858 |
<A NAME="wktDesc"><!-- --></A><H3> |
859 |
wktDesc</H3>
|
860 |
<PRE>
|
861 |
public static final java.lang.String <B>wktDesc</B></PRE> |
862 |
<DL>
|
863 |
<DL>
|
864 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.wktDesc">Constant Field Values</A></DL> |
865 |
</DL>
|
866 |
<HR>
|
867 |
|
868 |
<A NAME="wktaDesc"><!-- --></A><H3> |
869 |
wktaDesc</H3>
|
870 |
<PRE>
|
871 |
public static final java.lang.String <B>wktaDesc</B></PRE> |
872 |
<DL>
|
873 |
<DL>
|
874 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.wktaDesc">Constant Field Values</A></DL> |
875 |
</DL>
|
876 |
<HR>
|
877 |
|
878 |
<A NAME="xml"><!-- --></A><H3> |
879 |
xml</H3>
|
880 |
<PRE>
|
881 |
public static final java.lang.String <B>xml</B></PRE> |
882 |
<DL>
|
883 |
<DL>
|
884 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.xml">Constant Field Values</A></DL> |
885 |
</DL>
|
886 |
<HR>
|
887 |
|
888 |
<A NAME="xmlDesc"><!-- --></A><H3> |
889 |
xmlDesc</H3>
|
890 |
<PRE>
|
891 |
public static final java.lang.String <B>xmlDesc</B></PRE> |
892 |
<DL>
|
893 |
<DL>
|
894 |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.GUIUtil.xmlDesc">Constant Field Values</A></DL> |
895 |
</DL>
|
896 |
<HR>
|
897 |
|
898 |
<A NAME="ALL_FILES_FILTER"><!-- --></A><H3> |
899 |
ALL_FILES_FILTER</H3>
|
900 |
<PRE>
|
901 |
public static final javax.swing.filechooser.FileFilter <B>ALL_FILES_FILTER</B></PRE> |
902 |
<DL>
|
903 |
<DL>
|
904 |
</DL>
|
905 |
</DL>
|
906 |
|
907 |
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
908 |
|
909 |
<A NAME="constructor_detail"><!-- --></A> |
910 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
911 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
912 |
<TD COLSPAN=1><FONT SIZE="+2"> |
913 |
<B>Constructor Detail</B></FONT></TD> |
914 |
</TR>
|
915 |
</TABLE>
|
916 |
|
917 |
<A NAME="GUIUtil()"><!-- --></A><H3> |
918 |
GUIUtil</H3>
|
919 |
<PRE>
|
920 |
public <B>GUIUtil</B>()</PRE> |
921 |
<DL>
|
922 |
</DL>
|
923 |
|
924 |
<!-- ============ METHOD DETAIL ========== -->
|
925 |
|
926 |
<A NAME="method_detail"><!-- --></A> |
927 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
928 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
929 |
<TD COLSPAN=1><FONT SIZE="+2"> |
930 |
<B>Method Detail</B></FONT></TD> |
931 |
</TR>
|
932 |
</TABLE>
|
933 |
|
934 |
<A NAME="escapeHTML(java.lang.String, boolean, boolean)"><!-- --></A><H3> |
935 |
escapeHTML</H3>
|
936 |
<PRE>
|
937 |
public static final java.lang.String <B>escapeHTML</B>(java.lang.String value, |
938 |
boolean escapeSpaces,
|
939 |
boolean escapeNewlines)</PRE> |
940 |
<DL>
|
941 |
<DD>Returns a string suitable for embeddind as HTML. That is, all
|
942 |
characters which have a special meaning in HTML are escaped |
943 |
as character codes. |
944 |
|
945 |
<p>
|
946 |
Based on code from Jason Sherman. See http://www.w3schools.com/html/html_asciiref.asp |
947 |
</p>
|
948 |
<P>
|
949 |
<DD><DL> |
950 |
</DL>
|
951 |
</DD>
|
952 |
</DL>
|
953 |
<HR>
|
954 |
|
955 |
<A NAME="getExtension(java.io.File)"><!-- --></A><H3> |
956 |
getExtension</H3>
|
957 |
<PRE>
|
958 |
public static java.lang.String <B>getExtension</B>(java.io.File f)</PRE> |
959 |
<DL>
|
960 |
<DD><DL> |
961 |
</DL>
|
962 |
</DD>
|
963 |
</DL>
|
964 |
<HR>
|
965 |
|
966 |
<A NAME="alphaColor(java.awt.Color, int)"><!-- --></A><H3> |
967 |
alphaColor</H3>
|
968 |
<PRE>
|
969 |
public static java.awt.Color <B>alphaColor</B>(java.awt.Color color, |
970 |
int alpha)</PRE> |
971 |
<DL>
|
972 |
<DD><DL> |
973 |
</DL>
|
974 |
</DD>
|
975 |
</DL>
|
976 |
<HR>
|
977 |
|
978 |
<A NAME="centre(java.awt.Component, java.awt.Component)"><!-- --></A><H3> |
979 |
centre</H3>
|
980 |
<PRE>
|
981 |
public static void <B>centre</B>(java.awt.Component componentToMove, |
982 |
java.awt.Component componentToCentreOn)</PRE> |
983 |
<DL>
|
984 |
<DD>Centres the first component on the second
|
985 |
<P>
|
986 |
<DD><DL> |
987 |
<DT><B>Parameters:</B><DD><CODE>componentToMove</CODE> - Description of the Parameter<DD><CODE>componentToCentreOn</CODE> - Description of the Parameter</DL> |
988 |
</DD>
|
989 |
</DL>
|
990 |
<HR>
|
991 |
|
992 |
<A NAME="centreOnScreen(java.awt.Component)"><!-- --></A><H3> |
993 |
centreOnScreen</H3>
|
994 |
<PRE>
|
995 |
public static void <B>centreOnScreen</B>(java.awt.Component componentToMove)</PRE> |
996 |
<DL>
|
997 |
<DD>Centres the component on the screen
|
998 |
<P>
|
999 |
<DD><DL> |
1000 |
<DT><B>Parameters:</B><DD><CODE>componentToMove</CODE> - Description of the Parameter</DL> |
1001 |
</DD>
|
1002 |
</DL>
|
1003 |
<HR>
|
1004 |
|
1005 |
<A NAME="centreOnWindow(java.awt.Component)"><!-- --></A><H3> |
1006 |
centreOnWindow</H3>
|
1007 |
<PRE>
|
1008 |
public static void <B>centreOnWindow</B>(java.awt.Component componentToMove)</PRE> |
1009 |
<DL>
|
1010 |
<DD>Centres the component on its window
|
1011 |
<P>
|
1012 |
<DD><DL> |
1013 |
<DT><B>Parameters:</B><DD><CODE>componentToMove</CODE> - Description of the Parameter</DL> |
1014 |
</DD>
|
1015 |
</DL>
|
1016 |
<HR>
|
1017 |
|
1018 |
<A NAME="chooseGoodColumnWidths(javax.swing.JTable)"><!-- --></A><H3> |
1019 |
chooseGoodColumnWidths</H3>
|
1020 |
<PRE>
|
1021 |
public static void <B>chooseGoodColumnWidths</B>(javax.swing.JTable table)</PRE> |
1022 |
<DL>
|
1023 |
<DD>Sets the column widths based on the first row.
|
1024 |
<P>
|
1025 |
<DD><DL> |
1026 |
<DT><B>Parameters:</B><DD><CODE>table</CODE> - Description of the Parameter</DL> |
1027 |
</DD>
|
1028 |
</DL>
|
1029 |
<HR>
|
1030 |
|
1031 |
<A NAME="createJFileChooserWithExistenceChecking()"><!-- --></A><H3> |
1032 |
createJFileChooserWithExistenceChecking</H3>
|
1033 |
<PRE>
|
1034 |
public static javax.swing.JFileChooser <B>createJFileChooserWithExistenceChecking</B>()</PRE> |
1035 |
<DL>
|
1036 |
<DD><DL> |
1037 |
</DL>
|
1038 |
</DD>
|
1039 |
</DL>
|
1040 |
<HR>
|
1041 |
|
1042 |
<A NAME="createJFileChooserWithOverwritePrompting()"><!-- --></A><H3> |
1043 |
createJFileChooserWithOverwritePrompting</H3>
|
1044 |
<PRE>
|
1045 |
public static javax.swing.JFileChooser <B>createJFileChooserWithOverwritePrompting</B>()</PRE> |
1046 |
<DL>
|
1047 |
<DD><DL> |
1048 |
</DL>
|
1049 |
</DD>
|
1050 |
</DL>
|
1051 |
<HR>
|
1052 |
|
1053 |
<A NAME="doNotRoundDoubles(javax.swing.JTable)"><!-- --></A><H3> |
1054 |
doNotRoundDoubles</H3>
|
1055 |
<PRE>
|
1056 |
public static void <B>doNotRoundDoubles</B>(javax.swing.JTable table)</PRE> |
1057 |
<DL>
|
1058 |
<DD><DL> |
1059 |
</DL>
|
1060 |
</DD>
|
1061 |
</DL>
|
1062 |
<HR>
|
1063 |
|
1064 |
<A NAME="fixEditableComboBox(javax.swing.JComboBox)"><!-- --></A><H3> |
1065 |
fixEditableComboBox</H3>
|
1066 |
<PRE>
|
1067 |
public static void <B>fixEditableComboBox</B>(javax.swing.JComboBox cb)</PRE> |
1068 |
<DL>
|
1069 |
<DD>Workaround for Java Bug 4648654 "REGRESSION: Editable JComboBox focus
|
1070 |
misbehaves under Windows look and feel, proposed by Kleopatra |
1071 |
(fastegal@addcom.de). Also see Java Bug 4673880 "REGRESSION: Modified |
1072 |
editable JComboBox in Windows LAF does not release focus." This bug |
1073 |
started occurring in Java 1.4.0. |
1074 |
<P>
|
1075 |
<DD><DL> |
1076 |
<DT><B>Parameters:</B><DD><CODE>cb</CODE> - Description of the Parameter</DL> |
1077 |
</DD>
|
1078 |
</DL>
|
1079 |
<HR>
|
1080 |
|
1081 |
<A NAME="handleThrowable(java.lang.Throwable, java.awt.Component)"><!-- --></A><H3> |
1082 |
handleThrowable</H3>
|
1083 |
<PRE>
|
1084 |
public static void <B>handleThrowable</B>(java.lang.Throwable t, |
1085 |
java.awt.Component parent)</PRE> |
1086 |
<DL>
|
1087 |
<DD><DL> |
1088 |
</DL>
|
1089 |
</DD>
|
1090 |
</DL>
|
1091 |
<HR>
|
1092 |
|
1093 |
<A NAME="invokeOnEventThread(java.lang.Runnable)"><!-- --></A><H3> |
1094 |
invokeOnEventThread</H3>
|
1095 |
<PRE>
|
1096 |
public static void <B>invokeOnEventThread</B>(java.lang.Runnable r) |
1097 |
throws java.lang.InterruptedException, |
1098 |
java.lang.reflect.InvocationTargetException</PRE>
|
1099 |
<DL>
|
1100 |
<DD>GUI operations should be performed only on the AWT event dispatching
|
1101 |
thread. Blocks until the Runnable is finished. |
1102 |
<P>
|
1103 |
<DD><DL> |
1104 |
|
1105 |
<DT><B>Throws:</B> |
1106 |
<DD><CODE>java.lang.InterruptedException</CODE> |
1107 |
<DD><CODE>java.lang.reflect.InvocationTargetException</CODE></DL> |
1108 |
</DD>
|
1109 |
</DL>
|
1110 |
<HR>
|
1111 |
|
1112 |
<A NAME="nameWithoutExtension(java.io.File)"><!-- --></A><H3> |
1113 |
nameWithoutExtension</H3>
|
1114 |
<PRE>
|
1115 |
public static java.lang.String <B>nameWithoutExtension</B>(java.io.File file)</PRE> |
1116 |
<DL>
|
1117 |
<DD><DL> |
1118 |
</DL>
|
1119 |
</DD>
|
1120 |
</DL>
|
1121 |
<HR>
|
1122 |
|
1123 |
<A NAME="removeChoosableFileFilters(javax.swing.JFileChooser)"><!-- --></A><H3> |
1124 |
removeChoosableFileFilters</H3>
|
1125 |
<PRE>
|
1126 |
public static void <B>removeChoosableFileFilters</B>(javax.swing.JFileChooser fc)</PRE> |
1127 |
<DL>
|
1128 |
<DD><DL> |
1129 |
</DL>
|
1130 |
</DD>
|
1131 |
</DL>
|
1132 |
<HR>
|
1133 |
|
1134 |
<A NAME="createFileFilter(java.lang.String, java.lang.String[])"><!-- --></A><H3> |
1135 |
createFileFilter</H3>
|
1136 |
<PRE>
|
1137 |
public static javax.swing.filechooser.FileFilter <B>createFileFilter</B>(java.lang.String description, |
1138 |
java.lang.String[] extensions)</PRE> |
1139 |
<DL>
|
1140 |
<DD><DL> |
1141 |
<DT><B>Parameters:</B><DD><CODE>extensions</CODE> - e.g. txt</DL> |
1142 |
</DD>
|
1143 |
</DL>
|
1144 |
<HR>
|
1145 |
|
1146 |
<A NAME="toSimulatedTransparency(java.awt.Color)"><!-- --></A><H3> |
1147 |
toSimulatedTransparency</H3>
|
1148 |
<PRE>
|
1149 |
public static java.awt.Color <B>toSimulatedTransparency</B>(java.awt.Color color)</PRE> |
1150 |
<DL>
|
1151 |
<DD><DL> |
1152 |
<DT><B>Parameters:</B><DD><CODE>color</CODE> - a Color with possibly an alpha less than 255 |
1153 |
<DT><B>Returns:</B><DD>a Color with alpha equal to 255, but equivalent to the |
1154 |
original translucent colour on a white background</DL>
|
1155 |
</DD>
|
1156 |
</DL>
|
1157 |
<HR>
|
1158 |
|
1159 |
<A NAME="truncateString(java.lang.String, int)"><!-- --></A><H3> |
1160 |
truncateString</H3>
|
1161 |
<PRE>
|
1162 |
public static java.lang.String <B>truncateString</B>(java.lang.String s, |
1163 |
int maxLength)</PRE> |
1164 |
<DL>
|
1165 |
<DD><DL> |
1166 |
</DL>
|
1167 |
</DD>
|
1168 |
</DL>
|
1169 |
<HR>
|
1170 |
|
1171 |
<A NAME="subtract(java.awt.geom.Point2D, java.awt.geom.Point2D)"><!-- --></A><H3> |
1172 |
subtract</H3>
|
1173 |
<PRE>
|
1174 |
public static java.awt.geom.Point2D <B>subtract</B>(java.awt.geom.Point2D a, |
1175 |
java.awt.geom.Point2D b)</PRE> |
1176 |
<DL>
|
1177 |
<DD><DL> |
1178 |
</DL>
|
1179 |
</DD>
|
1180 |
</DL>
|
1181 |
<HR>
|
1182 |
|
1183 |
<A NAME="add(java.awt.geom.Point2D, java.awt.geom.Point2D)"><!-- --></A><H3> |
1184 |
add</H3>
|
1185 |
<PRE>
|
1186 |
public static java.awt.geom.Point2D <B>add</B>(java.awt.geom.Point2D a, |
1187 |
java.awt.geom.Point2D b)</PRE> |
1188 |
<DL>
|
1189 |
<DD><DL> |
1190 |
</DL>
|
1191 |
</DD>
|
1192 |
</DL>
|
1193 |
<HR>
|
1194 |
|
1195 |
<A NAME="multiply(java.awt.geom.Point2D, double)"><!-- --></A><H3> |
1196 |
multiply</H3>
|
1197 |
<PRE>
|
1198 |
public static java.awt.geom.Point2D <B>multiply</B>(java.awt.geom.Point2D v, |
1199 |
double x)</PRE> |
1200 |
<DL>
|
1201 |
<DD><DL> |
1202 |
</DL>
|
1203 |
</DD>
|
1204 |
</DL>
|
1205 |
<HR>
|
1206 |
|
1207 |
<A NAME="getContents(java.awt.datatransfer.Clipboard)"><!-- --></A><H3> |
1208 |
getContents</H3>
|
1209 |
<PRE>
|
1210 |
public static java.awt.datatransfer.Transferable <B>getContents</B>(java.awt.datatransfer.Clipboard clipboard)</PRE> |
1211 |
<DL>
|
1212 |
<DD>The JVM's clipboard implementation is buggy (see bugs 4644554 and 4522198
|
1213 |
in Sun's Java bug database). This method is a workaround that returns null |
1214 |
if an exception is thrown, as suggested in the bug reports. |
1215 |
<P>
|
1216 |
<DD><DL> |
1217 |
</DL>
|
1218 |
</DD>
|
1219 |
</DL>
|
1220 |
<HR>
|
1221 |
|
1222 |
<A NAME="trueAscent(java.awt.font.TextLayout)"><!-- --></A><H3> |
1223 |
trueAscent</H3>
|
1224 |
<PRE>
|
1225 |
public static double <B>trueAscent</B>(java.awt.font.TextLayout layout)</PRE> |
1226 |
<DL>
|
1227 |
<DD>Returns the distance from the baseline to the top of the text's bounding box.
|
1228 |
Unlike the usual ascent, which is independent of the actual text. |
1229 |
Note that "True ascent" is not a standard term. |
1230 |
<P>
|
1231 |
<DD><DL> |
1232 |
</DL>
|
1233 |
</DD>
|
1234 |
</DL>
|
1235 |
<HR>
|
1236 |
|
1237 |
<A NAME="resize(javax.swing.ImageIcon, int)"><!-- --></A><H3> |
1238 |
resize</H3>
|
1239 |
<PRE>
|
1240 |
public static javax.swing.ImageIcon <B>resize</B>(javax.swing.ImageIcon icon, |
1241 |
int extent)</PRE> |
1242 |
<DL>
|
1243 |
<DD><DL> |
1244 |
</DL>
|
1245 |
</DD>
|
1246 |
</DL>
|
1247 |
<HR>
|
1248 |
|
1249 |
<A NAME="toSmallIcon(javax.swing.ImageIcon)"><!-- --></A><H3> |
1250 |
toSmallIcon</H3>
|
1251 |
<PRE>
|
1252 |
public static javax.swing.ImageIcon <B>toSmallIcon</B>(javax.swing.ImageIcon icon)</PRE> |
1253 |
<DL>
|
1254 |
<DD>Resizes icon to 16 x 16.
|
1255 |
<P>
|
1256 |
<DD><DL> |
1257 |
</DL>
|
1258 |
</DD>
|
1259 |
</DL>
|
1260 |
<HR>
|
1261 |
|
1262 |
<A NAME="swingThreadPriority()"><!-- --></A><H3> |
1263 |
swingThreadPriority</H3>
|
1264 |
<PRE>
|
1265 |
public static int <B>swingThreadPriority</B>()</PRE> |
1266 |
<DL>
|
1267 |
<DD><DL> |
1268 |
</DL>
|
1269 |
</DD>
|
1270 |
</DL>
|
1271 |
<HR>
|
1272 |
|
1273 |
<A NAME="fixClicks(java.awt.Component)"><!-- --></A><H3> |
1274 |
fixClicks</H3>
|
1275 |
<PRE>
|
1276 |
public static void <B>fixClicks</B>(java.awt.Component c)</PRE> |
1277 |
<DL>
|
1278 |
<DD>Fix for Sun Java Bug 4398733: if you click in an inactive JInternalFrame,
|
1279 |
the mousePressed and mouseReleased events will be fired, but not the |
1280 |
mouseClicked event. |
1281 |
<P>
|
1282 |
<DD><DL> |
1283 |
</DL>
|
1284 |
</DD>
|
1285 |
</DL>
|
1286 |
<HR>
|
1287 |
|
1288 |
<A NAME="addInternalFrameListener(javax.swing.JDesktopPane, javax.swing.event.InternalFrameListener)"><!-- --></A><H3> |
1289 |
addInternalFrameListener</H3>
|
1290 |
<PRE>
|
1291 |
public static void <B>addInternalFrameListener</B>(javax.swing.JDesktopPane pane, |
1292 |
javax.swing.event.InternalFrameListener listener)</PRE> |
1293 |
<DL>
|
1294 |
<DD>Listens to all internal frames (current and future) in a JDesktopPane.
|
1295 |
<P>
|
1296 |
<DD><DL> |
1297 |
</DL>
|
1298 |
</DD>
|
1299 |
</DL>
|
1300 |
<HR>
|
1301 |
|
1302 |
<A NAME="toDocumentListener(java.awt.event.ActionListener)"><!-- --></A><H3> |
1303 |
toDocumentListener</H3>
|
1304 |
<PRE>
|
1305 |
public static javax.swing.event.DocumentListener <B>toDocumentListener</B>(java.awt.event.ActionListener listener)</PRE> |
1306 |
<DL>
|
1307 |
<DD><DL> |
1308 |
</DL>
|
1309 |
</DD>
|
1310 |
</DL>
|
1311 |
<HR>
|
1312 |
|
1313 |
<A NAME="toListDataListener(java.awt.event.ActionListener)"><!-- --></A><H3> |
1314 |
toListDataListener</H3>
|
1315 |
<PRE>
|
1316 |
public static javax.swing.event.ListDataListener <B>toListDataListener</B>(java.awt.event.ActionListener listener)</PRE> |
1317 |
<DL>
|
1318 |
<DD><DL> |
1319 |
</DL>
|
1320 |
</DD>
|
1321 |
</DL>
|
1322 |
<HR>
|
1323 |
|
1324 |
<A NAME="toInternalFrameListener(java.awt.event.ActionListener)"><!-- --></A><H3> |
1325 |
toInternalFrameListener</H3>
|
1326 |
<PRE>
|
1327 |
public static javax.swing.event.InternalFrameListener <B>toInternalFrameListener</B>(java.awt.event.ActionListener listener)</PRE> |
1328 |
<DL>
|
1329 |
<DD><DL> |
1330 |
</DL>
|
1331 |
</DD>
|
1332 |
</DL>
|
1333 |
<HR>
|
1334 |
|
1335 |
<A NAME="createRestartableSingleEventTimer(int, java.awt.event.ActionListener)"><!-- --></A><H3> |
1336 |
createRestartableSingleEventTimer</H3>
|
1337 |
<PRE>
|
1338 |
public static javax.swing.Timer <B>createRestartableSingleEventTimer</B>(int delay, |
1339 |
java.awt.event.ActionListener listener)</PRE> |
1340 |
<DL>
|
1341 |
<DD>Returns a Timer that fires once, after the delay. The delay can be restarted
|
1342 |
by restarting the Timer. |
1343 |
<P>
|
1344 |
<DD><DL> |
1345 |
</DL>
|
1346 |
</DD>
|
1347 |
</DL>
|
1348 |
<HR>
|
1349 |
|
1350 |
<A NAME="createSyncdTextField(javax.swing.JSlider)"><!-- --></A><H3> |
1351 |
createSyncdTextField</H3>
|
1352 |
<PRE>
|
1353 |
public static <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField</A> <B>createSyncdTextField</B>(javax.swing.JSlider s)</PRE> |
1354 |
<DL>
|
1355 |
<DD><DL> |
1356 |
</DL>
|
1357 |
</DD>
|
1358 |
</DL>
|
1359 |
<HR>
|
1360 |
|
1361 |
<A NAME="createSyncdTextField(javax.swing.JSlider, int)"><!-- --></A><H3> |
1362 |
createSyncdTextField</H3>
|
1363 |
<PRE>
|
1364 |
public static <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField</A> <B>createSyncdTextField</B>(javax.swing.JSlider s, |
1365 |
int columns)</PRE> |
1366 |
<DL>
|
1367 |
<DD><DL> |
1368 |
</DL>
|
1369 |
</DD>
|
1370 |
</DL>
|
1371 |
<HR>
|
1372 |
|
1373 |
<A NAME="sync(javax.swing.JSlider, com.iver.cit.gvsig.gui.ValidatingTextField)"><!-- --></A><H3> |
1374 |
sync</H3>
|
1375 |
<PRE>
|
1376 |
public static void <B>sync</B>(javax.swing.JSlider s, |
1377 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField</A> t)</PRE> |
1378 |
<DL>
|
1379 |
<DD><DL> |
1380 |
<DT><B>See Also:</B><DD><A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.html#createSyncdTextField(javax.swing.JSlider, int)"><CODE>createSyncdTextField(JSlider s, int columns)</CODE></A></DL> |
1381 |
</DD>
|
1382 |
</DL>
|
1383 |
<HR>
|
1384 |
|
1385 |
<A NAME="syncEnabledStates(javax.swing.JComponent, javax.swing.JComponent)"><!-- --></A><H3> |
1386 |
syncEnabledStates</H3>
|
1387 |
<PRE>
|
1388 |
public static void <B>syncEnabledStates</B>(javax.swing.JComponent c1, |
1389 |
javax.swing.JComponent c2)</PRE> |
1390 |
<DL>
|
1391 |
<DD><DL> |
1392 |
</DL>
|
1393 |
</DD>
|
1394 |
</DL>
|
1395 |
<HR>
|
1396 |
|
1397 |
<A NAME="sync(javax.swing.JSlider, javax.swing.JSlider)"><!-- --></A><H3> |
1398 |
sync</H3>
|
1399 |
<PRE>
|
1400 |
public static void <B>sync</B>(javax.swing.JSlider s1, |
1401 |
javax.swing.JSlider s2)</PRE> |
1402 |
<DL>
|
1403 |
<DD><DL> |
1404 |
</DL>
|
1405 |
</DD>
|
1406 |
</DL>
|
1407 |
<HR>
|
1408 |
|
1409 |
<A NAME="sync(javax.swing.JCheckBox, javax.swing.JCheckBox)"><!-- --></A><H3> |
1410 |
sync</H3>
|
1411 |
<PRE>
|
1412 |
public static void <B>sync</B>(javax.swing.JCheckBox c1, |
1413 |
javax.swing.JCheckBox c2)</PRE> |
1414 |
<DL>
|
1415 |
<DD><DL> |
1416 |
</DL>
|
1417 |
</DD>
|
1418 |
</DL>
|
1419 |
<HR>
|
1420 |
|
1421 |
<A NAME="items(javax.swing.JComboBox)"><!-- --></A><H3> |
1422 |
items</H3>
|
1423 |
<PRE>
|
1424 |
public static java.util.List <B>items</B>(javax.swing.JComboBox comboBox)</PRE> |
1425 |
<DL>
|
1426 |
<DD><DL> |
1427 |
</DL>
|
1428 |
</DD>
|
1429 |
</DL>
|
1430 |
<HR>
|
1431 |
|
1432 |
<A NAME="setSelectedWithClick(javax.swing.JCheckBox, boolean)"><!-- --></A><H3> |
1433 |
setSelectedWithClick</H3>
|
1434 |
<PRE>
|
1435 |
public static void <B>setSelectedWithClick</B>(javax.swing.JCheckBox checkBox, |
1436 |
boolean selected)</PRE> |
1437 |
<DL>
|
1438 |
<DD>Calls #doClick so that events are fired.
|
1439 |
<P>
|
1440 |
<DD><DL> |
1441 |
</DL>
|
1442 |
</DD>
|
1443 |
</DL>
|
1444 |
<HR>
|
1445 |
|
1446 |
<A NAME="setLocation(java.awt.Component, com.iver.cit.gvsig.gui.GUIUtil.Location, java.awt.Component)"><!-- --></A><H3> |
1447 |
setLocation</H3>
|
1448 |
<PRE>
|
1449 |
public static void <B>setLocation</B>(java.awt.Component componentToMove, |
1450 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.Location.html" title="class in com.iver.cit.gvsig.gui">GUIUtil.Location</A> location, |
1451 |
java.awt.Component other)</PRE> |
1452 |
<DL>
|
1453 |
<DD><DL> |
1454 |
</DL>
|
1455 |
</DD>
|
1456 |
</DL>
|
1457 |
<HR>
|
1458 |
|
1459 |
<A NAME="highlightForDebugging(javax.swing.JComponent, java.awt.Color)"><!-- --></A><H3> |
1460 |
highlightForDebugging</H3>
|
1461 |
<PRE>
|
1462 |
public static void <B>highlightForDebugging</B>(javax.swing.JComponent component, |
1463 |
java.awt.Color color)</PRE> |
1464 |
<DL>
|
1465 |
<DD>Highlights a given component with a given color.
|
1466 |
Great for GridBagLayout debugging. |
1467 |
<P>
|
1468 |
<DD><DL> |
1469 |
</DL>
|
1470 |
</DD>
|
1471 |
</DL>
|
1472 |
<HR>
|
1473 |
|
1474 |
<A NAME="topCard(java.awt.Container)"><!-- --></A><H3> |
1475 |
topCard</H3>
|
1476 |
<PRE>
|
1477 |
public static java.awt.Component <B>topCard</B>(java.awt.Container c)</PRE> |
1478 |
<DL>
|
1479 |
<DD><DL> |
1480 |
</DL>
|
1481 |
</DD>
|
1482 |
</DL>
|
1483 |
<HR>
|
1484 |
|
1485 |
<A NAME="selectedFiles(javax.swing.JFileChooser)"><!-- --></A><H3> |
1486 |
selectedFiles</H3>
|
1487 |
<PRE>
|
1488 |
public static java.io.File[] <B>selectedFiles</B>(javax.swing.JFileChooser chooser)</PRE> |
1489 |
<DL>
|
1490 |
<DD>Work around Java Bug 4437688 "JFileChooser.getSelectedFile() returns
|
1491 |
nothing when a file is selected" [Jon Aquino] |
1492 |
<P>
|
1493 |
<DD><DL> |
1494 |
</DL>
|
1495 |
</DD>
|
1496 |
</DL>
|
1497 |
<HR>
|
1498 |
|
1499 |
<A NAME="toDisabledIcon(javax.swing.ImageIcon)"><!-- --></A><H3> |
1500 |
toDisabledIcon</H3>
|
1501 |
<PRE>
|
1502 |
public static javax.swing.ImageIcon <B>toDisabledIcon</B>(javax.swing.ImageIcon icon)</PRE> |
1503 |
<DL>
|
1504 |
<DD><DL> |
1505 |
</DL>
|
1506 |
</DD>
|
1507 |
</DL>
|
1508 |
<HR>
|
1509 |
|
1510 |
<A NAME="getDescendantOfClass(java.lang.Class, java.awt.Container)"><!-- --></A><H3> |
1511 |
getDescendantOfClass</H3>
|
1512 |
<PRE>
|
1513 |
public static java.awt.Component <B>getDescendantOfClass</B>(java.lang.Class c, |
1514 |
java.awt.Container container)</PRE> |
1515 |
<DL>
|
1516 |
<DD><DL> |
1517 |
</DL>
|
1518 |
</DD>
|
1519 |
</DL>
|
1520 |
<HR>
|
1521 |
|
1522 |
<A NAME="dispose(javax.swing.JInternalFrame, javax.swing.JDesktopPane)"><!-- --></A><H3> |
1523 |
dispose</H3>
|
1524 |
<PRE>
|
1525 |
public static void <B>dispose</B>(javax.swing.JInternalFrame internalFrame, |
1526 |
javax.swing.JDesktopPane desktopPane)</PRE> |
1527 |
<DL>
|
1528 |
<DD>Ensures that the next frame is activated when #dispose is called
|
1529 |
explicitly, in JDK 1.4. JDK 1.3 didn't have this problem. |
1530 |
<P>
|
1531 |
<DD><DL> |
1532 |
</DL>
|
1533 |
</DD>
|
1534 |
</DL>
|
1535 |
<!-- ========= END OF CLASS DATA ========= -->
|
1536 |
<HR>
|
1537 |
|
1538 |
|
1539 |
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
1540 |
<A NAME="navbar_bottom"><!-- --></A> |
1541 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
1542 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
1543 |
<TR>
|
1544 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
1545 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
1546 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
1547 |
<TR ALIGN="center" VALIGN="top"> |
1548 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
1549 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
1550 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
1551 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
1552 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
1553 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
1554 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
1555 |
</TR>
|
1556 |
</TABLE>
|
1557 |
</TD>
|
1558 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
1559 |
</EM>
|
1560 |
</TD>
|
1561 |
</TR>
|
1562 |
|
1563 |
<TR>
|
1564 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
1565 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/FThemePropertiesDialog.html" title="class in com.iver.cit.gvsig.gui"><B>PREV CLASS</B></A> |
1566 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/GUIUtil.Location.html" title="class in com.iver.cit.gvsig.gui"><B>NEXT CLASS</B></A></FONT></TD> |
1567 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
1568 |
<A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> |
1569 |
<A HREF="GUIUtil.html" target="_top"><B>NO FRAMES</B></A> |
1570 |
<SCRIPT type="text/javascript"> |
1571 |
<!--
|
1572 |
if(window==top) {
|
1573 |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
1574 |
}
|
1575 |
//-->
|
1576 |
</SCRIPT>
|
1577 |
<NOSCRIPT>
|
1578 |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
1579 |
</NOSCRIPT>
|
1580 |
|
1581 |
</FONT></TD> |
1582 |
</TR>
|
1583 |
<TR>
|
1584 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
1585 |
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
1586 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
1587 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
1588 |
</TR>
|
1589 |
</TABLE>
|
1590 |
<A NAME="skip-navbar_bottom"></A> |
1591 |
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
1592 |
|
1593 |
<HR>
|
1594 |
|
1595 |
</BODY>
|
1596 |
</HTML>
|