public final class NimbusViewTabDisplayerUI extends AbstractViewTabDisplayerUI
AbstractViewTabDisplayerUI.Controllercontroller, tabStatedisplayer, 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, unregisterShortcutsisTabBusy, makeTabVisible, postTabAction, shouldPerformAction, shouldPerformActioncontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, updatepublic static ComponentUI createUI(JComponent c)
public Dimension getPreferredSize(JComponent c)
getPreferredSize in class ComponentUIpublic void paint(Graphics g, JComponent c)
paint in class AbstractViewTabDisplayerUIprotected void paintOverallBorder(Graphics g, JComponent c)
protected Font getTxtFont()
AbstractViewTabDisplayerUIgetTxtFont in class AbstractViewTabDisplayerUIprotected void paintTabContent(Graphics g, int index, String text, int x, int y, int width, int height)
paintTabContent in class AbstractViewTabDisplayerUIprotected void paintTabBorder(Graphics g, int index, int x, int y, int width, int height)
paintTabBorder in class AbstractViewTabDisplayerUIprotected void paintTabBackground(Graphics g, int index, int x, int y, int width, int height)
paintTabBackground in class AbstractViewTabDisplayerUIprotected void paintDisplayerBackground(Graphics g, JComponent c)
AbstractViewTabDisplayerUIpaintDisplayerBackground in class AbstractViewTabDisplayerUIpublic Icon getButtonIcon(int buttonId, int buttonState)
getButtonIcon in class TabDisplayerUIBuilt on June 18 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.