public final class NimbusViewTabDisplayerUI extends AbstractViewTabDisplayerUI
AbstractViewTabDisplayerUI.Controller
controller, tabState
displayer, selectionModel
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent c) |
Icon |
getButtonIcon(int buttonId,
int buttonState) |
Dimension |
getPreferredSize(JComponent c) |
protected Font |
getTxtFont()
Specifies font to use for text and font metrics.
|
void |
paint(Graphics g,
JComponent c)
adds painting of overall border
|
protected void |
paintDisplayerBackground(Graphics g,
JComponent c)
Paint the background when using non-stretching tabs.
|
protected void |
paintOverallBorder(Graphics g,
JComponent c)
Paints lower border, bottom line, separating tabs from content
|
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) |
cancelRequestAttention, createController, createImageOfTab, createLayoutModel, createRepaintPolicy, createSelectionModel, dropIndexOfPoint, getControlButtons, getController, getDataModel, getDisplayer, getExactTabIndication, getInsertTabIndication, getLayoutModel, getMinimumSize, getSelectionModel, getTabRect, getTxtFontMetrics, installControlButtons, installUI, isActive, isAttention, isFocused, isHighlight, isSelected, registerShortcuts, requestAttention, setAttentionHighlight, tabForCoordinate, uninstallUI, unregisterShortcuts
autoscroll, getAutoscrollInsets, isTabBusy, makeTabVisible, postTabAction, shouldPerformAction, shouldPerformAction
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, update
public static ComponentUI createUI(JComponent c)
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class ComponentUI
public void paint(Graphics g, JComponent c)
paint
in class AbstractViewTabDisplayerUI
protected void paintOverallBorder(Graphics g, JComponent c)
protected Font getTxtFont()
AbstractViewTabDisplayerUI
getTxtFont
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 void paintDisplayerBackground(Graphics g, JComponent c)
AbstractViewTabDisplayerUI
paintDisplayerBackground
in class AbstractViewTabDisplayerUI
public Icon getButtonIcon(int buttonId, int buttonState)
getButtonIcon
in class TabDisplayerUI