public class Windows8ViewTabDisplayerUI extends AbstractViewTabDisplayerUI
AbstractViewTabDisplayerUI.Controller
controller, tabState
displayer, selectionModel
Modifier | Constructor and Description |
---|---|
protected |
Windows8ViewTabDisplayerUI(TabDisplayer displayer)
Should be constructed only from createUI method.
|
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 |
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, paintDisplayerBackground, registerShortcuts, requestAttention, setAttentionHighlight, tabForCoordinate, uninstallUI, unregisterShortcuts
autoscroll, getAutoscrollInsets, isTabBusy, makeTabVisible, shouldPerformAction, shouldPerformAction
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, update
protected Windows8ViewTabDisplayerUI(TabDisplayer displayer)
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
protected void paintTabBackground(Graphics g, int index, int x, int y, int width, int height)
public Icon getButtonIcon(int buttonId, int buttonState)
protected AbstractViewTabDisplayerUI.Controller createController()
createController
in class AbstractViewTabDisplayerUI
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class ComponentUI
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 Font getTxtFont()
getTxtFont
in class AbstractViewTabDisplayerUI
public void postTabAction(TabActionEvent e)
postTabAction
in class TabDisplayerUI