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.metal
Version documentée : Java SE 17

Classe « MetalSliderUI »

Informations générales

Héritage

java.lang.Object
    javax.swing.plaf.ComponentUI
        javax.swing.plaf.SliderUI
            javax.swing.plaf.basic.BasicSliderUI
                javax.swing.plaf.metal.MetalSliderUI

Définition

public class MetalSliderUI extends javax.swing.plaf.basic.BasicSliderUI

Description

A venir.

Liste des attributs

Tous les attributs Attributs d'instance Attributs statiques Attributs dépréciés
QualificateursTypeNomDescription
protected String SLIDER_FILL
protected int TICK_BUFFER
protected static Color darkShadowColor
protected boolean filledSlider
protected static Color highlightColor
protected static Icon horizThumbIcon
protected static Color thumbColor
protected static int tickLength
protected static int trackWidth
protected static Icon vertThumbIcon

Liste des constructeurs

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

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

Propriétés Propriétés dépréciées
QualificateursTypeNomR/W
protected int thumbOverhang R/-
protected Dimension thumbSize R/-
public int tickLength R/-
protected int trackLength R/-
protected int trackWidth R/-

Propriétés héritées de la classe javax.swing.plaf.basic.BasicSliderUI

dragging, focusColor, heightOfHighValueLabel, heightOfLowValueLabel, heightOfTallestLabel, highestValue, highestValueLabel, highlightColor, lowestValue, lowestValueLabel, minimumHorizontalSize, minimumVerticalSize, preferredHorizontalSize, preferredVerticalSize, shadowColor, thumbSize, tickLength, widthOfHighValueLabel, widthOfLowValueLabel, widthOfWidestLabel

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 PropertyChangeListener createPropertyChangeListener( JSlider slider )
public static ComponentUI createUI( JComponent c )
protected int getThumbOverhang()
protected Dimension getThumbSize()
public int getTickLength()
protected int getTrackLength()
protected int getTrackWidth()
public void installUI( JComponent c )
public void paintFocus( Graphics g )
protected void paintMajorTickForHorizSlider( Graphics g, Rectangle tickBounds, int x )
protected void paintMajorTickForVertSlider( Graphics g, Rectangle tickBounds, int y )
protected void paintMinorTickForHorizSlider( Graphics g, Rectangle tickBounds, int x )
protected void paintMinorTickForVertSlider( Graphics g, Rectangle tickBounds, int y )
public void paintThumb( Graphics g )
public void paintTrack( Graphics g )
protected void scrollDueToClickInTrack( int dir )

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

calculateContentRect, calculateFocusRect, calculateGeometry, calculateLabelRect, calculateThumbLocation, calculateThumbSize, calculateTickRect, calculateTrackBuffer, calculateTrackRect, createChangeListener, createComponentListener, createFocusListener, createPropertyChangeListener, createScrollListener, createTrackListener, createUI, drawInverted, getBaseline, getBaselineResizeBehavior, getFocusColor, getHeightOfHighValueLabel, getHeightOfLowValueLabel, getHeightOfTallestLabel, getHighestValue, getHighestValueLabel, getHighlightColor, getLowestValue, getLowestValueLabel, getMaximumSize, getMinimumHorizontalSize, getMinimumSize, getMinimumVerticalSize, getPreferredHorizontalSize, getPreferredSize, getPreferredVerticalSize, getShadowColor, getThumbSize, getTickLength, getWidthOfHighValueLabel, getWidthOfLowValueLabel, getWidthOfWidestLabel, installDefaults, installKeyboardActions, installListeners, installUI, isDragging, labelsHaveSameBaselines, paint, paintFocus, paintHorizontalLabel, paintLabels, paintMajorTickForHorizSlider, paintMajorTickForVertSlider, paintMinorTickForHorizSlider, paintMinorTickForVertSlider, paintThumb, paintTicks, paintTrack, paintVerticalLabel, recalculateIfInsetsChanged, recalculateIfOrientationChanged, scrollByBlock, scrollByUnit, scrollDueToClickInTrack, setThumbLocation, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, valueForXPosition, valueForYPosition, xPositionForValue, yPositionForValue, yPositionForValue

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