Package com.intellij.ui.tabs.impl
Class JBEditorTabs
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
com.intellij.ui.tabs.impl.JBTabsImpl
com.intellij.ui.tabs.impl.JBEditorTabs
- All Implemented Interfaces:
JBTabs,JBTabsPresentation,ImageObserver,MenuContainer,PropertyChangeListener,Serializable,EventListener,Accessible,PopupMenuListener
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.intellij.ui.tabs.impl.JBTabsImpl
JBTabsImpl.AccessibleJBTabsImpl, JBTabsImpl.ShapeInfo, JBTabsImpl.ToolbarNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategyNested classes/interfaces inherited from interface com.intellij.ui.tabs.JBTabs
JBTabs.SelectionChangeHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JBEditorTabsPainterprotected JBEditorTabsPainterstatic final StringFields inherited from class com.intellij.ui.tabs.impl.JBTabsImpl
DEFAULT_MAX_TAB_WIDTH, MAC_AQUA_BG_COLOR, myDropInfo, myForcedRelayout, myHeaderFitSize, myHorizontalSide, myInfo2Label, myInfo2Toolbar, myShowDropLocation, STRETCHED_BY_WIDTHFields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JBTabsImpl.ShapeInfoprotected SingleRowLayoutprotected voiddoPaintBackground(Graphics2D g2d, Rectangle clip) protected voiddoPaintInactive(Graphics2D g2d, boolean leftGhostExists, TabLabel label, Rectangle effectiveBounds, boolean rightGhostExists, int row, int column) intprotected Colorprotected JBEditorTabsPainterbooleanbooleanbooleanbooleanprotected voidprotected voidpaintLastGhost(Graphics2D g2d) protected voidstatic voidsetAlphabeticalMode(boolean on) booleanbooleanbooleanMethods inherited from class com.intellij.ui.tabs.impl.JBTabsImpl
addImpl, addListener, addNotify, addTab, addTab, addTabMouseListener, addTabSilently, canShowMorePopup, computeSelectedLabelShape, createTabLabel, createToolbarComponent, doLayout, findInfo, findInfo, findInfo, getAccessibleContext, getActiveTabColor, getActiveTabFillIn, getComponent, getComponentGraphics, getComponentImage, getDropInfoIndex, getEffectiveLayout, getFirstTabOffset, getFocusedBottomFillColor, getFocusedTopFillColor, getGhostTabLength, getIndexOf, getInterTabSpaceLength, getJBTabs, getLastLayoutPass, getLayoutInsets, getMinimumSize, getPosition, getPreferredSize, getPresentation, getSelectedInfo, getSelectedLabel, getSelectionTabVShift, getTabAt, getTabCount, getTabLabel, getTabs, getTabsBorder, getTabsPosition, getTargetInfo, getToolbarInset, getVisibleInfos, isDropTarget, isEmptyVisible, isHideTabs, isSelectionClick, isSideComponentOnTabs, isSideComponentVertical, isSingleRow, isSizeBySelected, isStealthModeEffective, isStealthTabMode, isTabDraggingEnabled, layout, layout, layoutComp, layoutComp, paint, paintBorder, paintChildren, paintComponent, popupMenuCanceled, popupMenuWillBecomeInvisible, popupMenuWillBecomeVisible, processMouseEvent, propertyChange, removeAllTabs, removeNotify, removeTab, removeTab, requestFocus, requestFocusInWindow, resetLayout, resetLayout, resetTabsCache, select, setActiveTabFillIn, setAlwaysPaintSelectedTab, setDropInfoIndex, setFirstTabOffset, setFocusCycle, setFocused, setGhostsAlwaysVisible, setHideTabs, setInnerInsets, setPaintBlocked, setPaintBorder, setPaintFocus, setProvideSwitchTargets, setRequestFocusOnLastFocusedComponent, setSelectionChangeHandler, setSideComponentOnTabs, setSideComponentVertical, setSingleRow, setSizeBySelected, setStealthTabMode, setTabDraggingEnabled, setTabLabelActionsAutoHide, setTabSidePaintBorder, setTabsPosition, setToDrawBorderIfTabsHidden, setUI, setUiDecorator, showMorePopup, sortTabs, tabMSize, toString, updateTabActions, updateUIMethods inherited from class javax.swing.JComponent
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUI, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateMethods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeMethods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Field Details
-
TABS_ALPHABETICAL_KEY
- See Also:
-
myDarkPainter
-
myDefaultPainter
-
-
Constructor Details
-
JBEditorTabs
-
-
Method Details
-
createSingleRowLayout
- Overrides:
createSingleRowLayoutin classJBTabsImpl
-
supportsCompression
public boolean supportsCompression()- Overrides:
supportsCompressionin classJBTabsImpl
-
getSelectedBounds
-
isEditorTabs
public boolean isEditorTabs()- Overrides:
isEditorTabsin classJBTabsImpl
-
paintFirstGhost
- Overrides:
paintFirstGhostin classJBTabsImpl
-
paintLastGhost
- Overrides:
paintLastGhostin classJBTabsImpl
-
isGhostsAlwaysVisible
public boolean isGhostsAlwaysVisible()- Overrides:
isGhostsAlwaysVisiblein classJBTabsImpl
-
useSmallLabels
public boolean useSmallLabels()- Overrides:
useSmallLabelsin classJBTabsImpl
-
useBoldLabels
public boolean useBoldLabels()- Overrides:
useBoldLabelsin classJBTabsImpl
-
hasUnderline
public boolean hasUnderline()- Overrides:
hasUnderlinein classJBTabsImpl
-
doPaintInactive
protected void doPaintInactive(Graphics2D g2d, boolean leftGhostExists, TabLabel label, Rectangle effectiveBounds, boolean rightGhostExists, int row, int column) - Overrides:
doPaintInactivein classJBTabsImpl
-
getActiveTabUnderlineHeight
public int getActiveTabUnderlineHeight()- Overrides:
getActiveTabUnderlineHeightin classJBTabsImpl
-
getPainter
-
isAlphabeticalMode
public boolean isAlphabeticalMode()- Overrides:
isAlphabeticalModein classJBTabsImpl
-
setAlphabeticalMode
public static void setAlphabeticalMode(boolean on) -
doPaintBackground
- Overrides:
doPaintBackgroundin classJBTabsImpl
-
getEmptySpaceColor
-
paintSelectionAndBorder
- Overrides:
paintSelectionAndBorderin classJBTabsImpl
-
getBackground
- Overrides:
getBackgroundin classJBTabsImpl
-
getForeground
- Overrides:
getForegroundin classComponent
-
_computeSelectedLabelShape
-