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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26