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.
minimumHorizontalSize-
minimumHorizontalSizeWithTicks-
minimumVerticalSize-
minimumVerticalSizeWithTicks-
JLFOldSliderUI()
-
calculateThumbBounds()
- Subclasses of BasicSliderUI override this method to determine their own
thumb size.
createUI(JComponent)
-
getMinimumSize(JComponent)
-
getSlideBarLength()
- Returns the longer dimension of the slide bar.
getSlideBarWidth()
- Returns the shorter dimension of the slide bar.
getThumbOverhang()
- Returns the amount that the thumb goes past the slide bar.
getTickSize()
- Gets the height of the tick area for horizontal sliders and the width of the
tick area for vertical sliders.
paintThumb(Graphics)
-
paintTicks(Graphics)
-
paintTrack(Graphics)
-
setThumbLocation(int, int)
-
minimumHorizontalSize
protected static final Dimension minimumHorizontalSize
minimumVerticalSize
protected static final Dimension minimumVerticalSize
minimumHorizontalSizeWithTicks
protected static final Dimension minimumHorizontalSizeWithTicks
minimumVerticalSizeWithTicks
protected static final Dimension minimumVerticalSizeWithTicks
JLFOldSliderUI
public JLFOldSliderUI()
createUI
public static ComponentUI createUI(JComponent c)
paintThumb
public void paintThumb(Graphics g)
- Overrides:
- paintThumb in class BasicSliderUI
paintTrack
public void paintTrack(Graphics g)
- Overrides:
- paintTrack in class BasicSliderUI
paintTicks
public void paintTicks(Graphics g)
- Overrides:
- paintTicks in class BasicSliderUI
calculateThumbBounds
public void calculateThumbBounds()
- Subclasses of BasicSliderUI override this method to determine their own
thumb size.
- Overrides:
- calculateThumbBounds in class BasicSliderUI
setThumbLocation
public void setThumbLocation(int x,
int y)
- Overrides:
- setThumbLocation in class BasicSliderUI
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
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)
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)
getThumbOverhang
protected int getThumbOverhang()
- Returns the amount that the thumb goes past the slide bar.
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