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 « BasicScrollBarUI »

Informations générales

Héritage

java.lang.Object
    javax.swing.plaf.ComponentUI
        javax.swing.plaf.ScrollBarUI
            javax.swing.plaf.basic.BasicScrollBarUI

Interfaces implémentées

java.awt.LayoutManager
javax.swing.SwingConstants

Définition

public class BasicScrollBarUI extends javax.swing.plaf.ScrollBarUI
implements java.awt.LayoutManager,
javax.swing.SwingConstants

Description

A venir.

Liste des attributs

Tous les attributs Attributs d'instance Attributs statiques Attributs dépréciés
QualificateursTypeNomDescription
protected static int DECREASE_HIGHLIGHT
protected static int INCREASE_HIGHLIGHT
protected static int NO_HIGHLIGHT
protected ArrowButtonListener buttonListener
protected JButton decrButton
protected int decrGap
protected JButton incrButton
protected int incrGap
protected boolean isDragging
protected Dimension maximumThumbSize
protected Dimension minimumThumbSize
protected ModelListener modelListener
protected PropertyChangeListener propertyChangeListener
protected int scrollBarWidth
protected ScrollListener scrollListener
protected Timer scrollTimer
protected JScrollBar scrollbar
protected Color thumbColor
protected Color thumbDarkShadowColor
protected Color thumbHighlightColor
protected Color thumbLightShadowColor
protected Rectangle thumbRect
protected Color trackColor
protected int trackHighlight
protected Color trackHighlightColor
protected TrackListener trackListener
protected Rectangle trackRect

Liste des constructeurs

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

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

Propriétés Propriétés dépréciées
QualificateursTypeNomR/W
protected Dimension maximumThumbSize R/-
protected Dimension minimumThumbSize R/-
public boolean supportsAbsolutePositioning R/-
protected Rectangle thumbBounds R/-
protected boolean thumbRollover R/W
protected Rectangle trackBounds R/-

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
public void addLayoutComponent( String name, Component child )
protected void configureScrollBarColors()
protected ArrowButtonListener createArrowButtonListener()
protected JButton createDecreaseButton( int orientation )
protected JButton createIncreaseButton( int orientation )
protected ModelListener createModelListener()
protected PropertyChangeListener createPropertyChangeListener()
protected ScrollListener createScrollListener()
protected TrackListener createTrackListener()
public static ComponentUI createUI( JComponent c )
public Dimension getMaximumSize( JComponent c )
protected Dimension getMaximumThumbSize()
protected Dimension getMinimumThumbSize()
public Dimension getPreferredSize( JComponent c )
public boolean getSupportsAbsolutePositioning()
protected Rectangle getThumbBounds()
protected Rectangle getTrackBounds()
protected void installComponents()
protected void installDefaults()
protected void installKeyboardActions()
protected void installListeners()
public void installUI( JComponent c )
public boolean isThumbRollover()
public void layoutContainer( Container scrollbarContainer )
protected void layoutHScrollbar( JScrollBar sb )
protected void layoutVScrollbar( JScrollBar sb )
public Dimension minimumLayoutSize( Container scrollbarContainer )
public void paint( Graphics g, JComponent c )
protected void paintDecreaseHighlight( Graphics g )
protected void paintIncreaseHighlight( Graphics g )
protected void paintThumb( Graphics g, JComponent c, Rectangle thumbBounds )
protected void paintTrack( Graphics g, JComponent c, Rectangle trackBounds )
public Dimension preferredLayoutSize( Container scrollbarContainer )
public void removeLayoutComponent( Component child )
protected void scrollByBlock( int direction )
protected void scrollByUnit( int direction )
protected void setThumbBounds( int x, int y, int width, int height )
protected void setThumbRollover( boolean active )
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.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