All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.swing.jlf.JLFOldSliderUI

java.lang.Object
    |
    +----java.awt.swing.plaf.ComponentUI
            |
            +----java.awt.swing.plaf.SliderUI
                    |
                    +----java.awt.swing.basic.BasicSliderUI
                            |
                            +----java.awt.swing.jlf.JLFOldSliderUI

public class JLFOldSliderUI
extends BasicSliderUI
A Java L&F implementation of SliderUI.


Variable Index

 o minimumHorizontalSize
 o minimumHorizontalSizeWithTicks
 o minimumVerticalSize
 o minimumVerticalSizeWithTicks

Constructor Index

 o JLFOldSliderUI()

Method Index

 o calculateThumbBounds()
Subclasses of BasicSliderUI override this method to determine their own thumb size.
 o createUI(JComponent)
 o getMinimumSize(JComponent)
 o getSlideBarLength()
Returns the longer dimension of the slide bar.
 o getSlideBarWidth()
Returns the shorter dimension of the slide bar.
 o getThumbOverhang()
Returns the amount that the thumb goes past the slide bar.
 o getTickSize()
Gets the height of the tick area for horizontal sliders and the width of the tick area for vertical sliders.
 o paintThumb(Graphics)
 o paintTicks(Graphics)
 o paintTrack(Graphics)
 o setThumbLocation(int, int)

Variables

 o minimumHorizontalSize
protected static final Dimension minimumHorizontalSize
 o minimumVerticalSize
protected static final Dimension minimumVerticalSize
 o minimumHorizontalSizeWithTicks
protected static final Dimension minimumHorizontalSizeWithTicks
 o minimumVerticalSizeWithTicks
protected static final Dimension minimumVerticalSizeWithTicks

Constructors

 o JLFOldSliderUI
public JLFOldSliderUI()

Methods

 o createUI
public static ComponentUI createUI(JComponent c)
 o paintThumb
public void paintThumb(Graphics g)
Overrides:
paintThumb in class BasicSliderUI
 o paintTrack
public void paintTrack(Graphics g)
Overrides:
paintTrack in class BasicSliderUI
 o paintTicks
public void paintTicks(Graphics g)
Overrides:
paintTicks in class BasicSliderUI
 o calculateThumbBounds
public void calculateThumbBounds()
Subclasses of BasicSliderUI override this method to determine their own thumb size.

Overrides:
calculateThumbBounds in class BasicSliderUI
 o setThumbLocation
public void setThumbLocation(int x,
                             int y)
Overrides:
setThumbLocation in class BasicSliderUI
 o getTickSize
public int getTickSize()
Gets the height of the tick area for horizontal sliders and the width of the tick area for vertical sliders. BasicSliderUI uses the returned value to determine the bounds of the tray rectangle and the tick area rectangle.

Overrides:
getTickSize in class BasicSliderUI
 o getSlideBarWidth
protected int getSlideBarWidth()
Returns the shorter dimension of the slide bar. (The slide bar is only the part that runs directly under the thumb)

 o getSlideBarLength
protected int getSlideBarLength()
Returns the longer dimension of the slide bar. (The slide bar is only the part that runs directly under the thumb)

 o getThumbOverhang
protected int getThumbOverhang()
Returns the amount that the thumb goes past the slide bar.

 o getMinimumSize
public Dimension getMinimumSize(JComponent c)
Overrides:
getMinimumSize in class BasicSliderUI

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature