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

Classe « SynthSliderUI »

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.synth.SynthSliderUI

Interfaces implémentées

java.beans.PropertyChangeListener
javax.swing.plaf.synth.SynthUI

Définition

public class SynthSliderUI extends javax.swing.plaf.basic.BasicSliderUI
implements java.beans.PropertyChangeListener,
javax.swing.plaf.synth.SynthUI

Description

A venir.

Liste des attributs

Tous les attributs Attributs d'instance Attributs statiques Attributs dépréciés
QualificateursTypeNomDescription

Liste des constructeurs

Constructeurs Constructeurs dépréciés
ConstructeurDescription
SynthSliderUI( JSlider c )

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

Propriétés Propriétés dépréciées
QualificateursTypeNomR/W
protected Dimension thumbSize 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 void calculateGeometry()
protected void calculateThumbLocation()
protected TrackListener createTrackListener( JSlider s )
public static ComponentUI createUI( JComponent c )
public int getBaseline( JComponent c, int width, int height )
public SynthContext getContext( JComponent c )
public Dimension getMinimumSize( JComponent c )
public Dimension getPreferredSize( JComponent c )
protected Dimension getThumbSize()
protected void installDefaults( JSlider slider )
protected void installListeners( JSlider slider )
protected void layout()
public void paint( Graphics g, JComponent c )
protected void paint( SynthContext context, Graphics g )
public void paintBorder( SynthContext context, Graphics g, int x, int y, int w, int h )
protected void paintThumb( SynthContext context, Graphics g, Rectangle thumbBounds )
protected void paintTrack( SynthContext context, Graphics g, Rectangle trackBounds )
public void propertyChange( PropertyChangeEvent e )
protected void recalculateIfInsetsChanged()
public void setThumbLocation( int x, int y )
protected void uninstallDefaults( JSlider slider )
protected void uninstallListeners( JSlider slider )
public void update( Graphics g, JComponent c )
public int valueForXPosition( int xPos )
public int valueForYPosition( int yPos )
protected int xPositionForValue( int value )
protected int yPositionForValue( int value, int trackY, int trackHeight )

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