⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jrootpane.rootlayout.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="JRootPane.RootLayout(javax.swing.JRootPane)"><!-- --></A><H3>JRootPane.RootLayout</H3><PRE>protected <B>JRootPane.RootLayout</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="preferredLayoutSize(java.awt.Container)"><!-- --></A><H3>preferredLayoutSize</H3><PRE>public <A HREF="../../java/awt/Dimension.html">Dimension</A> <B>preferredLayoutSize</B>(<A HREF="../../java/awt/Container.html">Container</A>&nbsp;parent)</PRE><DL><DD>Returns the amount of space the layout would like to have.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/awt/LayoutManager.html#preferredLayoutSize(java.awt.Container)">preferredLayoutSize</A></CODE> in interface <CODE><A HREF="../../java/awt/LayoutManager.html">LayoutManager</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>the</CODE> - Container for which this layout manager is being used<DT><B>Returns:</B><DD>a Dimension object containing the layout's preferred size</DL></DD></DL><HR><A NAME="minimumLayoutSize(java.awt.Container)"><!-- --></A><H3>minimumLayoutSize</H3><PRE>public <A HREF="../../java/awt/Dimension.html">Dimension</A> <B>minimumLayoutSize</B>(<A HREF="../../java/awt/Container.html">Container</A>&nbsp;parent)</PRE><DL><DD>Returns the minimum amount of space the layout needs.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/awt/LayoutManager.html#minimumLayoutSize(java.awt.Container)">minimumLayoutSize</A></CODE> in interface <CODE><A HREF="../../java/awt/LayoutManager.html">LayoutManager</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>the</CODE> - Container for which this layout manager is being used<DT><B>Returns:</B><DD>a Dimension object containing the layout's minimum size</DL></DD></DL><HR><A NAME="maximumLayoutSize(java.awt.Container)"><!-- --></A><H3>maximumLayoutSize</H3><PRE>public <A HREF="../../java/awt/Dimension.html">Dimension</A> <B>maximumLayoutSize</B>(<A HREF="../../java/awt/Container.html">Container</A>&nbsp;target)</PRE><DL><DD>Returns the maximum amount of space the layout can use.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/awt/LayoutManager2.html#maximumLayoutSize(java.awt.Container)">maximumLayoutSize</A></CODE> in interface <CODE><A HREF="../../java/awt/LayoutManager2.html">LayoutManager2</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>the</CODE> - Container for which this layout manager is being used<DT><B>Returns:</B><DD>a Dimension object containing the layout's maximum size</DL></DD></DL><HR><A NAME="layoutContainer(java.awt.Container)"><!-- --></A><H3>layoutContainer</H3><PRE>public void <B>layoutContainer</B>(<A HREF="../../java/awt/Container.html">Container</A>&nbsp;parent)</PRE><DL><DD>Instructs the layout manager to perform the layout for the specified container.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/awt/LayoutManager.html#layoutContainer(java.awt.Container)">layoutContainer</A></CODE> in interface <CODE><A HREF="../../java/awt/LayoutManager.html">LayoutManager</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>the</CODE> - Container for which this layout manager is being used</DL></DD></DL><HR><A NAME="addLayoutComponent(java.lang.String, java.awt.Component)"><!-- --></A><H3>addLayoutComponent</H3><PRE>public void <B>addLayoutComponent</B>(<A HREF="../../java/lang/String.html">String</A>&nbsp;name,                               <A HREF="../../java/awt/Component.html">Component</A>&nbsp;comp)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../java/awt/LayoutManager.html">LayoutManager</A></CODE></B></DD><DD>Adds the specified component with the specified name to the layout.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/awt/LayoutManager.html#addLayoutComponent(java.lang.String, java.awt.Component)">addLayoutComponent</A></CODE> in interface <CODE><A HREF="../../java/awt/LayoutManager.html">LayoutManager</A></CODE></DL></DD><DD>Following copied from interface: <CODE>java.awt.LayoutManager</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the component name<DD><CODE>comp</CODE> - the component to be added</DL></DD></DL><HR><A NAME="removeLayoutComponent(java.awt.Component)"><!-- --></A><H3>removeLayoutComponent</H3><PRE>public void <B>removeLayoutComponent</B>(<A HREF="../../java/awt/Component.html">Component</A>&nbsp;comp)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../java/awt/LayoutManager.html">LayoutManager</A></CODE></B></DD><DD>Removes the specified component from the layout.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/awt/LayoutManager.html#removeLayoutComponent(java.awt.Component)">removeLayoutComponent</A></CODE> in interface <CODE><A HREF="../../java/awt/LayoutManager.html">LayoutManager</A></CODE></DL></DD><DD>Following copied from interface: <CODE>java.awt.LayoutManager</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>comp</CODE> - the component to be removed</DL></DD></DL><HR><A NAME="addLayoutComponent(java.awt.Component, java.lang.Object)"><!-- --></A><H3>addLayoutComponent</H3><PRE>public void <B>addLayoutComponent</B>(<A HREF="../../java/awt/Component.html">Component</A>&nbsp;comp,                               <A HREF="../../java/lang/Object.html">Object</A>&nbsp;constraints)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../java/awt/LayoutManager2.html">LayoutManager2</A></CODE></B></DD><DD>Adds the specified component to the layout, using the specified constraint object.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/awt/LayoutManager2.html#addLayoutComponent(java.awt.Component, java.lang.Object)">addLayoutComponent</A></CODE> in interface <CODE><A HREF="../../java/awt/LayoutManager2.html">LayoutManager2</A></CODE></DL></DD><DD>Following copied from interface: <CODE>java.awt.LayoutManager2</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>comp</CODE> - the component to be added<DD><CODE>constraints</CODE> - where/how the component is added to the layout.</DL></DD></DL><HR><A NAME="getLayoutAlignmentX(java.awt.Container)"><!-- --></A><H3>getLayoutAlignmentX</H3><PRE>public float <B>getLayoutAlignmentX</B>(<A HREF="../../java/awt/Container.html">Container</A>&nbsp;target)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../java/awt/LayoutManager2.html">LayoutManager2</A></CODE></B></DD><DD>Returns the alignment along the x axis.  This specifies how the component would like to be aligned relative to other  components.  The value should be a number between 0 and 1 where 0 represents alignment along the origin, 1 is aligned the furthest away from the origin, 0.5 is centered, etc.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/awt/LayoutManager2.html#getLayoutAlignmentX(java.awt.Container)">getLayoutAlignmentX</A></CODE> in interface <CODE><A HREF="../../java/awt/LayoutManager2.html">LayoutManager2</A></CODE></DL></DD></DL><HR><A NAME="getLayoutAlignmentY(java.awt.Container)"><!-- --></A><H3>getLayoutAlignmentY</H3><PRE>public float <B>getLayoutAlignmentY</B>(<A HREF="../../java/awt/Container.html">Container</A>&nbsp;target)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../java/awt/LayoutManager2.html">LayoutManager2</A></CODE></B></DD><DD>Returns the alignment along the y axis.  This specifies how the component would like to be aligned relative to other  components.  The value should be a number between 0 and 1 where 0 represents alignment along the origin, 1 is aligned the furthest away from the origin, 0.5 is centered, etc.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/awt/LayoutManager2.html#getLayoutAlignmentY(java.awt.Container)">getLayoutAlignmentY</A></CODE> in interface <CODE><A HREF="../../java/awt/LayoutManager2.html">LayoutManager2</A></CODE></DL></DD></DL><HR><A NAME="invalidateLayout(java.awt.Container)"><!-- --></A><H3>invalidateLayout</H3><PRE>public void <B>invalidateLayout</B>(<A HREF="../../java/awt/Container.html">Container</A>&nbsp;target)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../java/awt/LayoutManager2.html">LayoutManager2</A></CODE></B></DD><DD>Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../java/awt/LayoutManager2.html#invalidateLayout(java.awt.Container)">invalidateLayout</A></CODE> in interface <CODE><A HREF="../../java/awt/LayoutManager2.html">LayoutManager2</A></CODE></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JRootPane.RootLayout.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../javax/swing/JRootPane.AccessibleJRootPane.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../javax/swing/JScrollBar.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="JRootPane.RootLayout.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation  contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -