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

📄 basicsplitpaneui.basichorizontallayoutmanager.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maximum layout size, which is Integer.MAX_VALUE in both directions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../java/awt/Dimension.html">Dimension</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#minimumLayoutSize(java.awt.Container)">minimumLayoutSize</A></B>(<A HREF="../../../../java/awt/Container.html">Container</A>&nbsp;container)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minimum size needed to contain the children.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../java/awt/Dimension.html">Dimension</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#preferredLayoutSize(java.awt.Container)">preferredLayoutSize</A></B>(<A HREF="../../../../java/awt/Container.html">Container</A>&nbsp;container)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the preferred size needed to contain the children.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#removeLayoutComponent(java.awt.Component)">removeLayoutComponent</A></B>(<A HREF="../../../../java/awt/Component.html">Component</A>&nbsp;component)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the specified component from our knowledge.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#resetSizeAt(int)">resetSizeAt</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the size of the Component at the passed in location.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#resetToPreferredSizes()">resetToPreferredSizes</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Marks the receiver so that the next time this instance is layed out it'll ask for the preferred sizes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#setComponentToSize(java.awt.Component, int, int, java.awt.Insets, java.awt.Dimension)">setComponentToSize</A></B>(<A HREF="../../../../java/awt/Component.html">Component</A>&nbsp;c,                   int&nbsp;size,                   int&nbsp;location,                   <A HREF="../../../../java/awt/Insets.html">Insets</A>&nbsp;insets,                   <A HREF="../../../../java/awt/Dimension.html">Dimension</A>&nbsp;containerSize)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the width of the component c to be size, placing its x location at location, y to the insets.top and height to the containersize.height less the top and bottom insets.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#setSizes(int[])">setSizes</A></B>(int[]&nbsp;newSizes)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the sizes to <code>newSizes</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#updateComponents()">updateComponents</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the components.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="sizes"><!-- --></A><H3>sizes</H3><PRE>protected int[] <B>sizes</B></PRE><DL></DL><HR><A NAME="components"><!-- --></A><H3>components</H3><PRE>protected <A HREF="../../../../java/awt/Component.html">Component</A>[] <B>components</B></PRE><DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="layoutContainer(java.awt.Container)"><!-- --></A><H3>layoutContainer</H3><PRE>public void <B>layoutContainer</B>(<A HREF="../../../../java/awt/Container.html">Container</A>&nbsp;container)</PRE><DL><DD>Does the actual layout.<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>Following copied from interface: <CODE>java.awt.LayoutManager</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>parent</CODE> - the component which needs to be laid out</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;place,                               <A HREF="../../../../java/awt/Component.html">Component</A>&nbsp;component)</PRE><DL><DD>Adds the component at place.  Place must be one of JSplitPane.LEFT, RIGHT, TOP, BOTTOM, or null (for the divider).<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="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;container)</PRE><DL><DD>Returns the minimum size needed to contain the children. The width is the sum of all the childrens min widths and the height is the largest of the childrens minimum heights.<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>Following copied from interface: <CODE>java.awt.LayoutManager</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>parent</CODE> - the component to be laid out<DT><B>See Also: </B><DD><A HREF="../../../../java/awt/LayoutManager.html#preferredLayoutSize(java.awt.Container)"><CODE>LayoutManager.preferredLayoutSize(java.awt.Container)</CODE></A></DL></DD></DL><HR><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;container)</PRE><DL><DD>Returns the preferred size needed to contain the children. The width is the sum of all the childrens preferred widths and the height is the largest of the childrens preferred heights.<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>Following copied from interface: <CODE>java.awt.LayoutManager</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>parent</CODE> - the component to be laid out<DT><B>See Also: </B><DD><A HREF="../../../../java/awt/LayoutManager.html#minimumLayoutSize(java.awt.Container)"><CODE>LayoutManager.minimumLayoutSize(java.awt.Container)</CODE></A></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;component)</PRE><DL><DD>Removes the specified component from our knowledge.<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>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><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>

⌨️ 快捷键说明

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