Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module : java.desktop - Package : javax.swing.plaf.basic
Version documentée : Java SE 17

Classe « BasicTabbedPaneUI »

Informations générales

Héritage

java.lang.Object
    javax.swing.plaf.ComponentUI
        javax.swing.plaf.TabbedPaneUI
            javax.swing.plaf.basic.BasicTabbedPaneUI

Définition

public class BasicTabbedPaneUI extends javax.swing.plaf.TabbedPaneUI
implements javax.swing.SwingConstants

Description

A venir.

Liste des attributs

Tous les attributs Attributs d'instance Attributs statiques Attributs dépréciés
QualificateursTypeNomDescription
protected Rectangle calcRect
protected Insets contentBorderInsets
protected Color darkShadow
protected KeyStroke downKey
protected Color focus
protected FocusListener focusListener
protected Color highlight
protected KeyStroke leftKey
protected Color lightHighlight
protected int maxTabHeight
protected int maxTabWidth
protected MouseListener mouseListener
protected PropertyChangeListener propertyChangeListener
protected Rectangle[] rects
protected KeyStroke rightKey
protected int runCount
protected int selectedRun
protected Insets selectedTabPadInsets
protected Color shadow
protected Insets tabAreaInsets
protected ChangeListener tabChangeListener
protected Insets tabInsets
protected JTabbedPane tabPane
protected int tabRunOverlay
protected int[] tabRuns
protected int textIconGap
protected KeyStroke upKey

Liste des constructeurs

Constructeurs Constructeurs dépréciés
ConstructeurDescription
BasicTabbedPaneUI()

Liste des propriétés (getters/setters)

Propriétés Propriétés dépréciées
QualificateursTypeNomR/W
protected int baselineOffset R/-
protected int focusIndex R/-
protected FontMetrics fontMetrics R/-
protected int rolloverTab R/W
protected Component visibleComponent R/W

Propriétés héritées de la classe java.lang.Object

class

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes concrètes Méthodes abstraites Méthodes dépréciées
QualificateursType de retourPrototype de la méthodeDescription
protected void assureRectsCreated( int tabCount )
protected int calculateMaxTabHeight( int tabPlacement )
protected int calculateMaxTabWidth( int tabPlacement )
protected int calculateTabAreaHeight( int tabPlacement, int horizRunCount, int maxTabHeight )
protected int calculateTabAreaWidth( int tabPlacement, int vertRunCount, int maxTabWidth )
protected int calculateTabHeight( int tabPlacement, int tabIndex, int fontHeight )
protected int calculateTabWidth( int tabPlacement, int tabIndex, FontMetrics metrics )
protected ChangeListener createChangeListener()
protected FocusListener createFocusListener()
protected LayoutManager createLayoutManager()
protected MouseListener createMouseListener()
protected PropertyChangeListener createPropertyChangeListener()
protected JButton createScrollButton( int direction )
public static ComponentUI createUI( JComponent c )
protected void expandTabRunsArray()
protected int getBaseline( int tab )
public int getBaseline( JComponent c, int width, int height )
protected int getBaselineOffset()
public BaselineResizeBehavior getBaselineResizeBehavior( JComponent c )
protected Insets getContentBorderInsets( int tabPlacement )
protected int getFocusIndex()
protected FontMetrics getFontMetrics()
protected Icon getIconForTab( int tabIndex )
public Dimension getMaximumSize( JComponent c )
public Dimension getMinimumSize( JComponent c )
protected int getNextTabIndex( int base )
protected int getNextTabIndexInRun( int tabCount, int base )
protected int getNextTabRun( int baseRun )
protected int getPreviousTabIndex( int base )
protected int getPreviousTabIndexInRun( int tabCount, int base )
protected int getPreviousTabRun( int baseRun )
protected int getRolloverTab()
protected int getRunForTab( int tabCount, int tabIndex )
protected Insets getSelectedTabPadInsets( int tabPlacement )
protected Insets getTabAreaInsets( int tabPlacement )
protected Rectangle getTabBounds( int tabIndex, Rectangle dest )
public Rectangle getTabBounds( JTabbedPane pane, int i )
protected Insets getTabInsets( int tabPlacement, int tabIndex )
protected int getTabLabelShiftX( int tabPlacement, int tabIndex, boolean isSelected )
protected int getTabLabelShiftY( int tabPlacement, int tabIndex, boolean isSelected )
public int getTabRunCount( JTabbedPane pane )
protected int getTabRunIndent( int tabPlacement, int run )
protected int getTabRunOffset( int tabPlacement, int tabCount, int tabIndex, boolean forward )
protected int getTabRunOverlay( int tabPlacement )
protected View getTextViewForTab( int tabIndex )
protected Component getVisibleComponent()
protected void installComponents()
protected void installDefaults()
protected void installKeyboardActions()
protected void installListeners()
public void installUI( JComponent c )
protected int lastTabInRun( int tabCount, int run )
protected void layoutLabel( int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected )
protected void navigateSelectedTab( int direction )
public void paint( Graphics g, JComponent c )
protected void paintContentBorder( Graphics g, int tabPlacement, int selectedIndex )
protected void paintContentBorderBottomEdge( Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h )
protected void paintContentBorderLeftEdge( Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h )
protected void paintContentBorderRightEdge( Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h )
protected void paintContentBorderTopEdge( Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h )
protected void paintFocusIndicator( Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected )
protected void paintIcon( Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected )
protected void paintTab( Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect )
protected void paintTabArea( Graphics g, int tabPlacement, int selectedIndex )
protected void paintTabBackground( Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected )
protected void paintTabBorder( Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected )
protected void paintText( Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected )
protected static void rotateInsets( Insets topInsets, Insets targetInsets, int targetPlacement )
protected void selectAdjacentRunTab( int tabPlacement, int tabIndex, int offset )
protected void selectNextTab( int current )
protected void selectNextTabInRun( int current )
protected void selectPreviousTab( int current )
protected void selectPreviousTabInRun( int current )
protected void setRolloverTab( int index )
protected void setVisibleComponent( Component component )
protected boolean shouldPadTabRun( int tabPlacement, int run )
protected boolean shouldRotateTabRuns( int tabPlacement )
public int tabForCoordinate( JTabbedPane pane, int x, int y )
protected void uninstallComponents()
protected void uninstallDefaults()
protected void uninstallKeyboardActions()
protected void uninstallListeners()
public void uninstallUI( JComponent c )

Méthodes héritées de la classe javax.swing.plaf.TabbedPaneUI

getTabBounds, getTabRunCount, tabForCoordinate

Méthodes héritées de la classe javax.swing.plaf.ComponentUI

contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update

Méthodes héritées de la classe java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait