public class WinFlatViewTabDisplayerUI extends AbstractViewTabDisplayerUI
org.netbeans.swing.laf.flatlaf.ui.FlatViewTabDisplayerUI
, for use with the
Windows LAF.AbstractViewTabDisplayerUI.Controller
controller, tabState
displayer, selectionModel
Constructor and Description |
---|
WinFlatViewTabDisplayerUI(TabDisplayer displayer) |
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()
Specifies font to use for text and font metrics.
|
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 WinFlatViewTabDisplayerUI(TabDisplayer displayer)
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 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
protected Font getTxtFont()
AbstractViewTabDisplayerUI
getTxtFont
in class AbstractViewTabDisplayerUI
public Icon getButtonIcon(int buttonId, int buttonState)
getButtonIcon
in class TabDisplayerUI
public void postTabAction(TabActionEvent e)
postTabAction
in class TabDisplayerUI