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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 556 - (show annotations)
Mon Feb 26 21:01:45 2007 UTC (14 years, 3 months ago) by gregoa
File MIME type: text/html
File size: 10531 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 MicroLayoutPolicy (JGoodies Looks 2.1 API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="com.jgoodies.looks.MicroLayoutPolicy interface">
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="MicroLayoutPolicy (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/MicroLayoutPolicy.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/MicroLayoutPolicies.html" title="class in com.jgoodies.looks"><B>PREV CLASS</B></A>&nbsp;
56 &nbsp;<A HREF="../../../com/jgoodies/looks/MicroLayouts.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/MicroLayoutPolicy.html" target="_top"><B>FRAMES</B></A> &nbsp;
59 &nbsp;<A HREF="MicroLayoutPolicy.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 Interface MicroLayoutPolicy</H2>
91 <HR>
92 <DL>
93 <DT><PRE>public interface <B>MicroLayoutPolicy</B></DL>
94 </PRE>
95
96 <P>
97 Looks up and returns a MicroLayout.
98 <P>
99
100 <P>
101 <DL>
102 <DT><B>Since:</B></DT>
103 <DD>2.1</DD>
104 <DT><B>Version:</B></DT>
105 <DD>$Revision: 1.2 $</DD>
106 <DT><B>Author:</B></DT>
107 <DD>Karsten Lentzsch</DD>
108 <DT><B>See Also:</B><DD><A HREF="../../../com/jgoodies/looks/MicroLayout.html" title="class in com.jgoodies.looks"><CODE>MicroLayout</CODE></A>,
109 <A HREF="../../../com/jgoodies/looks/MicroLayoutPolicies.html" title="class in com.jgoodies.looks"><CODE>MicroLayoutPolicies</CODE></A></DL>
110 <HR>
111
112 <P>
113
114 <!-- ========== METHOD SUMMARY =========== -->
115
116 <A NAME="method_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>Method 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>&nbsp;<A HREF="../../../com/jgoodies/looks/MicroLayout.html" title="class in com.jgoodies.looks">MicroLayout</A></CODE></FONT></TD>
125 <TD><CODE><B><A HREF="../../../com/jgoodies/looks/MicroLayoutPolicy.html#getMicroLayout(java.lang.String, javax.swing.UIDefaults)">getMicroLayout</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;lafName,
126 <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/UIDefaults.html" title="class or interface in javax.swing">UIDefaults</A>&nbsp;table)</CODE>
127
128 <BR>
129 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up and returns insets, margins, and gaps that will be used
130 by a Look&amp;Feel to set the component insets, margins and gaps.</TD>
131 </TR>
132 </TABLE>
133 &nbsp;
134 <P>
135
136 <!-- ============ METHOD DETAIL ========== -->
137
138 <A NAME="method_detail"><!-- --></A>
139 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
140 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
141 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
142 <B>Method Detail</B></FONT></TH>
143 </TR>
144 </TABLE>
145
146 <A NAME="getMicroLayout(java.lang.String, javax.swing.UIDefaults)"><!-- --></A><H3>
147 getMicroLayout</H3>
148 <PRE>
149 <A HREF="../../../com/jgoodies/looks/MicroLayout.html" title="class in com.jgoodies.looks">MicroLayout</A> <B>getMicroLayout</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;lafName,
150 <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/UIDefaults.html" title="class or interface in javax.swing">UIDefaults</A>&nbsp;table)</PRE>
151 <DL>
152 <DD>Looks up and returns insets, margins, and gaps that will be used
153 by a Look&amp;Feel to set the component insets, margins and gaps.<p>
154
155 This method is invoked during the L&amp;F component initialization.
156 And the invoker hands over the UIDefaults object used to define
157 the component settings. Hence, the UIDefaults object may be used
158 to look up values as initialized by a super Look&amp;Feel.
159 For example the JGoodies Windows L&amp;F could use the
160 defaults set by the super L&amp;F, the Sun Windows L&amp;F.
161 <P>
162 <DD><DL>
163 <DT><B>Parameters:</B><DD><CODE>lafName</CODE> - the name of the Look&amp;Feel that requests the fonts<DD><CODE>table</CODE> - the UIDefaults table that can be used
164 to look up fonts of a super L&amp;F
165 <DT><B>Returns:</B><DD>a micro layout used as default for the components.</DL>
166 </DD>
167 </DL>
168 <!-- ========= END OF CLASS DATA ========= -->
169 <HR>
170
171
172 <!-- ======= START OF BOTTOM NAVBAR ====== -->
173 <A NAME="navbar_bottom"><!-- --></A>
174 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
175 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
176 <TR>
177 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
178 <A NAME="navbar_bottom_firstrow"><!-- --></A>
179 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
180 <TR ALIGN="center" VALIGN="top">
181 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
182 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
183 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
184 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MicroLayoutPolicy.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
185 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
186 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
187 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
188 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
189 </TR>
190 </TABLE>
191 </TD>
192 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
193 </EM>
194 </TD>
195 </TR>
196
197 <TR>
198 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
199 &nbsp;<A HREF="../../../com/jgoodies/looks/MicroLayoutPolicies.html" title="class in com.jgoodies.looks"><B>PREV CLASS</B></A>&nbsp;
200 &nbsp;<A HREF="../../../com/jgoodies/looks/MicroLayouts.html" title="class in com.jgoodies.looks"><B>NEXT CLASS</B></A></FONT></TD>
201 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
202 <A HREF="../../../index.html?com/jgoodies/looks/MicroLayoutPolicy.html" target="_top"><B>FRAMES</B></A> &nbsp;
203 &nbsp;<A HREF="MicroLayoutPolicy.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
204 &nbsp;<SCRIPT type="text/javascript">
205 <!--
206 if(window==top) {
207 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
208 }
209 //-->
210 </SCRIPT>
211 <NOSCRIPT>
212 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
213 </NOSCRIPT>
214
215
216 </FONT></TD>
217 </TR>
218 <TR>
219 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
220 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
221 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
222 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
223 </TR>
224 </TABLE>
225 <A NAME="skip-navbar_bottom"></A>
226 <!-- ======== END OF BOTTOM NAVBAR ======= -->
227
228 <HR>
229 Copyright &#169; 2001-2007 JGoodies Karsten Lentzsch. All Rights Reserved.
230 </BODY>
231 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26