/[debian]/libjgoodies-looks-java/branches/upstream/current/docs/api/com/jgoodies/looks/LookUtils.html
ViewVC logotype

Contents of /libjgoodies-looks-java/branches/upstream/current/docs/api/com/jgoodies/looks/LookUtils.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 556 - (show annotations)
Mon Feb 26 21:01:45 2007 UTC (14 years, 5 months ago) by gregoa
File MIME type: text/html
File size: 42634 byte(s)
[svn-upgrade] Integrating new upstream version, libjgoodies-looks-java (2.1.3)
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.5.0_11) on Wed Feb 21 17:54:54 CET 2007 -->
6 <TITLE>
7 LookUtils (JGoodies Looks 2.1 API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="com.jgoodies.looks.LookUtils 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="LookUtils (JGoodies Looks 2.1 API)";
18 }
19 </SCRIPT>
20 <NOSCRIPT>
21 </NOSCRIPT>
22
23 </HEAD>
24
25 <BODY BGCOLOR="white" onload="windowTitle();">
26
27
28 <!-- ========= START OF TOP NAVBAR ======= -->
29 <A NAME="navbar_top"><!-- --></A>
30 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
32 <TR>
33 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34 <A NAME="navbar_top_firstrow"><!-- --></A>
35 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36 <TR ALIGN="center" VALIGN="top">
37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/LookUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
45 </TR>
46 </TABLE>
47 </TD>
48 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
49 </EM>
50 </TD>
51 </TR>
52
53 <TR>
54 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55 &nbsp;<A HREF="../../../com/jgoodies/looks/HeaderStyle.html" title="class in com.jgoodies.looks"><B>PREV CLASS</B></A>&nbsp;
56 &nbsp;<A HREF="../../../com/jgoodies/looks/MicroLayout.html" title="class in com.jgoodies.looks"><B>NEXT CLASS</B></A></FONT></TD>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 <A HREF="../../../index.html?com/jgoodies/looks/LookUtils.html" target="_top"><B>FRAMES</B></A> &nbsp;
59 &nbsp;<A HREF="LookUtils.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
60 &nbsp;<SCRIPT type="text/javascript">
61 <!--
62 if(window==top) {
63 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
64 }
65 //-->
66 </SCRIPT>
67 <NOSCRIPT>
68 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
69 </NOSCRIPT>
70
71
72 </FONT></TD>
73 </TR>
74 <TR>
75 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
76 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
79 </TR>
80 </TABLE>
81 <A NAME="skip-navbar_top"></A>
82 <!-- ========= END OF TOP NAVBAR ========= -->
83
84 <HR>
85 <!-- ======== START OF CLASS DATA ======== -->
86 <H2>
87 <FONT SIZE="-1">
88 com.jgoodies.looks</FONT>
89 <BR>
90 Class LookUtils</H2>
91 <PRE>
92 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
93 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.jgoodies.looks.LookUtils</B>
94 </PRE>
95 <HR>
96 <DL>
97 <DT><PRE>public final class <B>LookUtils</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
98 </PRE>
99
100 <P>
101 Provides convenience behavior used by the JGoodies Looks.
102 <P>
103
104 <P>
105 <DL>
106 <DT><B>Version:</B></DT>
107 <DD>$Revision: 1.9 $</DD>
108 <DT><B>Author:</B></DT>
109 <DD>Karsten Lentzsch</DD>
110 </DL>
111 <HR>
112
113 <P>
114 <!-- =========== FIELD SUMMARY =========== -->
115
116 <A NAME="field_summary"><!-- --></A>
117 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
118 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
119 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
120 <B>Field Summary</B></FONT></TH>
121 </TR>
122 <TR BGCOLOR="white" CLASS="TableRowColor">
123 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
124 <CODE>static&nbsp;boolean</CODE></FONT></TD>
125 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_1_4">IS_JAVA_1_4</A></B></CODE>
126
127 <BR>
128 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 1.4.</TD>
129 </TR>
130 <TR BGCOLOR="white" CLASS="TableRowColor">
131 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132 <CODE>static&nbsp;boolean</CODE></FONT></TD>
133 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_1_4_0">IS_JAVA_1_4_0</A></B></CODE>
134
135 <BR>
136 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 1.4.0_*.</TD>
137 </TR>
138 <TR BGCOLOR="white" CLASS="TableRowColor">
139 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
140 <CODE>static&nbsp;boolean</CODE></FONT></TD>
141 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_1_4_2_OR_LATER">IS_JAVA_1_4_2_OR_LATER</A></B></CODE>
142
143 <BR>
144 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 1.4.2 or later.</TD>
145 </TR>
146 <TR BGCOLOR="white" CLASS="TableRowColor">
147 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148 <CODE>static&nbsp;boolean</CODE></FONT></TD>
149 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_1_4_OR_5">IS_JAVA_1_4_OR_5</A></B></CODE>
150
151 <BR>
152 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 1.4 or Java 5.</TD>
153 </TR>
154 <TR BGCOLOR="white" CLASS="TableRowColor">
155 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156 <CODE>static&nbsp;boolean</CODE></FONT></TD>
157 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_5">IS_JAVA_5</A></B></CODE>
158
159 <BR>
160 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 5.x.</TD>
161 </TR>
162 <TR BGCOLOR="white" CLASS="TableRowColor">
163 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164 <CODE>static&nbsp;boolean</CODE></FONT></TD>
165 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_5_OR_LATER">IS_JAVA_5_OR_LATER</A></B></CODE>
166
167 <BR>
168 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 5.x or later.</TD>
169 </TR>
170 <TR BGCOLOR="white" CLASS="TableRowColor">
171 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172 <CODE>static&nbsp;boolean</CODE></FONT></TD>
173 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_6">IS_JAVA_6</A></B></CODE>
174
175 <BR>
176 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 6.</TD>
177 </TR>
178 <TR BGCOLOR="white" CLASS="TableRowColor">
179 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180 <CODE>static&nbsp;boolean</CODE></FONT></TD>
181 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_JAVA_6_OR_LATER">IS_JAVA_6_OR_LATER</A></B></CODE>
182
183 <BR>
184 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Java 6.x or later.</TD>
185 </TR>
186 <TR BGCOLOR="white" CLASS="TableRowColor">
187 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188 <CODE>static&nbsp;boolean</CODE></FONT></TD>
189 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_LAF_WINDOWS_XP_ENABLED">IS_LAF_WINDOWS_XP_ENABLED</A></B></CODE>
190
191 <BR>
192 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the Windows XP Look&amp;Feel is enabled.</TD>
193 </TR>
194 <TR BGCOLOR="white" CLASS="TableRowColor">
195 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196 <CODE>static&nbsp;boolean</CODE></FONT></TD>
197 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_LOW_RESOLUTION">IS_LOW_RESOLUTION</A></B></CODE>
198
199 <BR>
200 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if if the screen resolution is smaller than 120 dpi.</TD>
201 </TR>
202 <TR BGCOLOR="white" CLASS="TableRowColor">
203 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204 <CODE>static&nbsp;boolean</CODE></FONT></TD>
205 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_FREEBSD">IS_OS_FREEBSD</A></B></CODE>
206
207 <BR>
208 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is FreeBSD.</TD>
209 </TR>
210 <TR BGCOLOR="white" CLASS="TableRowColor">
211 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212 <CODE>static&nbsp;boolean</CODE></FONT></TD>
213 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_LINUX">IS_OS_LINUX</A></B></CODE>
214
215 <BR>
216 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Linux.</TD>
217 </TR>
218 <TR BGCOLOR="white" CLASS="TableRowColor">
219 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220 <CODE>static&nbsp;boolean</CODE></FONT></TD>
221 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_MAC">IS_OS_MAC</A></B></CODE>
222
223 <BR>
224 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is the Mac OS X.</TD>
225 </TR>
226 <TR BGCOLOR="white" CLASS="TableRowColor">
227 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228 <CODE>static&nbsp;boolean</CODE></FONT></TD>
229 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_OS2">IS_OS_OS2</A></B></CODE>
230
231 <BR>
232 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is OS/2.</TD>
233 </TR>
234 <TR BGCOLOR="white" CLASS="TableRowColor">
235 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
236 <CODE>static&nbsp;boolean</CODE></FONT></TD>
237 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_SOLARIS">IS_OS_SOLARIS</A></B></CODE>
238
239 <BR>
240 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Solaris.</TD>
241 </TR>
242 <TR BGCOLOR="white" CLASS="TableRowColor">
243 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
244 <CODE>static&nbsp;boolean</CODE></FONT></TD>
245 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS">IS_OS_WINDOWS</A></B></CODE>
246
247 <BR>
248 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows.</TD>
249 </TR>
250 <TR BGCOLOR="white" CLASS="TableRowColor">
251 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
252 <CODE>static&nbsp;boolean</CODE></FONT></TD>
253 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_2000">IS_OS_WINDOWS_2000</A></B></CODE>
254
255 <BR>
256 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows 2000.</TD>
257 </TR>
258 <TR BGCOLOR="white" CLASS="TableRowColor">
259 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
260 <CODE>static&nbsp;boolean</CODE></FONT></TD>
261 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_95">IS_OS_WINDOWS_95</A></B></CODE>
262
263 <BR>
264 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows 95.</TD>
265 </TR>
266 <TR BGCOLOR="white" CLASS="TableRowColor">
267 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
268 <CODE>static&nbsp;boolean</CODE></FONT></TD>
269 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_98">IS_OS_WINDOWS_98</A></B></CODE>
270
271 <BR>
272 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows 98.</TD>
273 </TR>
274 <TR BGCOLOR="white" CLASS="TableRowColor">
275 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
276 <CODE>static&nbsp;boolean</CODE></FONT></TD>
277 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_ME">IS_OS_WINDOWS_ME</A></B></CODE>
278
279 <BR>
280 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows ME.</TD>
281 </TR>
282 <TR BGCOLOR="white" CLASS="TableRowColor">
283 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
284 <CODE>static&nbsp;boolean</CODE></FONT></TD>
285 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_MODERN">IS_OS_WINDOWS_MODERN</A></B></CODE>
286
287 <BR>
288 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows 98/ME/2000/XP/VISTA.</TD>
289 </TR>
290 <TR BGCOLOR="white" CLASS="TableRowColor">
291 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
292 <CODE>static&nbsp;boolean</CODE></FONT></TD>
293 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_NT">IS_OS_WINDOWS_NT</A></B></CODE>
294
295 <BR>
296 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows NT.</TD>
297 </TR>
298 <TR BGCOLOR="white" CLASS="TableRowColor">
299 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
300 <CODE>static&nbsp;boolean</CODE></FONT></TD>
301 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_VISTA">IS_OS_WINDOWS_VISTA</A></B></CODE>
302
303 <BR>
304 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows Vista.</TD>
305 </TR>
306 <TR BGCOLOR="white" CLASS="TableRowColor">
307 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
308 <CODE>static&nbsp;boolean</CODE></FONT></TD>
309 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#IS_OS_WINDOWS_XP">IS_OS_WINDOWS_XP</A></B></CODE>
310
311 <BR>
312 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if this is Windows XP.</TD>
313 </TR>
314 </TABLE>
315 &nbsp;
316 <!-- ========== METHOD SUMMARY =========== -->
317
318 <A NAME="method_summary"><!-- --></A>
319 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
320 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
321 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
322 <B>Method Summary</B></FONT></TH>
323 </TR>
324 <TR BGCOLOR="white" CLASS="TableRowColor">
325 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
326 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Boolean.html" title="class or interface in java.lang">Boolean</A></CODE></FONT></TD>
327 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getBooleanSystemProperty(java.lang.String, java.lang.String)">getBooleanSystemProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key,
328 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;logMessage)</CODE>
329
330 <BR>
331 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if a boolean system property has been set for the given key,
332 and returns the associated Boolean, or <code>null</code> if no value
333 has been set.</TD>
334 </TR>
335 <TR BGCOLOR="white" CLASS="TableRowColor">
336 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
337 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
338 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getDefaultTheme(javax.swing.LookAndFeel)">getDefaultTheme</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/LookAndFeel.html" title="class or interface in javax.swing">LookAndFeel</A>&nbsp;laf)</CODE>
339
340 <BR>
341 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
342 </TR>
343 <TR BGCOLOR="white" CLASS="TableRowColor">
344 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
345 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD>
346 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getInstalledThemes(javax.swing.LookAndFeel)">getInstalledThemes</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/LookAndFeel.html" title="class or interface in javax.swing">LookAndFeel</A>&nbsp;laf)</CODE>
347
348 <BR>
349 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
350 </TR>
351 <TR BGCOLOR="white" CLASS="TableRowColor">
352 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
353 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A></CODE></FONT></TD>
354 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getSlightlyBrighter(java.awt.Color)">getSlightlyBrighter</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;color)</CODE>
355
356 <BR>
357 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Computes and returns a Color that is slightly brighter
358 than the specified Color.</TD>
359 </TR>
360 <TR BGCOLOR="white" CLASS="TableRowColor">
361 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
362 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A></CODE></FONT></TD>
363 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getSlightlyBrighter(java.awt.Color, float)">getSlightlyBrighter</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;color,
364 float&nbsp;factor)</CODE>
365
366 <BR>
367 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Computes and returns a Color that is slightly brighter
368 than the specified Color.</TD>
369 </TR>
370 <TR BGCOLOR="white" CLASS="TableRowColor">
371 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
372 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
373 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getSystemProperty(java.lang.String)">getSystemProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key)</CODE>
374
375 <BR>
376 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tries to look up the System property for the given key.</TD>
377 </TR>
378 <TR BGCOLOR="white" CLASS="TableRowColor">
379 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
380 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
381 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getSystemProperty(java.lang.String, java.lang.String)">getSystemProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key,
382 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;defaultValue)</CODE>
383
384 <BR>
385 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tries to look up the System property for the given key.</TD>
386 </TR>
387 <TR BGCOLOR="white" CLASS="TableRowColor">
388 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
389 <CODE>static&nbsp;boolean</CODE></FONT></TD>
390 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#getToolkitUsesNativeDropShadows()">getToolkitUsesNativeDropShadows</A></B>()</CODE>
391
392 <BR>
393 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks and answers whether this toolkit provides native drop shadows
394 for popups such as the Mac OS X.</TD>
395 </TR>
396 <TR BGCOLOR="white" CLASS="TableRowColor">
397 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
398 <CODE>static&nbsp;boolean</CODE></FONT></TD>
399 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#isTrueColor(java.awt.Component)">isTrueColor</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Component.html" title="class or interface in java.awt">Component</A>&nbsp;c)</CODE>
400
401 <BR>
402 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks and answers whether we have a true color system.</TD>
403 </TR>
404 <TR BGCOLOR="white" CLASS="TableRowColor">
405 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
406 <CODE>static&nbsp;void</CODE></FONT></TD>
407 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#log()">log</A></B>()</CODE>
408
409 <BR>
410 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints a new line to the console if logging is enabled.</TD>
411 </TR>
412 <TR BGCOLOR="white" CLASS="TableRowColor">
413 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
414 <CODE>static&nbsp;void</CODE></FONT></TD>
415 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#log(java.lang.String)">log</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;message)</CODE>
416
417 <BR>
418 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the given message to the console if logging is enabled.</TD>
419 </TR>
420 <TR BGCOLOR="white" CLASS="TableRowColor">
421 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
422 <CODE>static&nbsp;void</CODE></FONT></TD>
423 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#setLoggingEnabled(boolean)">setLoggingEnabled</A></B>(boolean&nbsp;enabled)</CODE>
424
425 <BR>
426 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables or disables the Looks logging.</TD>
427 </TR>
428 <TR BGCOLOR="white" CLASS="TableRowColor">
429 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
430 <CODE>static&nbsp;void</CODE></FONT></TD>
431 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/LookUtils.html#setLookAndTheme(javax.swing.LookAndFeel, java.lang.Object)">setLookAndTheme</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/LookAndFeel.html" title="class or interface in javax.swing">LookAndFeel</A>&nbsp;laf,
432 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;theme)</CODE>
433
434 <BR>
435 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
436 </TR>
437 </TABLE>
438 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
439 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
440 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
441 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
442 </TR>
443 <TR BGCOLOR="white" CLASS="TableRowColor">
444 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
445 </TR>
446 </TABLE>
447 &nbsp;
448 <P>
449
450 <!-- ============ FIELD DETAIL =========== -->
451
452 <A NAME="field_detail"><!-- --></A>
453 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
454 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
455 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
456 <B>Field Detail</B></FONT></TH>
457 </TR>
458 </TABLE>
459
460 <A NAME="IS_JAVA_1_4"><!-- --></A><H3>
461 IS_JAVA_1_4</H3>
462 <PRE>
463 public static final boolean <B>IS_JAVA_1_4</B></PRE>
464 <DL>
465 <DD>True if this is Java 1.4.
466 <P>
467 <DL>
468 </DL>
469 </DL>
470 <HR>
471
472 <A NAME="IS_JAVA_1_4_0"><!-- --></A><H3>
473 IS_JAVA_1_4_0</H3>
474 <PRE>
475 public static final boolean <B>IS_JAVA_1_4_0</B></PRE>
476 <DL>
477 <DD>True if this is Java 1.4.0_*.
478 <P>
479 <DL>
480 </DL>
481 </DL>
482 <HR>
483
484 <A NAME="IS_JAVA_1_4_2_OR_LATER"><!-- --></A><H3>
485 IS_JAVA_1_4_2_OR_LATER</H3>
486 <PRE>
487 public static final boolean <B>IS_JAVA_1_4_2_OR_LATER</B></PRE>
488 <DL>
489 <DD>True if this is Java 1.4.2 or later. Since we assume Java 1.4
490 we just check for 1.4.0 and 1.4.1.
491 <P>
492 <DL>
493 </DL>
494 </DL>
495 <HR>
496
497 <A NAME="IS_JAVA_5"><!-- --></A><H3>
498 IS_JAVA_5</H3>
499 <PRE>
500 public static final boolean <B>IS_JAVA_5</B></PRE>
501 <DL>
502 <DD>True if this is Java 5.x. We check for a prefix of 1.5.
503 <P>
504 <DL>
505 </DL>
506 </DL>
507 <HR>
508
509 <A NAME="IS_JAVA_5_OR_LATER"><!-- --></A><H3>
510 IS_JAVA_5_OR_LATER</H3>
511 <PRE>
512 public static final boolean <B>IS_JAVA_5_OR_LATER</B></PRE>
513 <DL>
514 <DD>True if this is Java 5.x or later. Since we don't support Java 1.3,
515 we can check that it's not 1.4.
516 <P>
517 <DL>
518 </DL>
519 </DL>
520 <HR>
521
522 <A NAME="IS_JAVA_6"><!-- --></A><H3>
523 IS_JAVA_6</H3>
524 <PRE>
525 public static final boolean <B>IS_JAVA_6</B></PRE>
526 <DL>
527 <DD>True if this is Java 6. We check for a prefix of 1.6.
528 <P>
529 <DL>
530 </DL>
531 </DL>
532 <HR>
533
534 <A NAME="IS_JAVA_6_OR_LATER"><!-- --></A><H3>
535 IS_JAVA_6_OR_LATER</H3>
536 <PRE>
537 public static final boolean <B>IS_JAVA_6_OR_LATER</B></PRE>
538 <DL>
539 <DD>True if this is Java 6.x or later. Since we don't support Java 1.3,
540 we can check that it's neither 1.4 nor 1.5.
541 <P>
542 <DL>
543 </DL>
544 </DL>
545 <HR>
546
547 <A NAME="IS_JAVA_1_4_OR_5"><!-- --></A><H3>
548 IS_JAVA_1_4_OR_5</H3>
549 <PRE>
550 public static final boolean <B>IS_JAVA_1_4_OR_5</B></PRE>
551 <DL>
552 <DD>True if this is Java 1.4 or Java 5.
553 <P>
554 <DL>
555 </DL>
556 </DL>
557 <HR>
558
559 <A NAME="IS_OS_FREEBSD"><!-- --></A><H3>
560 IS_OS_FREEBSD</H3>
561 <PRE>
562 public static final boolean <B>IS_OS_FREEBSD</B></PRE>
563 <DL>
564 <DD>True if this is FreeBSD.
565 <P>
566 <DL>
567 </DL>
568 </DL>
569 <HR>
570
571 <A NAME="IS_OS_LINUX"><!-- --></A><H3>
572 IS_OS_LINUX</H3>
573 <PRE>
574 public static final boolean <B>IS_OS_LINUX</B></PRE>
575 <DL>
576 <DD>True if this is Linux.
577 <P>
578 <DL>
579 </DL>
580 </DL>
581 <HR>
582
583 <A NAME="IS_OS_OS2"><!-- --></A><H3>
584 IS_OS_OS2</H3>
585 <PRE>
586 public static final boolean <B>IS_OS_OS2</B></PRE>
587 <DL>
588 <DD>True if this is OS/2.
589 <P>
590 <DL>
591 </DL>
592 </DL>
593 <HR>
594
595 <A NAME="IS_OS_MAC"><!-- --></A><H3>
596 IS_OS_MAC</H3>
597 <PRE>
598 public static final boolean <B>IS_OS_MAC</B></PRE>
599 <DL>
600 <DD>True if this is the Mac OS X.
601 <P>
602 <DL>
603 </DL>
604 </DL>
605 <HR>
606
607 <A NAME="IS_OS_WINDOWS"><!-- --></A><H3>
608 IS_OS_WINDOWS</H3>
609 <PRE>
610 public static final boolean <B>IS_OS_WINDOWS</B></PRE>
611 <DL>
612 <DD>True if this is Windows.
613 <P>
614 <DL>
615 </DL>
616 </DL>
617 <HR>
618
619 <A NAME="IS_OS_WINDOWS_MODERN"><!-- --></A><H3>
620 IS_OS_WINDOWS_MODERN</H3>
621 <PRE>
622 public static final boolean <B>IS_OS_WINDOWS_MODERN</B></PRE>
623 <DL>
624 <DD>True if this is Windows 98/ME/2000/XP/VISTA.
625 <P>
626 <DL>
627 </DL>
628 </DL>
629 <HR>
630
631 <A NAME="IS_OS_WINDOWS_95"><!-- --></A><H3>
632 IS_OS_WINDOWS_95</H3>
633 <PRE>
634 public static final boolean <B>IS_OS_WINDOWS_95</B></PRE>
635 <DL>
636 <DD>True if this is Windows 95.
637 <P>
638 <DL>
639 <DT><B>Since:</B></DT>
640 <DD>2.0</DD>
641 </DL>
642 </DL>
643 <HR>
644
645 <A NAME="IS_OS_WINDOWS_98"><!-- --></A><H3>
646 IS_OS_WINDOWS_98</H3>
647 <PRE>
648 public static final boolean <B>IS_OS_WINDOWS_98</B></PRE>
649 <DL>
650 <DD>True if this is Windows 98.
651 <P>
652 <DL>
653 <DT><B>Since:</B></DT>
654 <DD>2.0</DD>
655 </DL>
656 </DL>
657 <HR>
658
659 <A NAME="IS_OS_WINDOWS_NT"><!-- --></A><H3>
660 IS_OS_WINDOWS_NT</H3>
661 <PRE>
662 public static final boolean <B>IS_OS_WINDOWS_NT</B></PRE>
663 <DL>
664 <DD>True if this is Windows NT.
665 <P>
666 <DL>
667 <DT><B>Since:</B></DT>
668 <DD>2.0</DD>
669 </DL>
670 </DL>
671 <HR>
672
673 <A NAME="IS_OS_WINDOWS_ME"><!-- --></A><H3>
674 IS_OS_WINDOWS_ME</H3>
675 <PRE>
676 public static final boolean <B>IS_OS_WINDOWS_ME</B></PRE>
677 <DL>
678 <DD>True if this is Windows ME.
679 <P>
680 <DL>
681 <DT><B>Since:</B></DT>
682 <DD>2.0</DD>
683 </DL>
684 </DL>
685 <HR>
686
687 <A NAME="IS_OS_WINDOWS_2000"><!-- --></A><H3>
688 IS_OS_WINDOWS_2000</H3>
689 <PRE>
690 public static final boolean <B>IS_OS_WINDOWS_2000</B></PRE>
691 <DL>
692 <DD>True if this is Windows 2000.
693 <P>
694 <DL>
695 <DT><B>Since:</B></DT>
696 <DD>2.0</DD>
697 </DL>
698 </DL>
699 <HR>
700
701 <A NAME="IS_OS_WINDOWS_XP"><!-- --></A><H3>
702 IS_OS_WINDOWS_XP</H3>
703 <PRE>
704 public static final boolean <B>IS_OS_WINDOWS_XP</B></PRE>
705 <DL>
706 <DD>True if this is Windows XP.
707 <P>
708 <DL>
709 </DL>
710 </DL>
711 <HR>
712
713 <A NAME="IS_OS_WINDOWS_VISTA"><!-- --></A><H3>
714 IS_OS_WINDOWS_VISTA</H3>
715 <PRE>
716 public static final boolean <B>IS_OS_WINDOWS_VISTA</B></PRE>
717 <DL>
718 <DD>True if this is Windows Vista.
719 <P>
720 <DL>
721 <DT><B>Since:</B></DT>
722 <DD>2.0</DD>
723 </DL>
724 </DL>
725 <HR>
726
727 <A NAME="IS_OS_SOLARIS"><!-- --></A><H3>
728 IS_OS_SOLARIS</H3>
729 <PRE>
730 public static final boolean <B>IS_OS_SOLARIS</B></PRE>
731 <DL>
732 <DD>True if this is Solaris.
733 <P>
734 <DL>
735 </DL>
736 </DL>
737 <HR>
738
739 <A NAME="IS_LAF_WINDOWS_XP_ENABLED"><!-- --></A><H3>
740 IS_LAF_WINDOWS_XP_ENABLED</H3>
741 <PRE>
742 public static final boolean <B>IS_LAF_WINDOWS_XP_ENABLED</B></PRE>
743 <DL>
744 <DD>True if the Windows XP Look&amp;Feel is enabled.
745 <P>
746 <DL>
747 </DL>
748 </DL>
749 <HR>
750
751 <A NAME="IS_LOW_RESOLUTION"><!-- --></A><H3>
752 IS_LOW_RESOLUTION</H3>
753 <PRE>
754 public static final boolean <B>IS_LOW_RESOLUTION</B></PRE>
755 <DL>
756 <DD>True if if the screen resolution is smaller than 120 dpi.
757 <P>
758 <DL>
759 <DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Toolkit.html#getScreenResolution()" title="class or interface in java.awt"><CODE>Toolkit.getScreenResolution()</CODE></A></DL>
760 </DL>
761
762 <!-- ============ METHOD DETAIL ========== -->
763
764 <A NAME="method_detail"><!-- --></A>
765 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
766 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
767 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
768 <B>Method Detail</B></FONT></TH>
769 </TR>
770 </TABLE>
771
772 <A NAME="getSystemProperty(java.lang.String)"><!-- --></A><H3>
773 getSystemProperty</H3>
774 <PRE>
775 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getSystemProperty</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key)</PRE>
776 <DL>
777 <DD>Tries to look up the System property for the given key.
778 In untrusted environments this may throw a SecurityException.
779 In this case we catch the exception and answer <code>null</code>.
780 <P>
781 <DD><DL>
782 <DT><B>Parameters:</B><DD><CODE>key</CODE> - the name of the system property
783 <DT><B>Returns:</B><DD>the system property's String value, or <code>null</code> if there's
784 no such value, or a SecurityException has been caught</DL>
785 </DD>
786 </DL>
787 <HR>
788
789 <A NAME="getSystemProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
790 getSystemProperty</H3>
791 <PRE>
792 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getSystemProperty</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key,
793 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;defaultValue)</PRE>
794 <DL>
795 <DD>Tries to look up the System property for the given key.
796 In untrusted environments this may throw a SecurityException.
797 In this case, we catch the exception and answer the default value.
798 <P>
799 <DD><DL>
800 <DT><B>Parameters:</B><DD><CODE>key</CODE> - the name of the system property<DD><CODE>defaultValue</CODE> - the default value if no property exists.
801 <DT><B>Returns:</B><DD>the system property's String value, or the defaultValue
802 if there's no such value, or a SecurityException has been caught</DL>
803 </DD>
804 </DL>
805 <HR>
806
807 <A NAME="getBooleanSystemProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
808 getBooleanSystemProperty</H3>
809 <PRE>
810 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Boolean.html" title="class or interface in java.lang">Boolean</A> <B>getBooleanSystemProperty</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key,
811 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;logMessage)</PRE>
812 <DL>
813 <DD>Checks if a boolean system property has been set for the given key,
814 and returns the associated Boolean, or <code>null</code> if no value
815 has been set. The test for the property ignores case.
816 If a Boolean value has been set, a message is logged
817 with the given prefix.
818 <P>
819 <DD><DL>
820 <DT><B>Parameters:</B><DD><CODE>key</CODE> - the key used to lookup the system property value<DD><CODE>logMessage</CODE> - a prefix used when a message is logged
821 <DT><B>Returns:</B><DD><code>Boolean.TRUE</code> if the system property has been set to
822 "true" (case ignored), <code>Boolean.FALSE</code> if it has been set to
823 "false", <code>null</code> otherwise</DL>
824 </DD>
825 </DL>
826 <HR>
827
828 <A NAME="isTrueColor(java.awt.Component)"><!-- --></A><H3>
829 isTrueColor</H3>
830 <PRE>
831 public static boolean <B>isTrueColor</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Component.html" title="class or interface in java.awt">Component</A>&nbsp;c)</PRE>
832 <DL>
833 <DD>Checks and answers whether we have a true color system.
834 <P>
835 <DD><DL>
836 <DT><B>Parameters:</B><DD><CODE>c</CODE> - the component used to determine the toolkit
837 <DT><B>Returns:</B><DD>true if the component's toolkit has a pixel size >= 24</DL>
838 </DD>
839 </DL>
840 <HR>
841
842 <A NAME="getToolkitUsesNativeDropShadows()"><!-- --></A><H3>
843 getToolkitUsesNativeDropShadows</H3>
844 <PRE>
845 public static boolean <B>getToolkitUsesNativeDropShadows</B>()</PRE>
846 <DL>
847 <DD>Checks and answers whether this toolkit provides native drop shadows
848 for popups such as the Mac OS X. Currently this is used to
849 determine if the Looks' popup drop shadow feature is active or not
850 - even if it's enabled.
851 <P>
852 <DD><DL>
853
854 <DT><B>Returns:</B><DD>true if the toolkit provides native drop shadows<DT><B>See Also:</B><DD><A HREF="../../../com/jgoodies/looks/Options.html#isPopupDropShadowActive()"><CODE>Options.isPopupDropShadowActive()</CODE></A></DL>
855 </DD>
856 </DL>
857 <HR>
858
859 <A NAME="getSlightlyBrighter(java.awt.Color)"><!-- --></A><H3>
860 getSlightlyBrighter</H3>
861 <PRE>
862 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A> <B>getSlightlyBrighter</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;color)</PRE>
863 <DL>
864 <DD>Computes and returns a Color that is slightly brighter
865 than the specified Color.
866 <P>
867 <DD><DL>
868 <DT><B>Parameters:</B><DD><CODE>color</CODE> - the color used as basis for the brightened color
869 <DT><B>Returns:</B><DD>a slightly brighter color</DL>
870 </DD>
871 </DL>
872 <HR>
873
874 <A NAME="getSlightlyBrighter(java.awt.Color, float)"><!-- --></A><H3>
875 getSlightlyBrighter</H3>
876 <PRE>
877 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A> <B>getSlightlyBrighter</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;color,
878 float&nbsp;factor)</PRE>
879 <DL>
880 <DD>Computes and returns a Color that is slightly brighter
881 than the specified Color.
882 <P>
883 <DD><DL>
884 <DT><B>Parameters:</B><DD><CODE>color</CODE> - the color used as basis for the brightened color<DD><CODE>factor</CODE> - the factor used to compute the brightness
885 <DT><B>Returns:</B><DD>a slightly brighter color</DL>
886 </DD>
887 </DL>
888 <HR>
889
890 <A NAME="setLookAndTheme(javax.swing.LookAndFeel, java.lang.Object)"><!-- --></A><H3>
891 setLookAndTheme</H3>
892 <PRE>
893 public static void <B>setLookAndTheme</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/LookAndFeel.html" title="class or interface in javax.swing">LookAndFeel</A>&nbsp;laf,
894 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;theme)
895 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/UnsupportedLookAndFeelException.html" title="class or interface in javax.swing">UnsupportedLookAndFeelException</A></PRE>
896 <DL>
897 <DD><DL>
898
899 <DT><B>Throws:</B>
900 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/UnsupportedLookAndFeelException.html" title="class or interface in javax.swing">UnsupportedLookAndFeelException</A></CODE></DL>
901 </DD>
902 </DL>
903 <HR>
904
905 <A NAME="getDefaultTheme(javax.swing.LookAndFeel)"><!-- --></A><H3>
906 getDefaultTheme</H3>
907 <PRE>
908 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getDefaultTheme</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/LookAndFeel.html" title="class or interface in javax.swing">LookAndFeel</A>&nbsp;laf)</PRE>
909 <DL>
910 <DD><DL>
911 </DL>
912 </DD>
913 </DL>
914 <HR>
915
916 <A NAME="getInstalledThemes(javax.swing.LookAndFeel)"><!-- --></A><H3>
917 getInstalledThemes</H3>
918 <PRE>
919 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getInstalledThemes</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/LookAndFeel.html" title="class or interface in javax.swing">LookAndFeel</A>&nbsp;laf)</PRE>
920 <DL>
921 <DD><DL>
922 </DL>
923 </DD>
924 </DL>
925 <HR>
926
927 <A NAME="setLoggingEnabled(boolean)"><!-- --></A><H3>
928 setLoggingEnabled</H3>
929 <PRE>
930 public static void <B>setLoggingEnabled</B>(boolean&nbsp;enabled)</PRE>
931 <DL>
932 <DD>Enables or disables the Looks logging.
933 <P>
934 <DD><DL>
935 <DT><B>Parameters:</B><DD><CODE>enabled</CODE> - true to enable logging, false to disable it</DL>
936 </DD>
937 </DL>
938 <HR>
939
940 <A NAME="log()"><!-- --></A><H3>
941 log</H3>
942 <PRE>
943 public static void <B>log</B>()</PRE>
944 <DL>
945 <DD>Prints a new line to the console if logging is enabled.
946 <P>
947 <DD><DL>
948 </DL>
949 </DD>
950 </DL>
951 <HR>
952
953 <A NAME="log(java.lang.String)"><!-- --></A><H3>
954 log</H3>
955 <PRE>
956 public static void <B>log</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;message)</PRE>
957 <DL>
958 <DD>Prints the given message to the console if logging is enabled.
959 <P>
960 <DD><DL>
961 <DT><B>Parameters:</B><DD><CODE>message</CODE> - the message to print</DL>
962 </DD>
963 </DL>
964 <!-- ========= END OF CLASS DATA ========= -->
965 <HR>
966
967
968 <!-- ======= START OF BOTTOM NAVBAR ====== -->
969 <A NAME="navbar_bottom"><!-- --></A>
970 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
971 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
972 <TR>
973 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
974 <A NAME="navbar_bottom_firstrow"><!-- --></A>
975 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
976 <TR ALIGN="center" VALIGN="top">
977 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
978 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
979 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
980 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/LookUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
981 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
982 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
983 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
984 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
985 </TR>
986 </TABLE>
987 </TD>
988 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
989 </EM>
990 </TD>
991 </TR>
992
993 <TR>
994 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
995 &nbsp;<A HREF="../../../com/jgoodies/looks/HeaderStyle.html" title="class in com.jgoodies.looks"><B>PREV CLASS</B></A>&nbsp;
996 &nbsp;<A HREF="../../../com/jgoodies/looks/MicroLayout.html" title="class in com.jgoodies.looks"><B>NEXT CLASS</B></A></FONT></TD>
997 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
998 <A HREF="../../../index.html?com/jgoodies/looks/LookUtils.html" target="_top"><B>FRAMES</B></A> &nbsp;
999 &nbsp;<A HREF="LookUtils.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
1000 &nbsp;<SCRIPT type="text/javascript">
1001 <!--
1002 if(window==top) {
1003 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
1004 }
1005 //-->
1006 </SCRIPT>
1007 <NOSCRIPT>
1008 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
1009 </NOSCRIPT>
1010
1011
1012 </FONT></TD>
1013 </TR>
1014 <TR>
1015 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1016 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1017 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1018 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1019 </TR>
1020 </TABLE>
1021 <A NAME="skip-navbar_bottom"></A>
1022 <!-- ======== END OF BOTTOM NAVBAR ======= -->
1023
1024 <HR>
1025 Copyright &#169; 2001-2007 JGoodies Karsten Lentzsch. All Rights Reserved.
1026 </BODY>
1027 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26