📄 basicsplitpaneui.basichorizontallayoutmanager.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Thu Apr 27 23:40:57 PDT 2000 --><TITLE>Java 2 Platform SE v1.3: Class BasicSplitPaneUI.BasicHorizontalLayoutManager</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BasicSplitPaneUI.BasicHorizontalLayoutManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html"><B>PREV CLASS</B></A> <A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicVerticalLayoutManager.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> <A HREF="BasicSplitPaneUI.BasicHorizontalLayoutManager.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">javax.swing.plaf.basic</FONT><BR>Class BasicSplitPaneUI.BasicHorizontalLayoutManager</H2><PRE><A HREF="../../../../java/lang/Object.html">java.lang.Object</A> | +--<B>javax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../java/awt/LayoutManager.html">LayoutManager</A>, <A HREF="../../../../java/awt/LayoutManager2.html">LayoutManager2</A></DD></DL><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicVerticalLayoutManager.html">BasicSplitPaneUI.BasicVerticalLayoutManager</A></DD></DL><DL><DT><B>Enclosing class: </B><DD><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html">BasicSplitPaneUI</A></DD></DL><HR><DL><DT>public class <B>BasicSplitPaneUI.BasicHorizontalLayoutManager</B><DT>extends <A HREF="../../../../java/lang/Object.html">Object</A><DT>implements <A HREF="../../../../java/awt/LayoutManager2.html">LayoutManager2</A></DL><P>LayoutManager for JSplitPanes that have an orientation of HORIZONTAL_SPLIT. <p> This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicSplitPaneUI.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../java/awt/Component.html">Component</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#components">components</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#sizes">sizes</A></B></CODE><BR> </TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#addLayoutComponent(java.awt.Component, java.lang.Object)">addLayoutComponent</A></B>(<A HREF="../../../../java/awt/Component.html">Component</A> comp, <A HREF="../../../../java/lang/Object.html">Object</A> constraints)</CODE><BR> Adds the specified component to the layout, using the specified constraint object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#addLayoutComponent(java.lang.String, java.awt.Component)">addLayoutComponent</A></B>(<A HREF="../../../../java/lang/String.html">String</A> place, <A HREF="../../../../java/awt/Component.html">Component</A> component)</CODE><BR> Adds the component at place.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#getAvailableSize(java.awt.Dimension, java.awt.Insets)">getAvailableSize</A></B>(<A HREF="../../../../java/awt/Dimension.html">Dimension</A> containerSize, <A HREF="../../../../java/awt/Insets.html">Insets</A> insets)</CODE><BR> Returns the available width based on the container size and Insets.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#getInitialLocation(java.awt.Insets)">getInitialLocation</A></B>(<A HREF="../../../../java/awt/Insets.html">Insets</A> insets)</CODE><BR> Returns the left inset, unless the Insets are null in which case 0 is returned.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#getLayoutAlignmentX(java.awt.Container)">getLayoutAlignmentX</A></B>(<A HREF="../../../../java/awt/Container.html">Container</A> target)</CODE><BR> Returns the alignment along the x axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#getLayoutAlignmentY(java.awt.Container)">getLayoutAlignmentY</A></B>(<A HREF="../../../../java/awt/Container.html">Container</A> target)</CODE><BR> Returns the alignment along the y axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#getPreferredSizeOfComponent(java.awt.Component)">getPreferredSizeOfComponent</A></B>(<A HREF="../../../../java/awt/Component.html">Component</A> c)</CODE><BR> Returns the width of the passed in Components preferred size.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#getSizeOfComponent(java.awt.Component)">getSizeOfComponent</A></B>(<A HREF="../../../../java/awt/Component.html">Component</A> c)</CODE><BR> Returns the width of the passed in component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#getSizes()">getSizes</A></B>()</CODE><BR> Returns the sizes of the components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#invalidateLayout(java.awt.Container)">invalidateLayout</A></B>(<A HREF="../../../../java/awt/Container.html">Container</A> c)</CODE><BR> Does nothing.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#layoutContainer(java.awt.Container)">layoutContainer</A></B>(<A HREF="../../../../java/awt/Container.html">Container</A> container)</CODE><BR> Does the actual layout.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/Dimension.html">Dimension</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html#maximumLayoutSize(java.awt.Container)">maximumLayoutSize</A></B>(<A HREF="../../../../java/awt/Container.html">Container</A> target)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -