/[debian]/libjgoodies-looks-java/trunk/docs/api/com/jgoodies/looks/FontPolicies.html
ViewVC logotype

Contents of /libjgoodies-looks-java/trunk/docs/api/com/jgoodies/looks/FontPolicies.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 558 - (show annotations)
Mon Feb 26 21:28:44 2007 UTC (14 years, 3 months ago) by gregoa
File MIME type: text/html
File size: 22939 byte(s)
* New upstream release.
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 FontPolicies (JGoodies Looks 2.1 API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="com.jgoodies.looks.FontPolicies 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="FontPolicies (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/FontPolicies.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/BorderStyle.html" title="class in com.jgoodies.looks"><B>PREV CLASS</B></A>&nbsp;
56 &nbsp;<A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface 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/FontPolicies.html" target="_top"><B>FRAMES</B></A> &nbsp;
59 &nbsp;<A HREF="FontPolicies.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;FIELD&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;FIELD&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 FontPolicies</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.FontPolicies</B>
94 </PRE>
95 <HR>
96 <DL>
97 <DT><PRE>public final class <B>FontPolicies</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 predefined FontPolicy implementations.<p>
102
103 <strong>Note:</strong> The available policies work well on Windows.
104 On other platforms the fonts specified by the runtime environment
105 are chosen. I plan to provide more logic or options for other platforms,
106 for example that a Linux system checks for a Tahoma or Segoe UI.<p>
107
108 TODO: Add a check for a custom font policy set in the System properties.<p>
109
110 TODO: Add policies that emulate different Windows setups:
111 default XP on 96dpi with normal fonts ("XP-normal-96"),
112 Vista on 120dpi with large fonts ("Vista-large-120"), etc.
113 <P>
114
115 <P>
116 <DL>
117 <DT><B>Since:</B></DT>
118 <DD>2.0</DD>
119 <DT><B>Version:</B></DT>
120 <DD>$Revision: 1.8 $</DD>
121 <DT><B>Author:</B></DT>
122 <DD>Karsten Lentzsch</DD>
123 <DT><B>See Also:</B><DD><A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks"><CODE>FontPolicy</CODE></A>,
124 <A HREF="../../../com/jgoodies/looks/FontSet.html" title="interface in com.jgoodies.looks"><CODE>FontSet</CODE></A>,
125 <A HREF="../../../com/jgoodies/looks/FontSets.html" title="class in com.jgoodies.looks"><CODE>FontSets</CODE></A>,
126 <A HREF="../../../com/jgoodies/looks/Fonts.html" title="class in com.jgoodies.looks"><CODE>Fonts</CODE></A></DL>
127 <HR>
128
129 <P>
130
131 <!-- ========== METHOD SUMMARY =========== -->
132
133 <A NAME="method_summary"><!-- --></A>
134 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
137 <B>Method Summary</B></FONT></TH>
138 </TR>
139 <TR BGCOLOR="white" CLASS="TableRowColor">
140 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141 <CODE>static&nbsp;<A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A></CODE></FONT></TD>
142 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/FontPolicies.html#createFixedPolicy(com.jgoodies.looks.FontSet)">createFixedPolicy</A></B>(<A HREF="../../../com/jgoodies/looks/FontSet.html" title="interface in com.jgoodies.looks">FontSet</A>&nbsp;fontSet)</CODE>
143
144 <BR>
145 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a font policy that in turn always returns the specified FontSet.</TD>
146 </TR>
147 <TR BGCOLOR="white" CLASS="TableRowColor">
148 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149 <CODE>static&nbsp;<A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A></CODE></FONT></TD>
150 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/FontPolicies.html#customSettingsPolicy(com.jgoodies.looks.FontPolicy)">customSettingsPolicy</A></B>(<A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A>&nbsp;defaultPolicy)</CODE>
151
152 <BR>
153 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a font policy that checks for a custom FontPolicy
154 and a custom FontSet specified in the System settings or UIManager.</TD>
155 </TR>
156 <TR BGCOLOR="white" CLASS="TableRowColor">
157 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158 <CODE>static&nbsp;<A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A></CODE></FONT></TD>
159 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/FontPolicies.html#getDefaultPlasticOnWindowsPolicy()">getDefaultPlasticOnWindowsPolicy</A></B>()</CODE>
160
161 <BR>
162 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default font policy for Plastic on the Windows platform.</TD>
163 </TR>
164 <TR BGCOLOR="white" CLASS="TableRowColor">
165 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166 <CODE>static&nbsp;<A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A></CODE></FONT></TD>
167 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/FontPolicies.html#getDefaultPlasticPolicy()">getDefaultPlasticPolicy</A></B>()</CODE>
168
169 <BR>
170 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default Plastic FontPolicy that may vary
171 with the platform and environment.</TD>
172 </TR>
173 <TR BGCOLOR="white" CLASS="TableRowColor">
174 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175 <CODE>static&nbsp;<A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A></CODE></FONT></TD>
176 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/FontPolicies.html#getDefaultWindowsPolicy()">getDefaultWindowsPolicy</A></B>()</CODE>
177
178 <BR>
179 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default font policy for the Windows platform.</TD>
180 </TR>
181 <TR BGCOLOR="white" CLASS="TableRowColor">
182 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183 <CODE>static&nbsp;<A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A></CODE></FONT></TD>
184 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/FontPolicies.html#getLogicalFontsPolicy()">getLogicalFontsPolicy</A></B>()</CODE>
185
186 <BR>
187 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a font policy that returns the logical fonts
188 as specified by the Java runtime environment.</TD>
189 </TR>
190 <TR BGCOLOR="white" CLASS="TableRowColor">
191 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192 <CODE>static&nbsp;<A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A></CODE></FONT></TD>
193 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/FontPolicies.html#getLooks1xPlasticPolicy()">getLooks1xPlasticPolicy</A></B>()</CODE>
194
195 <BR>
196 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a font policy for getting a Plastic appearance that aims to be
197 visual backward compatible with the JGoodies Looks version 1.x.</TD>
198 </TR>
199 <TR BGCOLOR="white" CLASS="TableRowColor">
200 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
201 <CODE>static&nbsp;<A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A></CODE></FONT></TD>
202 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/FontPolicies.html#getLooks1xWindowsPolicy()">getLooks1xWindowsPolicy</A></B>()</CODE>
203
204 <BR>
205 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a font policy for getting a Windows appearance that aims to be
206 visual backward compatible with the JGoodies Looks version 1.x.</TD>
207 </TR>
208 <TR BGCOLOR="white" CLASS="TableRowColor">
209 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
210 <CODE>static&nbsp;<A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A></CODE></FONT></TD>
211 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/FontPolicies.html#getTransitionalPlasticPolicy()">getTransitionalPlasticPolicy</A></B>()</CODE>
212
213 <BR>
214 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a font policy intended for API users that want to
215 move Plastic code from the Looks 1.x to the Looks 2.0.</TD>
216 </TR>
217 </TABLE>
218 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
219 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
220 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
221 <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>
222 </TR>
223 <TR BGCOLOR="white" CLASS="TableRowColor">
224 <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>
225 </TR>
226 </TABLE>
227 &nbsp;
228 <P>
229
230 <!-- ============ METHOD DETAIL ========== -->
231
232 <A NAME="method_detail"><!-- --></A>
233 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
234 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
235 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
236 <B>Method Detail</B></FONT></TH>
237 </TR>
238 </TABLE>
239
240 <A NAME="createFixedPolicy(com.jgoodies.looks.FontSet)"><!-- --></A><H3>
241 createFixedPolicy</H3>
242 <PRE>
243 public static <A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A> <B>createFixedPolicy</B>(<A HREF="../../../com/jgoodies/looks/FontSet.html" title="interface in com.jgoodies.looks">FontSet</A>&nbsp;fontSet)</PRE>
244 <DL>
245 <DD>Returns a font policy that in turn always returns the specified FontSet.
246 The FontSet will be fixed, but the FontSet itself may
247 return different fonts in different environments.
248 <P>
249 <DD><DL>
250 <DT><B>Parameters:</B><DD><CODE>fontSet</CODE> - the FontSet to be return by this policy
251 <DT><B>Returns:</B><DD>a font policy that returns the specified FontSet.</DL>
252 </DD>
253 </DL>
254 <HR>
255
256 <A NAME="customSettingsPolicy(com.jgoodies.looks.FontPolicy)"><!-- --></A><H3>
257 customSettingsPolicy</H3>
258 <PRE>
259 public static <A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A> <B>customSettingsPolicy</B>(<A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A>&nbsp;defaultPolicy)</PRE>
260 <DL>
261 <DD>Returns a font policy that checks for a custom FontPolicy
262 and a custom FontSet specified in the System settings or UIManager.
263 If no custom settings are available, the given default policy will
264 be used to look up the FontSet.
265 <P>
266 <DD><DL>
267 <DT><B>Parameters:</B><DD><CODE>defaultPolicy</CODE> - the policy used if there are no custom settings
268 <DT><B>Returns:</B><DD>a FontPolicy that checks for custom settings
269 before the default policy is returned.</DL>
270 </DD>
271 </DL>
272 <HR>
273
274 <A NAME="getDefaultPlasticOnWindowsPolicy()"><!-- --></A><H3>
275 getDefaultPlasticOnWindowsPolicy</H3>
276 <PRE>
277 public static <A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A> <B>getDefaultPlasticOnWindowsPolicy</B>()</PRE>
278 <DL>
279 <DD>Returns the default font policy for Plastic on the Windows platform.
280 It differs from the default Windows policy in that it uses a bold font
281 for TitledBorders, titles, and titled separators.
282 <P>
283 <DD><DL>
284
285 <DT><B>Returns:</B><DD>the default font policy for Plastic on the Windows platform.</DL>
286 </DD>
287 </DL>
288 <HR>
289
290 <A NAME="getDefaultPlasticPolicy()"><!-- --></A><H3>
291 getDefaultPlasticPolicy</H3>
292 <PRE>
293 public static <A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A> <B>getDefaultPlasticPolicy</B>()</PRE>
294 <DL>
295 <DD>Returns the default Plastic FontPolicy that may vary
296 with the platform and environment.
297 On Windows, the PlasticOnWindowsPolicy is returned that
298 is much like the defualt WindowsPolicy but uses a bold title font.
299 On other Platforms, the logical fonts policy is returned
300 that uses the logical fonts as specified by the Java runtime environment.
301 <P>
302 <DD><DL>
303
304 <DT><B>Returns:</B><DD>a Windows-like policy on Windows, a logical fonts policy
305 on all other platforms</DL>
306 </DD>
307 </DL>
308 <HR>
309
310 <A NAME="getDefaultWindowsPolicy()"><!-- --></A><H3>
311 getDefaultWindowsPolicy</H3>
312 <PRE>
313 public static <A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A> <B>getDefaultWindowsPolicy</B>()</PRE>
314 <DL>
315 <DD>Returns the default font policy for the Windows platform.
316 It aims to return a FontSet that is close to the native guidelines
317 and useful for the current Java environment.<p>
318
319 The control font scales with the platform screen resolution
320 (96dpi/101dpi/120dpi/144dpi/...) and honors the desktop font settings
321 (normal/large/extra large).
322 <P>
323 <DD><DL>
324
325 <DT><B>Returns:</B><DD>the default font policy for the Windows platform.</DL>
326 </DD>
327 </DL>
328 <HR>
329
330 <A NAME="getLogicalFontsPolicy()"><!-- --></A><H3>
331 getLogicalFontsPolicy</H3>
332 <PRE>
333 public static <A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A> <B>getLogicalFontsPolicy</B>()</PRE>
334 <DL>
335 <DD>Returns a font policy that returns the logical fonts
336 as specified by the Java runtime environment.
337 <P>
338 <DD><DL>
339
340 <DT><B>Returns:</B><DD>a font policy that returns logical fonts.</DL>
341 </DD>
342 </DL>
343 <HR>
344
345 <A NAME="getLooks1xPlasticPolicy()"><!-- --></A><H3>
346 getLooks1xPlasticPolicy</H3>
347 <PRE>
348 public static <A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A> <B>getLooks1xPlasticPolicy</B>()</PRE>
349 <DL>
350 <DD>Returns a font policy for getting a Plastic appearance that aims to be
351 visual backward compatible with the JGoodies Looks version 1.x.
352 It uses a font choice similar to the choice implemented
353 by the Plastic L&amp;fs in the JGoodies Looks version 1.x.
354 <P>
355 <DD><DL>
356
357 <DT><B>Returns:</B><DD>a font policy that aims to reproduce the Plastic font choice
358 in the JGoodies Looks 1.x.</DL>
359 </DD>
360 </DL>
361 <HR>
362
363 <A NAME="getLooks1xWindowsPolicy()"><!-- --></A><H3>
364 getLooks1xWindowsPolicy</H3>
365 <PRE>
366 public static <A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A> <B>getLooks1xWindowsPolicy</B>()</PRE>
367 <DL>
368 <DD>Returns a font policy for getting a Windows appearance that aims to be
369 visual backward compatible with the JGoodies Looks version 1.x.
370 It uses a font choice similar to the choice implemented
371 by the Windows L&amp;f in the JGoodies Looks version 1.x.
372 <P>
373 <DD><DL>
374
375 <DT><B>Returns:</B><DD>a font policy that aims to reproduce the Windows font choice
376 in the JGoodies Looks 1.x.</DL>
377 </DD>
378 </DL>
379 <HR>
380
381 <A NAME="getTransitionalPlasticPolicy()"><!-- --></A><H3>
382 getTransitionalPlasticPolicy</H3>
383 <PRE>
384 public static <A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks">FontPolicy</A> <B>getTransitionalPlasticPolicy</B>()</PRE>
385 <DL>
386 <DD>Returns a font policy intended for API users that want to
387 move Plastic code from the Looks 1.x to the Looks 2.0.
388 On Windows, it uses the Looks 2.0 Plastic fonts,
389 on other platforms it uses the Looks 1.x Plastic fonts.
390 <P>
391 <DD><DL>
392
393 <DT><B>Returns:</B><DD>the recent Plastic font policy on Windows,
394 the JGoodies Looks 1.x on other Platforms.</DL>
395 </DD>
396 </DL>
397 <!-- ========= END OF CLASS DATA ========= -->
398 <HR>
399
400
401 <!-- ======= START OF BOTTOM NAVBAR ====== -->
402 <A NAME="navbar_bottom"><!-- --></A>
403 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
404 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
405 <TR>
406 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
407 <A NAME="navbar_bottom_firstrow"><!-- --></A>
408 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
409 <TR ALIGN="center" VALIGN="top">
410 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
411 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
412 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
413 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FontPolicies.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
414 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
415 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
416 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
417 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
418 </TR>
419 </TABLE>
420 </TD>
421 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
422 </EM>
423 </TD>
424 </TR>
425
426 <TR>
427 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
428 &nbsp;<A HREF="../../../com/jgoodies/looks/BorderStyle.html" title="class in com.jgoodies.looks"><B>PREV CLASS</B></A>&nbsp;
429 &nbsp;<A HREF="../../../com/jgoodies/looks/FontPolicy.html" title="interface in com.jgoodies.looks"><B>NEXT CLASS</B></A></FONT></TD>
430 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
431 <A HREF="../../../index.html?com/jgoodies/looks/FontPolicies.html" target="_top"><B>FRAMES</B></A> &nbsp;
432 &nbsp;<A HREF="FontPolicies.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
433 &nbsp;<SCRIPT type="text/javascript">
434 <!--
435 if(window==top) {
436 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
437 }
438 //-->
439 </SCRIPT>
440 <NOSCRIPT>
441 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
442 </NOSCRIPT>
443
444
445 </FONT></TD>
446 </TR>
447 <TR>
448 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
449 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
450 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
451 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
452 </TR>
453 </TABLE>
454 <A NAME="skip-navbar_bottom"></A>
455 <!-- ======== END OF BOTTOM NAVBAR ======= -->
456
457 <HR>
458 Copyright &#169; 2001-2007 JGoodies Karsten Lentzsch. All Rights Reserved.
459 </BODY>
460 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26