public class AquaEditorTabDisplayerUI 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 |
---|
AquaEditorTabDisplayerUI(TabDisplayer displayer) |
Modifier and Type | Method and Description |
---|---|
protected TabCellRenderer |
createDefaultRenderer()
Create the default cell renderer for this control.
|
protected Font |
createFont() |
protected int |
createRepaintPolicy()
Create the policy that will determine what types of events trigger a repaint of one or more tabs.
|
static ComponentUI |
createUI(JComponent c) |
Icon |
getButtonIcon(int buttonId,
int buttonState) |
Dimension |
getPreferredSize(JComponent c) |
protected Font |
getTxtFont() |
protected boolean |
isAntialiased() |
protected void |
paintAfterTabs(Graphics g)
Override this method to provide painting of areas outside the tabs
rectangle, such as margins and controls
|
protected void |
paintBackground(Graphics g)
Fill in the background of the component prior to painting the tabs.
|
autoscroll, createComponentListener, createHierarchyListener, createLayout, createLayoutModel, createTabState, getAutoscrollInsets, getControlButtons, getControlButtonsRectangle, getFirstVisibleTab, getLastVisibleTab, getMinimumSize, getOffscreenGraphics, getOffscreenGraphics, getTabAreaInsets, getTabsAreaWidth, install, installControlButtons, makeTabVisible, modelChanged, processMouseWheelEvent, scroll, uninstall
cancelRequestAttention, createImageOfTab, createModelListener, createMouseListener, createPropertyChangeListener, createSelectionListener, dropIndexOfPoint, getExactTabIndication, getInsertTabIndication, getLastKnownMouseLocation, getTabCellRenderer, getTabRect, getTabRectForRepaint, getTabsVisibleArea, paint, requestAttention, setAttentionHighlight, tabForCoordinate
createSelectionModel, installListeners, installUI, registerShortcuts, toDropPoint, uninstallListeners, uninstallUI, unregisterShortcuts
isTabBusy, postTabAction, shouldPerformAction, shouldPerformAction
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, update
public AquaEditorTabDisplayerUI(TabDisplayer displayer)
protected TabCellRenderer createDefaultRenderer()
BasicTabDisplayerUI
createDefaultRenderer
in class BasicTabDisplayerUI
public static ComponentUI createUI(JComponent c)
protected boolean isAntialiased()
isAntialiased
in class BasicTabDisplayerUI
protected Font createFont()
createFont
in class AbstractTabDisplayerUI
protected Font getTxtFont()
getTxtFont
in class TabDisplayerUI
protected int createRepaintPolicy()
BasicTabDisplayerUI
TabState.REPAINT_SELECTION_ON_ACTIVATION_CHANGE | TabState.REPAINT_ON_SELECTION_CHANGE | TabState.REPAINT_ON_MOUSE_ENTER_TAB | TabState.REPAINT_ON_MOUSE_ENTER_CLOSE_BUTTON | TabState.REPAINT_ON_MOUSE_PRESSED;
createRepaintPolicy
in class BasicTabDisplayerUI
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class ComponentUI
protected void paintBackground(Graphics g)
BasicTabDisplayerUI
paintBackground
in class BasicTabDisplayerUI
protected void paintAfterTabs(Graphics g)
BasicTabDisplayerUI
paintAfterTabs
in class BasicTabDisplayerUI
public Icon getButtonIcon(int buttonId, int buttonState)
getButtonIcon
in class TabDisplayerUI