public final class WinXPViewTabDisplayerUI extends AbstractViewTabDisplayerUI
AbstractViewTabDisplayerUI.Controller
controller, tabState
displayer, selectionModel
Modifier and Type | Method and Description |
---|---|
protected AbstractViewTabDisplayerUI.Controller |
createController() |
static ComponentUI |
createUI(JComponent c) |
Icon |
getButtonIcon(int buttonId,
int buttonState) |
Dimension |
getPreferredSize(JComponent c) |
protected Font |
getTxtFont()
Override to bold font
|
void |
installUI(JComponent c) |
protected void |
paintDisplayerBackground(Graphics g,
JComponent c)
Paint the background when using non-stretching tabs.
|
protected void |
paintTabBackground(Graphics g,
int index,
int x,
int y,
int width,
int height) |
protected void |
paintTabBorder(Graphics g,
int index,
int x,
int y,
int width,
int height) |
protected void |
paintTabContent(Graphics g,
int index,
String text,
int x,
int y,
int width,
int height) |
void |
postTabAction(TabActionEvent e) |
cancelRequestAttention, createImageOfTab, createLayoutModel, createRepaintPolicy, createSelectionModel, dropIndexOfPoint, getControlButtons, getController, getDataModel, getDisplayer, getExactTabIndication, getInsertTabIndication, getLayoutModel, getMinimumSize, getSelectionModel, getTabRect, getTxtFontMetrics, installControlButtons, isActive, isAttention, isFocused, isHighlight, isSelected, paint, registerShortcuts, requestAttention, setAttentionHighlight, tabForCoordinate, uninstallUI, unregisterShortcuts
autoscroll, getAutoscrollInsets, isTabBusy, makeTabVisible, shouldPerformAction, shouldPerformAction
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, update
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI
in class AbstractViewTabDisplayerUI
protected AbstractViewTabDisplayerUI.Controller createController()
createController
in class AbstractViewTabDisplayerUI
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class ComponentUI
protected void paintDisplayerBackground(Graphics g, JComponent c)
AbstractViewTabDisplayerUI
paintDisplayerBackground
in class AbstractViewTabDisplayerUI
protected void paintTabContent(Graphics g, int index, String text, int x, int y, int width, int height)
paintTabContent
in class AbstractViewTabDisplayerUI
protected void paintTabBorder(Graphics g, int index, int x, int y, int width, int height)
paintTabBorder
in class AbstractViewTabDisplayerUI
protected void paintTabBackground(Graphics g, int index, int x, int y, int width, int height)
paintTabBackground
in class AbstractViewTabDisplayerUI
protected Font getTxtFont()
getTxtFont
in class AbstractViewTabDisplayerUI
public Icon getButtonIcon(int buttonId, int buttonState)
getButtonIcon
in class TabDisplayerUI
public void postTabAction(TabActionEvent e)
postTabAction
in class TabDisplayerUI