public class SingleRowTabbedPaneUI
extends javax.swing.plaf.basic.BasicTabbedPaneUI
SingleRowTabbedPaneUI
...Modifier and Type | Class and Description |
---|---|
protected class |
SingleRowTabbedPaneUI.EventHandler
Deprecated.
|
protected static class |
SingleRowTabbedPaneUI.ScrollMenuAction
Deprecated.
|
protected static class |
SingleRowTabbedPaneUI.ScrollMenuItemComparator
Deprecated.
|
protected static class |
SingleRowTabbedPaneUI.ScrollMenuShowVisibleAction
Deprecated.
|
protected static class |
SingleRowTabbedPaneUI.ScrollMenuSortAction
Deprecated.
|
protected class |
SingleRowTabbedPaneUI.SingleRowTabbedPaneLayout
Deprecated.
|
javax.swing.plaf.basic.BasicTabbedPaneUI.FocusHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.MouseHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.PropertyChangeHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout, javax.swing.plaf.basic.BasicTabbedPaneUI.TabSelectionHandler
Modifier and Type | Field and Description |
---|---|
protected static javax.swing.Icon |
blankIcon
Deprecated.
|
protected SingleRowTabbedPaneUI.EventHandler |
eventHandler
Deprecated.
|
protected int |
firstVisibleIndex
Deprecated.
|
protected int |
lastVisibleIndex
Deprecated.
|
protected boolean |
lockFirstVisible
Deprecated.
|
protected int |
mouseOverIndex
Deprecated.
|
protected static javax.swing.Icon |
scrollBothIcon
Deprecated.
|
protected static int |
scrollButtonHeight
Deprecated.
|
protected static int |
scrollButtonWidth
Deprecated.
|
protected static javax.swing.Icon |
scrollLeftIcon
Deprecated.
|
protected javax.swing.JPopupMenu |
scrollMenu
Deprecated.
|
protected java.awt.Font |
scrollMenuBoldFont
Deprecated.
|
protected static java.util.Comparator |
scrollMenuItemComparator
Deprecated.
|
protected ToggleAction |
scrollMenuShowVisibleAction
Deprecated.
|
protected ToggleAction |
scrollMenuSortAction
Deprecated.
|
protected static javax.swing.Icon |
scrollRightIcon
Deprecated.
|
protected java.awt.Color |
selectColor
Deprecated.
|
protected java.awt.Color |
tabAreaBackground
Deprecated.
|
calcRect, contentBorderInsets, darkShadow, downKey, focus, focusListener, highlight, leftKey, lightHighlight, maxTabHeight, maxTabWidth, mouseListener, propertyChangeListener, rects, rightKey, runCount, selectedRun, selectedTabPadInsets, shadow, tabAreaInsets, tabChangeListener, tabInsets, tabPane, tabRunOverlay, tabRuns, textIconGap, upKey
Modifier and Type | Method and Description |
---|---|
protected int |
calculateMaxTabHeight(int tabPlacement)
Deprecated.
|
boolean |
contains(javax.swing.JComponent c, int x, int y)
Deprecated.
|
protected javax.swing.event.ChangeListener |
createChangeListener()
Deprecated.
|
protected SingleRowTabbedPaneUI.EventHandler |
createEventHandler()
Deprecated.
|
protected java.awt.event.FocusListener |
createFocusListener()
Deprecated.
|
protected java.awt.LayoutManager |
createLayoutManager()
Deprecated.
|
protected java.beans.PropertyChangeListener |
createPropertyChangeListener()
Deprecated.
|
protected javax.swing.JMenuItem |
createScrollMenuItem(int tabIndex)
Deprecated.
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Deprecated.
|
protected void |
ensureCurrentLayout()
Deprecated.
|
javax.accessibility.Accessible |
getAccessibleChild(javax.swing.JComponent c, int i)
Deprecated.
|
int |
getAccessibleChildrenCount(javax.swing.JComponent c)
Deprecated.
|
protected int |
getHotkeyAt(int tabIndex)
Deprecated.
|
protected javax.swing.Icon |
getIconForMenu(int tabIndex)
Deprecated.
|
protected javax.swing.Icon |
getIconForTab(int tabIndex)
Deprecated.
|
java.awt.Dimension |
getMaximumSize(javax.swing.JComponent c)
Deprecated.
|
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c)
Deprecated.
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
Deprecated.
|
protected java.awt.Font |
getScrollMenuBoldFont(java.awt.Component component)
Deprecated.
|
java.awt.Rectangle |
getTabBounds(javax.swing.JTabbedPane pane, int index)
Deprecated.
|
protected int |
getTabLabelShiftX(int tabPlacement, int tabIndex, boolean isSelected)
Deprecated.
|
protected int |
getTabLabelShiftY(int tabPlacement, int tabIndex, boolean isSelected)
Deprecated.
|
int |
getTabRunCount()
Deprecated.
|
protected void |
installDefaults()
Deprecated.
|
protected void |
installListeners()
Deprecated.
|
void |
installUI(javax.swing.JComponent c)
Deprecated.
|
protected boolean |
isInScrollButton(int x, int y)
Deprecated.
|
protected boolean |
isScrollButtonVisible()
Deprecated.
|
protected boolean |
isScrollMenuShowVisible()
Deprecated.
|
protected boolean |
isScrollMenuSorted()
Deprecated.
|
protected boolean |
isScrollMenuVisible()
Deprecated.
|
protected boolean |
isTabEnabled(int tabIndex)
Deprecated.
|
protected boolean |
isTabVisible(int tabIndex)
Deprecated.
|
protected java.lang.String |
layoutCompoundLabel(int tabPlacement, java.awt.FontMetrics metrics, int tabIndex, java.lang.String title, javax.swing.Icon icon, java.awt.Rectangle tabRect, java.awt.Rectangle iconRect, java.awt.Rectangle textRect, boolean isSelected)
Deprecated.
|
void |
paint(java.awt.Graphics g, javax.swing.JComponent c)
Deprecated.
|
protected void |
paintContentBorderBottomEdge(java.awt.Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
Deprecated.
|
protected void |
paintContentBorderLeftEdge(java.awt.Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
Deprecated.
|
protected void |
paintContentBorderRightEdge(java.awt.Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
Deprecated.
|
protected void |
paintContentBorderTopEdge(java.awt.Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
Deprecated.
|
protected void |
paintIcon(java.awt.Graphics g, int tabPlacement, java.awt.Font font, java.awt.FontMetrics metrics, int tabIndex, javax.swing.Icon icon, java.awt.Rectangle iconRect, boolean isSelected)
Deprecated.
|
protected void |
paintScrollButton(java.awt.Graphics g, int tabPlacement, java.awt.Rectangle rect)
Deprecated.
|
protected void |
paintTab(java.awt.Graphics g, int tabPlacement, java.awt.Rectangle[] rects, int tabIndex, java.awt.Rectangle iconRect, java.awt.Rectangle textRect)
Deprecated.
|
protected void |
paintTabBackground(java.awt.Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
Deprecated.
|
protected void |
paintTabBorder(java.awt.Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
Deprecated.
|
protected void |
repaintTab(int tabIndex)
Deprecated.
|
protected void |
setMouseOver(int tabIndex)
Deprecated.
|
protected void |
setScrollMenuShowVisible(boolean showVisible)
Deprecated.
|
protected void |
setScrollMenuSorted(boolean sorted)
Deprecated.
|
protected void |
setScrollMenuVisible(boolean visible)
Deprecated.
|
void |
showScrollMenu()
Deprecated.
|
int |
tabForCoordinate(javax.swing.JTabbedPane pane, int x, int y)
Deprecated.
|
protected void |
uninstallDefaults()
Deprecated.
|
protected void |
uninstallListeners()
Deprecated.
|
void |
uninstallUI(javax.swing.JComponent c)
Deprecated.
|
void |
update(java.awt.Graphics g, javax.swing.JComponent c)
Deprecated.
|
assureRectsCreated, calculateMaxTabWidth, calculateTabAreaHeight, calculateTabAreaWidth, calculateTabHeight, calculateTabWidth, createMouseListener, createScrollButton, expandTabRunsArray, getBaseline, getBaseline, getBaselineOffset, getBaselineResizeBehavior, getContentBorderInsets, getFocusIndex, getFontMetrics, getNextTabIndex, getNextTabIndexInRun, getNextTabRun, getPreviousTabIndex, getPreviousTabIndexInRun, getPreviousTabRun, getRolloverTab, getRunForTab, getSelectedTabPadInsets, getTabAreaInsets, getTabBounds, getTabInsets, getTabRunCount, getTabRunIndent, getTabRunOffset, getTabRunOverlay, getTextViewForTab, getVisibleComponent, installComponents, installKeyboardActions, lastTabInRun, layoutLabel, navigateSelectedTab, paintContentBorder, paintFocusIndicator, paintIcon, paintTabArea, paintText, rotateInsets, selectAdjacentRunTab, selectNextTab, selectNextTabInRun, selectPreviousTab, selectPreviousTabInRun, setRolloverTab, setVisibleComponent, shouldPadTabRun, shouldRotateTabRuns, uninstallComponents, uninstallKeyboardActions
protected static final java.util.Comparator scrollMenuItemComparator
protected static final javax.swing.Icon blankIcon
protected static final javax.swing.Icon scrollBothIcon
protected static final javax.swing.Icon scrollLeftIcon
protected static final javax.swing.Icon scrollRightIcon
protected static final int scrollButtonWidth
protected static final int scrollButtonHeight
protected java.awt.Color tabAreaBackground
protected java.awt.Color selectColor
protected SingleRowTabbedPaneUI.EventHandler eventHandler
protected javax.swing.JPopupMenu scrollMenu
protected java.awt.Font scrollMenuBoldFont
protected ToggleAction scrollMenuSortAction
protected ToggleAction scrollMenuShowVisibleAction
protected int mouseOverIndex
protected int firstVisibleIndex
protected int lastVisibleIndex
protected boolean lockFirstVisible
public void showScrollMenu()
public int tabForCoordinate(javax.swing.JTabbedPane pane, int x, int y)
tabForCoordinate
in class javax.swing.plaf.basic.BasicTabbedPaneUI
public java.awt.Rectangle getTabBounds(javax.swing.JTabbedPane pane, int index)
getTabBounds
in class javax.swing.plaf.basic.BasicTabbedPaneUI
public int getTabRunCount()
public void installUI(javax.swing.JComponent c)
installUI
in class javax.swing.plaf.basic.BasicTabbedPaneUI
public void uninstallUI(javax.swing.JComponent c)
uninstallUI
in class javax.swing.plaf.basic.BasicTabbedPaneUI
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint
in class javax.swing.plaf.basic.BasicTabbedPaneUI
public void update(java.awt.Graphics g, javax.swing.JComponent c)
update
in class javax.swing.plaf.ComponentUI
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize
in class javax.swing.plaf.ComponentUI
public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize
in class javax.swing.plaf.basic.BasicTabbedPaneUI
public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
getMaximumSize
in class javax.swing.plaf.basic.BasicTabbedPaneUI
public boolean contains(javax.swing.JComponent c, int x, int y)
contains
in class javax.swing.plaf.ComponentUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
public int getAccessibleChildrenCount(javax.swing.JComponent c)
getAccessibleChildrenCount
in class javax.swing.plaf.ComponentUI
public javax.accessibility.Accessible getAccessibleChild(javax.swing.JComponent c, int i)
getAccessibleChild
in class javax.swing.plaf.ComponentUI
protected void installListeners()
installListeners
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected void uninstallListeners()
uninstallListeners
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected void installDefaults()
installDefaults
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected void uninstallDefaults()
uninstallDefaults
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected java.beans.PropertyChangeListener createPropertyChangeListener()
createPropertyChangeListener
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected javax.swing.event.ChangeListener createChangeListener()
createChangeListener
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected java.awt.event.FocusListener createFocusListener()
createFocusListener
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected java.awt.LayoutManager createLayoutManager()
createLayoutManager
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected javax.swing.Icon getIconForTab(int tabIndex)
getIconForTab
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected javax.swing.Icon getIconForMenu(int tabIndex)
protected void paintTab(java.awt.Graphics g, int tabPlacement, java.awt.Rectangle[] rects, int tabIndex, java.awt.Rectangle iconRect, java.awt.Rectangle textRect)
paintTab
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected void paintIcon(java.awt.Graphics g, int tabPlacement, java.awt.Font font, java.awt.FontMetrics metrics, int tabIndex, javax.swing.Icon icon, java.awt.Rectangle iconRect, boolean isSelected)
protected void paintTabBackground(java.awt.Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
paintTabBackground
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected void paintTabBorder(java.awt.Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
paintTabBorder
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected void paintContentBorderTopEdge(java.awt.Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
paintContentBorderTopEdge
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected void paintContentBorderLeftEdge(java.awt.Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
paintContentBorderLeftEdge
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected void paintContentBorderBottomEdge(java.awt.Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
paintContentBorderBottomEdge
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected void paintContentBorderRightEdge(java.awt.Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
paintContentBorderRightEdge
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected java.lang.String layoutCompoundLabel(int tabPlacement, java.awt.FontMetrics metrics, int tabIndex, java.lang.String title, javax.swing.Icon icon, java.awt.Rectangle tabRect, java.awt.Rectangle iconRect, java.awt.Rectangle textRect, boolean isSelected)
protected int getTabLabelShiftX(int tabPlacement, int tabIndex, boolean isSelected)
getTabLabelShiftX
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected int getTabLabelShiftY(int tabPlacement, int tabIndex, boolean isSelected)
getTabLabelShiftY
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected int calculateMaxTabHeight(int tabPlacement)
calculateMaxTabHeight
in class javax.swing.plaf.basic.BasicTabbedPaneUI
protected SingleRowTabbedPaneUI.EventHandler createEventHandler()
protected int getHotkeyAt(int tabIndex)
protected void paintScrollButton(java.awt.Graphics g, int tabPlacement, java.awt.Rectangle rect)
protected void setMouseOver(int tabIndex)
protected void repaintTab(int tabIndex)
protected boolean isTabEnabled(int tabIndex)
protected boolean isTabVisible(int tabIndex)
protected boolean isInScrollButton(int x, int y)
protected boolean isScrollButtonVisible()
protected boolean isScrollMenuSorted()
protected void setScrollMenuSorted(boolean sorted)
protected boolean isScrollMenuShowVisible()
protected void setScrollMenuShowVisible(boolean showVisible)
protected boolean isScrollMenuVisible()
protected void setScrollMenuVisible(boolean visible)
protected javax.swing.JMenuItem createScrollMenuItem(int tabIndex)
protected java.awt.Font getScrollMenuBoldFont(java.awt.Component component)
protected void ensureCurrentLayout()