📄 jtabbedpane.html
字号:
</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/JTabbedPane.html#getTabPlacement()">getTabPlacement</A></B>()</CODE><BR> Returns the placement of the tabs for this tabbedpane.</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/JTabbedPane.html#getTabRunCount()">getTabRunCount</A></B>()</CODE><BR> Returns the number of tab runs currently used to display the tabs.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JTabbedPane.html#getTitleAt(int)">getTitleAt</A></B>(int index)</CODE><BR> Returns the tab title at <code>index</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JTabbedPane.html#getToolTipText(java.awt.event.MouseEvent)">getToolTipText</A></B>(<A HREF="../../java/awt/event/MouseEvent.html">MouseEvent</A> event)</CODE><BR> Returns the tooltip text for the component determined by the mouse event location.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JTabbedPane.html#getToolTipTextAt(int)">getToolTipTextAt</A></B>(int index)</CODE><BR> Returns the tab tooltip text at <code>index</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/swing/plaf/TabbedPaneUI.html">TabbedPaneUI</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JTabbedPane.html#getUI()">getUI</A></B>()</CODE><BR> Returns the UI object which implements the L&F for this component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JTabbedPane.html#getUIClassID()">getUIClassID</A></B>()</CODE><BR> Returns the name of the UI class that implements the L&F for this component.</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/JTabbedPane.html#indexOfComponent(java.awt.Component)">indexOfComponent</A></B>(<A HREF="../../java/awt/Component.html">Component</A> component)</CODE><BR> Returns the index of the tab for the specified component.</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/JTabbedPane.html#indexOfTab(javax.swing.Icon)">indexOfTab</A></B>(<A HREF="../../javax/swing/Icon.html">Icon</A> icon)</CODE><BR> Returns the first tab index with a given <code>icon</code>, or -1 if no tab has this icon.</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/JTabbedPane.html#indexOfTab(java.lang.String)">indexOfTab</A></B>(<A HREF="../../java/lang/String.html">String</A> title)</CODE><BR> Returns the first tab index with a given <code>title</code>, or -1 if no tab has this title.</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/JTabbedPane.html#insertTab(java.lang.String, javax.swing.Icon, java.awt.Component, java.lang.String, int)">insertTab</A></B>(<A HREF="../../java/lang/String.html">String</A> title, <A HREF="../../javax/swing/Icon.html">Icon</A> icon, <A HREF="../../java/awt/Component.html">Component</A> component, <A HREF="../../java/lang/String.html">String</A> tip, int index)</CODE><BR> Inserts a <code>component</code>, at <code>index</code>, represented by a <code>title</code> and/or <code>icon</code>, either of which may be <code>null</code>.</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/JTabbedPane.html#isEnabledAt(int)">isEnabledAt</A></B>(int index)</CODE><BR> Returns whether or not the tab at <code>index</code> is currently enabled.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JTabbedPane.html#paramString()">paramString</A></B>()</CODE><BR> Returns a string representation of this <code>JTabbedPane</code>.</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/JTabbedPane.html#remove(java.awt.Component)">remove</A></B>(<A HREF="../../java/awt/Component.html">Component</A> component)</CODE><BR> Removes the tab which corresponds to the specified component.</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/JTabbedPane.html#remove(int)">remove</A></B>(int index)</CODE><BR> Removes the tab and component which corresponds to the specified index.</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/JTabbedPane.html#removeAll()">removeAll</A></B>()</CODE><BR> Removes all the tabs and their corresponding components from the <code>tabbedpane</code>.</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/JTabbedPane.html#removeChangeListener(javax.swing.event.ChangeListener)">removeChangeListener</A></B>(<A HREF="../../javax/swing/event/ChangeListener.html">ChangeListener</A> l)</CODE><BR> Removes a <code>ChangeListener</code> from this tabbedpane.</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/JTabbedPane.html#removeTabAt(int)">removeTabAt</A></B>(int index)</CODE><BR> Removes the tab at <code>index</code>.</TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -