📄 basicsplitpaneui.html
字号:
This is passed off to the current layoutmanager.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getMinimumDividerLocation(javax.swing.JSplitPane)">getMinimumDividerLocation</A></B>(<A HREF="../../../../javax/swing/JSplitPane.html">JSplitPane</A> jc)</CODE><BR> Gets the minimum location of the divider.</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.html#getMinimumSize(javax.swing.JComponent)">getMinimumSize</A></B>(<A HREF="../../../../javax/swing/JComponent.html">JComponent</A> jc)</CODE><BR> Returns the minimum size for the passed in component, This is passed off to the current layoutmanager.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/Component.html">Component</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getNonContinuousLayoutDivider()">getNonContinuousLayoutDivider</A></B>()</CODE><BR> Returns the divider to use when the splitPane is configured to not continuously layout.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getOrientation()">getOrientation</A></B>()</CODE><BR> Returns the orientation for the JSplitPane.</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.html#getPreferredSize(javax.swing.JComponent)">getPreferredSize</A></B>(<A HREF="../../../../javax/swing/JComponent.html">JComponent</A> jc)</CODE><BR> Returns the preferred size for the passed in component, This is passed off to the current layoutmanager.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../javax/swing/JSplitPane.html">JSplitPane</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#getSplitPane()">getSplitPane</A></B>()</CODE><BR> Returns the splitpane this instance is currently contained in.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#installDefaults()">installDefaults</A></B>()</CODE><BR> Installs the UI defaults.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#installKeyboardActions()">installKeyboardActions</A></B>()</CODE><BR> Installs the keyboard actions for the UI.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#installListeners()">installListeners</A></B>()</CODE><BR> Installs the event listeners for the UI.</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.html#installUI(javax.swing.JComponent)">installUI</A></B>(<A HREF="../../../../javax/swing/JComponent.html">JComponent</A> c)</CODE><BR> Installs the UI.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#isContinuousLayout()">isContinuousLayout</A></B>()</CODE><BR> Determines wether the JSplitPane is set to use a continuous layout.</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.html#paint(java.awt.Graphics, javax.swing.JComponent)">paint</A></B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A> g, <A HREF="../../../../javax/swing/JComponent.html">JComponent</A> jc)</CODE><BR> Messaged to paint the look and feel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#resetLayoutManager()">resetLayoutManager</A></B>()</CODE><BR> Resets the layout manager based on orientation and messages it with invalidateLayout to pull in appropriate 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.html#resetToPreferredSizes(javax.swing.JSplitPane)">resetToPreferredSizes</A></B>(<A HREF="../../../../javax/swing/JSplitPane.html">JSplitPane</A> jc)</CODE><BR> Messaged to reset the preferred sizes.</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.html#setContinuousLayout(boolean)">setContinuousLayout</A></B>(boolean b)</CODE><BR> Turn continuous layout on/off.</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.html#setDividerLocation(javax.swing.JSplitPane, int)">setDividerLocation</A></B>(<A HREF="../../../../javax/swing/JSplitPane.html">JSplitPane</A> jc, int location)</CODE><BR> Sets the location of the divider to location.</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.html#setLastDragLocation(int)">setLastDragLocation</A></B>(int l)</CODE><BR> Set the last drag location of the JSplitPane.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#setNonContinuousLayoutDivider(java.awt.Component)">setNonContinuousLayoutDivider</A></B>(<A HREF="../../../../java/awt/Component.html">Component</A> newDivider)</CODE><BR> Sets the divider to use when the splitPane is configured to not continuously layout.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#setNonContinuousLayoutDivider(java.awt.Component, boolean)">setNonContinuousLayoutDivider</A></B>(<A HREF="../../../../java/awt/Component.html">Component</A> newDivider, boolean rememberSizes)</CODE><BR> Sets the divider to use.</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.html#setOrientation(int)">setOrientation</A></B>(int orientation)</CODE><BR> Set the orientation for the JSplitPane.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#startDragging()">startDragging</A></B>()</CODE><BR> Should be messaged before the dragging session starts, resets lastDragLocation and dividerSize.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#uninstallDefaults()">uninstallDefaults</A></B>()</CODE><BR> Uninstalls the UI defaults.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#uninstallKeyboardActions()">uninstallKeyboardActions</A></B>()</CODE><BR> Uninstalls the keyboard actions for the UI.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.html#uninstallListeners()">uninstallListeners</A></B>()</CODE><BR> Uninstalls the event listeners for the UI.</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.html#uninstallUI(javax.swing.JComponent)">uninstallUI</A></B>(<A HREF="../../../../javax/swing/JComponent.html">JComponent</A> c)</CODE><BR> Uninstalls the UI.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.plaf.ComponentUI"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.plaf.<A HREF="../../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../javax/swing/plaf/ComponentUI.html#contains(javax.swing.JComponent, int, int)">contains</A>, <A HREF="../../../../javax/swing/plaf/ComponentUI.html#getAccessibleChild(javax.swing.JComponent, int)">getAccessibleChild</A>, <A HREF="../../../../javax/swing/plaf/ComponentUI.html#getAccessibleChildrenCount(javax.swing.JComponent)">getAccessibleChildrenCount</A>, <A HREF="../../../../javax/swing/plaf/ComponentUI.html#update(java.awt.Graphics, javax.swing.JComponent)">update</A></CODE></TD></TR></TABLE> <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> <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="NON_CONTINUOUS_DIVIDER"><!-- --></A><H3>NON_CONTINUOUS_DIVIDER</H3><PRE>protected static final <A HREF="../../../../java/lang/String.html">String</A> <B>NON_CONTINUOUS_DIVIDER</B></PRE><DL><DD>The divider used for non-continuous layout is added to the split pane with this object.</DL><HR><A NAME="KEYBOARD_DIVIDER_MOVE_OFFSET"><!-- --></A><H3>KEYBOARD_DIVIDER_MOVE_OFFSET</H3><PRE>protected static int <B>KEYBOARD_DIVIDER_MOVE_OFFSET</B></PRE><DL><DD>How far (relativ) the divider does move when it is moved around by the cursor keys on the keyboard.</DL><HR><A NAME="splitPane"><!-- --></A><H3>splitPane</H3><PRE>protected <A HREF="../../../../javax/swing/JSplitPane.html">JSplitPane</A> <B>splitPane</B></PRE><DL><DD>JSplitPane instance this instance is providing the look and feel for.</DL><HR><A NAME="layoutManager"><!-- --></A><H3>layoutManager</H3><PRE>protected <A HREF="../../../../javax/swing/plaf/basic/BasicSplitPaneUI.BasicHorizontalLayoutManager.html">BasicSplitPaneUI.BasicHorizontalLayoutManager</A> <B>layoutManager</B></PRE><DL><DD>LayoutManager that is created and placed into the split pane.</DL><HR><A NAME="divider"><!-- --></A><H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -