public final class WinClassicEditorTabDisplayerUI extends BasicScrollingTabDisplayerUI
BasicScrollingTabDisplayerUI.ScrollingDisplayerComponentListener, BasicScrollingTabDisplayerUI.ScrollingHierarchyListener, BasicScrollingTabDisplayerUI.ScrollingTabState
BasicTabDisplayerUI.BasicDisplayerMouseListener, BasicTabDisplayerUI.BasicModelListener, BasicTabDisplayerUI.BasicSelectionListener, BasicTabDisplayerUI.BasicTabState
AbstractTabDisplayerUI.DisplayerHierarchyListener, AbstractTabDisplayerUI.DisplayerPropertyChangeListener, AbstractTabDisplayerUI.ModelListener
defaultRenderer, repaintPolicy, tabState
componentListener, hierarchyListener, layoutModel, modelListener, mouseListener, propertyChangeListener, selectionListener
displayer, selectionModel
Constructor and Description |
---|
WinClassicEditorTabDisplayerUI(TabDisplayer displayer)
Creates a new instance of WinClassicEditorTabDisplayerUI
|
Modifier and Type | Method and Description |
---|---|
protected TabCellRenderer |
createDefaultRenderer()
Create the default cell renderer for this control.
|
static ComponentUI |
createUI(JComponent c) |
Icon |
getButtonIcon(int buttonId,
int buttonState) |
protected Rectangle |
getControlButtonsRectangle(Container parent) |
Dimension |
getPreferredSize(JComponent c) |
Insets |
getTabAreaInsets()
Return a set of insets defining the margins into which tabs should not be
painted.
|
Rectangle |
getTabRect(int idx,
Rectangle rect)
Configure the passed rectangle with the shape of the tab at the given
index.
|
void |
install()
Overridden to initialize the
tabState and defaultRenderer . |
protected void |
paintAfterTabs(Graphics g)
Override this method to provide painting of areas outside the tabs
rectangle, such as margins and controls
|
autoscroll, createComponentListener, createHierarchyListener, createLayout, createLayoutModel, createTabState, getAutoscrollInsets, getControlButtons, getFirstVisibleTab, getLastVisibleTab, getMinimumSize, getOffscreenGraphics, getOffscreenGraphics, getTabsAreaWidth, installControlButtons, makeTabVisible, modelChanged, processMouseWheelEvent, scroll, uninstall
cancelRequestAttention, createImageOfTab, createModelListener, createMouseListener, createPropertyChangeListener, createRepaintPolicy, createSelectionListener, dropIndexOfPoint, getExactTabIndication, getInsertTabIndication, getLastKnownMouseLocation, getTabCellRenderer, getTabRectForRepaint, getTabsVisibleArea, isAntialiased, paint, paintBackground, requestAttention, setAttentionHighlight, tabForCoordinate
createFont, createSelectionModel, installListeners, installUI, registerShortcuts, toDropPoint, uninstallListeners, uninstallUI, unregisterShortcuts
getTxtFont, isTabBusy, postTabAction, shouldPerformAction, shouldPerformAction
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, update
public WinClassicEditorTabDisplayerUI(TabDisplayer displayer)
public static ComponentUI createUI(JComponent c)
public Rectangle getTabRect(int idx, Rectangle rect)
TabDisplayerUI
getTabRect
in class BasicTabDisplayerUI
public void install()
BasicTabDisplayerUI
tabState
and defaultRenderer
.install
in class BasicScrollingTabDisplayerUI
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class ComponentUI
protected void paintAfterTabs(Graphics g)
BasicTabDisplayerUI
paintAfterTabs
in class BasicTabDisplayerUI
protected TabCellRenderer createDefaultRenderer()
BasicTabDisplayerUI
createDefaultRenderer
in class BasicTabDisplayerUI
public Icon getButtonIcon(int buttonId, int buttonState)
getButtonIcon
in class TabDisplayerUI
protected Rectangle getControlButtonsRectangle(Container parent)
getControlButtonsRectangle
in class BasicScrollingTabDisplayerUI
public Insets getTabAreaInsets()
BasicTabDisplayerUI
getTabAreaInsets
in class BasicScrollingTabDisplayerUI