javax.swing.plaf.metal
クラス MetalTabbedPaneUI
java.lang.Object
|
+--javax.swing.plaf.ComponentUI
|
+--javax.swing.plaf.TabbedPaneUI
|
+--javax.swing.plaf.basic.BasicTabbedPaneUI
|
+--javax.swing.plaf.metal.MetalTabbedPaneUI
- public class MetalTabbedPaneUI
- extends BasicTabbedPaneUI
BasicTabbedPaneUI の Metal 用のサブクラスです。
警告:
このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の運用や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。今後の Swing リリースでは、長期間の持続性をサポートする予定です。
クラス javax.swing.plaf.basic.BasicTabbedPaneUI から継承したフィールド |
contentBorderInsets,
darkShadow,
downKey,
focus,
focusListener,
highlight,
leftKey,
lightHighlight,
maxTabHeight,
maxTabWidth,
mouseListener,
propertyChangeListener,
rects,
rightKey,
runCount,
selectedRun,
selectedTabPadInsets,
shadow,
tabAreaInsets,
tabChangeListener,
tabInsets,
tabPane,
tabRunOverlay,
tabRuns,
textIconGap,
upKey |
メソッドの概要 |
protected int |
calculateMaxTabHeight(int tabPlacement)
|
protected LayoutManager |
createLayoutManager()
|
static ComponentUI |
createUI(JComponent x)
|
protected Color |
getColorForGap(int currentRun,
int x,
int y)
|
protected int |
getTabLabelShiftX(int tabPlacement,
int tabIndex,
boolean isSelected)
Java Look & Feel に対して何も行わないためにオーバーライドされます。 |
protected int |
getTabLabelShiftY(int tabPlacement,
int tabIndex,
boolean isSelected)
Java Look & Feel 用に何も行わないためにオーバーライドされます。 |
protected int |
getTabRunOverlay(int tabPlacement)
|
protected void |
installDefaults()
|
void |
paint(Graphics g,
JComponent c)
|
protected void |
paintBottomTabBorder(int tabIndex,
Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
|
protected void |
paintContentBorderBottomEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
|
protected void |
paintContentBorderLeftEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
|
protected void |
paintContentBorderRightEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
|
protected void |
paintContentBorderTopEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
|
protected void |
paintFocusIndicator(Graphics g,
int tabPlacement,
Rectangle[] rects,
int tabIndex,
Rectangle iconRect,
Rectangle textRect,
boolean isSelected)
|
protected void |
paintHighlightBelowTab()
|
protected void |
paintLeftTabBorder(int tabIndex,
Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
|
protected void |
paintRightTabBorder(int tabIndex,
Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
|
protected void |
paintTabBackground(Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
|
protected void |
paintTabBorder(Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
|
protected void |
paintTopTabBorder(int tabIndex,
Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
|
protected boolean |
shouldFillGap(int currentRun,
int tabIndex,
int x,
int y)
|
protected boolean |
shouldPadTabRun(int tabPlacement,
int run)
|
protected boolean |
shouldRotateTabRuns(int tabPlacement,
int selectedRun)
|
void |
update(Graphics g,
JComponent c)
|
クラス javax.swing.plaf.basic.BasicTabbedPaneUI から継承したメソッド |
assureRectsCreated,
calculateMaxTabWidth,
calculateTabAreaHeight,
calculateTabAreaWidth,
calculateTabHeight,
calculateTabWidth,
createChangeListener,
createFocusListener,
createMouseListener,
createPropertyChangeListener,
expandTabRunsArray,
getContentBorderInsets,
getFontMetrics,
getIconForTab,
getMaximumSize,
getMinimumSize,
getNextTabIndex,
getPreferredSize,
getPreviousTabIndex,
getRunForTab,
getSelectedTabPadInsets,
getTabAreaInsets,
getTabBounds,
getTabInsets,
getTabRunCount,
getTabRunIndent,
getTabRunOffset,
getVisibleComponent,
installKeyboardActions,
installListeners,
installUI,
lastTabInRun,
layoutLabel,
navigateSelectedTab,
paintContentBorder,
paintIcon,
paintTab,
paintText,
rotateInsets,
selectAdjacentRunTab,
selectNextTab,
selectPreviousTab,
setVisibleComponent,
shouldRotateTabRuns,
tabForCoordinate,
uninstallDefaults,
uninstallKeyboardActions,
uninstallListeners,
uninstallUI |
クラス java.lang.Object から継承したメソッド |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
minTabWidth
protected int minTabWidth
tabAreaBackground
protected Color tabAreaBackground
selectColor
protected Color selectColor
selectHighlight
protected Color selectHighlight
MetalTabbedPaneUI
public MetalTabbedPaneUI()
createUI
public static ComponentUI createUI(JComponent x)
createLayoutManager
protected LayoutManager createLayoutManager()
- オーバーライド:
- クラス BasicTabbedPaneUI 内の createLayoutManager
installDefaults
protected void installDefaults()
- オーバーライド:
- クラス BasicTabbedPaneUI 内の installDefaults
paintTabBorder
protected void paintTabBorder(Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
- オーバーライド:
- クラス BasicTabbedPaneUI 内の paintTabBorder
paintTopTabBorder
protected void paintTopTabBorder(int tabIndex,
Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
shouldFillGap
protected boolean shouldFillGap(int currentRun,
int tabIndex,
int x,
int y)
getColorForGap
protected Color getColorForGap(int currentRun,
int x,
int y)
paintLeftTabBorder
protected void paintLeftTabBorder(int tabIndex,
Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
paintBottomTabBorder
protected void paintBottomTabBorder(int tabIndex,
Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
paintRightTabBorder
protected void paintRightTabBorder(int tabIndex,
Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
update
public void update(Graphics g,
JComponent c)
- オーバーライド:
- クラス ComponentUI 内の update
paintTabBackground
protected void paintTabBackground(Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
- オーバーライド:
- クラス BasicTabbedPaneUI 内の paintTabBackground
getTabLabelShiftX
protected int getTabLabelShiftX(int tabPlacement,
int tabIndex,
boolean isSelected)
- Java Look & Feel に対して何も行わないためにオーバーライドされます。
- オーバーライド:
- クラス BasicTabbedPaneUI 内の getTabLabelShiftX
getTabLabelShiftY
protected int getTabLabelShiftY(int tabPlacement,
int tabIndex,
boolean isSelected)
- Java Look & Feel 用に何も行わないためにオーバーライドされます。
- オーバーライド:
- クラス BasicTabbedPaneUI 内の getTabLabelShiftY
paint
public void paint(Graphics g,
JComponent c)
- オーバーライド:
- クラス BasicTabbedPaneUI 内の paint
paintHighlightBelowTab
protected void paintHighlightBelowTab()
paintFocusIndicator
protected void paintFocusIndicator(Graphics g,
int tabPlacement,
Rectangle[] rects,
int tabIndex,
Rectangle iconRect,
Rectangle textRect,
boolean isSelected)
- オーバーライド:
- クラス BasicTabbedPaneUI 内の paintFocusIndicator
paintContentBorderTopEdge
protected void paintContentBorderTopEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
- オーバーライド:
- クラス BasicTabbedPaneUI 内の paintContentBorderTopEdge
paintContentBorderBottomEdge
protected void paintContentBorderBottomEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
- オーバーライド:
- クラス BasicTabbedPaneUI 内の paintContentBorderBottomEdge
paintContentBorderLeftEdge
protected void paintContentBorderLeftEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
- オーバーライド:
- クラス BasicTabbedPaneUI 内の paintContentBorderLeftEdge
paintContentBorderRightEdge
protected void paintContentBorderRightEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
- オーバーライド:
- クラス BasicTabbedPaneUI 内の paintContentBorderRightEdge
calculateMaxTabHeight
protected int calculateMaxTabHeight(int tabPlacement)
- オーバーライド:
- クラス BasicTabbedPaneUI 内の calculateMaxTabHeight
getTabRunOverlay
protected int getTabRunOverlay(int tabPlacement)
- オーバーライド:
- クラス BasicTabbedPaneUI 内の getTabRunOverlay
shouldRotateTabRuns
protected boolean shouldRotateTabRuns(int tabPlacement,
int selectedRun)
shouldPadTabRun
protected boolean shouldPadTabRun(int tabPlacement,
int run)
- オーバーライド:
- クラス BasicTabbedPaneUI 内の shouldPadTabRun
バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.