java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TabbedPaneUI
javax.swing.plaf.basic.BasicTabbedPaneUI
- All Implemented Interfaces:
- SwingConstants
- Direct Known Subclasses:
- MetalTabbedPaneUI
- See Also:
- Top Examples, Source Code
protected void assureRectsCreated(int tabCount)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public BasicTabbedPaneUI()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected transient Rectangle calcRect
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int calculateMaxTabHeight(int tabPlacement)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int calculateMaxTabWidth(int tabPlacement)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int calculateTabAreaHeight(int tabPlacement,
int horizRunCount,
int maxTabHeight)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int calculateTabAreaWidth(int tabPlacement,
int vertRunCount,
int maxTabWidth)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int calculateTabHeight(int tabPlacement,
int tabIndex,
int fontHeight)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int calculateTabWidth(int tabPlacement,
int tabIndex,
FontMetrics metrics)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Insets contentBorderInsets
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected ChangeListener createChangeListener()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected FocusListener createFocusListener()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected LayoutManager createLayoutManager()
- See Also:
JTabbedPane.getTabLayoutPolicy()
, BasicTabbedPaneUI.TabbedPaneLayout
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected MouseListener createMouseListener()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected PropertyChangeListener createPropertyChangeListener()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected JButton createScrollButton(int direction)
- See Also:
SwingConstants
, JTabbedPane.setTabPlacement(int)
, IllegalArgumentException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static ComponentUI createUI(JComponent c)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Color darkShadow
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
protected KeyStroke downKey
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void expandTabRunsArray()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Color focus
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected FocusListener focusListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Insets getContentBorderInsets(int tabPlacement)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getFocusIndex()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected FontMetrics getFontMetrics()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Icon getIconForTab(int tabIndex)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getMaximumSize(JComponent c)
- See Also:
LayoutManager2.maximumLayoutSize(java.awt.Container)
, JComponent.getMaximumSize()
, ComponentUI
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getMinimumSize(JComponent c)
- See Also:
ComponentUI.getPreferredSize(javax.swing.JComponent)
, LayoutManager.minimumLayoutSize(java.awt.Container)
, JComponent.getMinimumSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getNextTabIndex(int base)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getNextTabIndexInRun(int tabCount,
int base)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getNextTabRun(int baseRun)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getPreviousTabIndex(int base)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getPreviousTabIndexInRun(int tabCount,
int base)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getPreviousTabRun(int baseRun)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getRolloverTab()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getRunForTab(int tabCount,
int tabIndex)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Insets getSelectedTabPadInsets(int tabPlacement)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Insets getTabAreaInsets(int tabPlacement)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Rectangle getTabBounds(int tabIndex,
Rectangle dest)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle getTabBounds(JTabbedPane pane,
int i)
- See Also:
- TabbedPaneUI
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Insets getTabInsets(int tabPlacement,
int tabIndex)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getTabLabelShiftX(int tabPlacement,
int tabIndex,
boolean isSelected)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getTabLabelShiftY(int tabPlacement,
int tabIndex,
boolean isSelected)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getTabRunCount(JTabbedPane pane)
- See Also:
- TabbedPaneUI
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getTabRunIndent(int tabPlacement,
int run)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getTabRunOffset(int tabPlacement,
int tabCount,
int tabIndex,
boolean forward)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int getTabRunOverlay(int tabPlacement)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected View getTextViewForTab(int tabIndex)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Component getVisibleComponent()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Color highlight
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void installComponents()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void installDefaults()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void installKeyboardActions()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void installListeners()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void installUI(JComponent c)
- See Also:
JComponent.updateUI()
, JComponent.setUI(javax.swing.plaf.ComponentUI)
, ComponentUI
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int lastTabInRun(int tabCount,
int run)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void layoutLabel(int tabPlacement,
FontMetrics metrics,
int tabIndex,
String title,
Icon icon,
Rectangle tabRect,
Rectangle iconRect,
Rectangle textRect,
boolean isSelected)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
protected KeyStroke leftKey
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Color lightHighlight
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int maxTabHeight
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int maxTabWidth
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected MouseListener mouseListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void navigateSelectedTab(int direction)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void paint(Graphics g,
JComponent c)
- See Also:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintContentBorder(Graphics g,
int tabPlacement,
int selectedIndex)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintContentBorderBottomEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintContentBorderLeftEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintContentBorderRightEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintContentBorderTopEdge(Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintFocusIndicator(Graphics g,
int tabPlacement,
Rectangle[] rects,
int tabIndex,
Rectangle iconRect,
Rectangle textRect,
boolean isSelected)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintIcon(Graphics g,
int tabPlacement,
int tabIndex,
Icon icon,
Rectangle iconRect,
boolean isSelected)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintTab(Graphics g,
int tabPlacement,
Rectangle[] rects,
int tabIndex,
Rectangle iconRect,
Rectangle textRect)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintTabArea(Graphics g,
int tabPlacement,
int selectedIndex)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintTabBackground(Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintTabBorder(Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void paintText(Graphics g,
int tabPlacement,
Font font,
FontMetrics metrics,
int tabIndex,
String title,
Rectangle textRect,
boolean isSelected)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected PropertyChangeListener propertyChangeListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Rectangle[] rects
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
protected KeyStroke rightKey
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected static void rotateInsets(Insets topInsets,
Insets targetInsets,
int targetPlacement)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int runCount
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void selectAdjacentRunTab(int tabPlacement,
int tabIndex,
int offset)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int selectedRun
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Insets selectedTabPadInsets
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void selectNextTab(int current)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void selectNextTabInRun(int current)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void selectPreviousTab(int current)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void selectPreviousTabInRun(int current)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void setRolloverTab(int index)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void setVisibleComponent(Component component)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Color shadow
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected boolean shouldPadTabRun(int tabPlacement,
int run)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected boolean shouldRotateTabRuns(int tabPlacement)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Insets tabAreaInsets
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected ChangeListener tabChangeListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int tabForCoordinate(JTabbedPane pane,
int x,
int y)
- See Also:
- TabbedPaneUI
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Insets tabInsets
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected JTabbedPane tabPane
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int tabRunOverlay
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int[] tabRuns
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected int textIconGap
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void uninstallComponents()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void uninstallDefaults()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void uninstallKeyboardActions()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void uninstallListeners()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void uninstallUI(JComponent c)
- See Also:
JComponent.updateUI()
, ComponentUI.installUI(javax.swing.JComponent)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
protected KeyStroke upKey
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples