public class UITabbedPaneUI
extends javax.swing.plaf.basic.BasicTabbedPaneUI
限定符和类型 | 类和说明 |
---|---|
class |
UITabbedPaneUI.UIMouseHandler |
protected class |
UITabbedPaneUI.UITabbedPaneLayout |
javax.swing.plaf.basic.BasicTabbedPaneUI.FocusHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.MouseHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.PropertyChangeHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout, javax.swing.plaf.basic.BasicTabbedPaneUI.TabSelectionHandler
calcRect, 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
构造器和说明 |
---|
UITabbedPaneUI() |
限定符和类型 | 方法和说明 |
---|---|
protected java.awt.LayoutManager |
createLayoutManager() |
protected java.awt.event.MouseListener |
createMouseListener() |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
创建UI对象
|
protected void |
installListeners()
初始化监听事件
|
protected void |
paintContentBorder(java.awt.Graphics g,
int tabPlacement,
int selectedIndex) |
protected void |
paintTabBorder(java.awt.Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
绘制tab的边框
|
void |
update(java.awt.Graphics g,
javax.swing.JComponent c)
更新界面
|
assureRectsCreated, calculateMaxTabHeight, calculateMaxTabWidth, calculateTabAreaHeight, calculateTabAreaWidth, calculateTabHeight, calculateTabWidth, createChangeListener, createFocusListener, createPropertyChangeListener, createScrollButton, expandTabRunsArray, getBaseline, getBaseline, getBaselineOffset, getBaselineResizeBehavior, getContentBorderInsets, getFocusIndex, getFontMetrics, getIconForTab, getMaximumSize, getMinimumSize, getNextTabIndex, getNextTabIndexInRun, getNextTabRun, getPreviousTabIndex, getPreviousTabIndexInRun, getPreviousTabRun, getRolloverTab, getRunForTab, getSelectedTabPadInsets, getTabAreaInsets, getTabBounds, getTabBounds, getTabInsets, getTabLabelShiftX, getTabLabelShiftY, getTabRunCount, getTabRunIndent, getTabRunOffset, getTabRunOverlay, getTextViewForTab, getVisibleComponent, installComponents, installDefaults, installKeyboardActions, installUI, lastTabInRun, layoutLabel, navigateSelectedTab, paint, paintContentBorderBottomEdge, paintContentBorderLeftEdge, paintContentBorderRightEdge, paintContentBorderTopEdge, paintFocusIndicator, paintIcon, paintTab, paintTabArea, paintTabBackground, paintText, rotateInsets, selectAdjacentRunTab, selectNextTab, selectNextTabInRun, selectPreviousTab, selectPreviousTabInRun, setRolloverTab, setVisibleComponent, shouldPadTabRun, shouldRotateTabRuns, tabForCoordinate, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c
- 容器protected void installListeners()
installListeners
在类中 javax.swing.plaf.basic.BasicTabbedPaneUI
protected java.awt.event.MouseListener createMouseListener()
createMouseListener
在类中 javax.swing.plaf.basic.BasicTabbedPaneUI
protected void paintTabBorder(java.awt.Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
paintTabBorder
在类中 javax.swing.plaf.basic.BasicTabbedPaneUI
public void update(java.awt.Graphics g, javax.swing.JComponent c)
update
在类中 javax.swing.plaf.ComponentUI
g
- c
- protected void paintContentBorder(java.awt.Graphics g, int tabPlacement, int selectedIndex)
paintContentBorder
在类中 javax.swing.plaf.basic.BasicTabbedPaneUI
protected java.awt.LayoutManager createLayoutManager()
createLayoutManager
在类中 javax.swing.plaf.basic.BasicTabbedPaneUI