📄 metaltabbedpaneui.html
字号:
</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/metal/MetalTabbedPaneUI.html#getTabLabelShiftY(int, int, boolean)">getTabLabelShiftY</A></B>(int tabPlacement, int tabIndex, boolean isSelected)</CODE><BR> Overidden to do nothing for the Java L&F.</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/metal/MetalTabbedPaneUI.html#getTabRunOverlay(int)">getTabRunOverlay</A></B>(int tabPlacement)</CODE><BR> </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/metal/MetalTabbedPaneUI.html#installDefaults()">installDefaults</A></B>()</CODE><BR> </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/metal/MetalTabbedPaneUI.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> c)</CODE><BR> </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/metal/MetalTabbedPaneUI.html#paintBottomTabBorder(int, java.awt.Graphics, int, int, int, int, int, int, boolean)">paintBottomTabBorder</A></B>(int tabIndex, <A HREF="../../../../java/awt/Graphics.html">Graphics</A> g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)</CODE><BR> </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/metal/MetalTabbedPaneUI.html#paintContentBorderBottomEdge(java.awt.Graphics, int, int, int, int, int, int)">paintContentBorderBottomEdge</A></B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A> g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)</CODE><BR> </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/metal/MetalTabbedPaneUI.html#paintContentBorderLeftEdge(java.awt.Graphics, int, int, int, int, int, int)">paintContentBorderLeftEdge</A></B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A> g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)</CODE><BR> </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/metal/MetalTabbedPaneUI.html#paintContentBorderRightEdge(java.awt.Graphics, int, int, int, int, int, int)">paintContentBorderRightEdge</A></B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A> g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)</CODE><BR> </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/metal/MetalTabbedPaneUI.html#paintContentBorderTopEdge(java.awt.Graphics, int, int, int, int, int, int)">paintContentBorderTopEdge</A></B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A> g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)</CODE><BR> </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/metal/MetalTabbedPaneUI.html#paintFocusIndicator(java.awt.Graphics, int, java.awt.Rectangle[], int, java.awt.Rectangle, java.awt.Rectangle, boolean)">paintFocusIndicator</A></B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A> g, int tabPlacement, <A HREF="../../../../java/awt/Rectangle.html">Rectangle</A>[] rects, int tabIndex, <A HREF="../../../../java/awt/Rectangle.html">Rectangle</A> iconRect, <A HREF="../../../../java/awt/Rectangle.html">Rectangle</A> textRect, boolean isSelected)</CODE><BR> </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/metal/MetalTabbedPaneUI.html#paintHighlightBelowTab()">paintHighlightBelowTab</A></B>()</CODE><BR> </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/metal/MetalTabbedPaneUI.html#paintLeftTabBorder(int, java.awt.Graphics, int, int, int, int, int, int, boolean)">paintLeftTabBorder</A></B>(int tabIndex, <A HREF="../../../../java/awt/Graphics.html">Graphics</A> g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)</CODE><BR> </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/metal/MetalTabbedPaneUI.html#paintRightTabBorder(int, java.awt.Graphics, int, int, int, int, int, int, boolean)">paintRightTabBorder</A></B>(int tabIndex, <A HREF="../../../../java/awt/Graphics.html">Graphics</A> g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)</CODE><BR> </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/metal/MetalTabbedPaneUI.html#paintTabBackground(java.awt.Graphics, int, int, int, int, int, int, boolean)">paintTabBackground</A></B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A> g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)</CODE><BR> </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/metal/MetalTabbedPaneUI.html#paintTabBorder(java.awt.Graphics, int, int, int, int, int, int, boolean)">paintTabBorder</A></B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A> g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)</CODE><BR> this function draws the border around each tab note that this function does now draw the background of the tab.</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/metal/MetalTabbedPaneUI.html#paintTopTabBorder(int, java.awt.Graphics, int, int, int, int, int, int, boolean)">paintTopTabBorder</A></B>(int tabIndex, <A HREF="../../../../java/awt/Graphics.html">Graphics</A> g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/metal/MetalTabbedPaneUI.html#shouldFillGap(int, int, int, int)">shouldFillGap</A></B>(int currentRun, int tabIndex, int x, int y)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/metal/MetalTabbedPaneUI.html#shouldPadTabRun(int, int)">shouldPadTabRun</A></B>(int tabPlacement, int run)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/plaf/metal/MetalTabbedPaneUI.html#shouldRotateTabRuns(int, int)">shouldRotateTabRuns</A></B>(int tabPlacement, int selectedRun)</CODE><BR> </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/metal/MetalTabbedPaneUI.html#update(java.awt.Graphics, javax.swing.JComponent)">update</A></B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A> g, <A HREF="../../../../javax/swing/JComponent.html">JComponent</A> c)</CODE><BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -