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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26