public class RangeSliderUI extends org.pushingpixels.substance.internal.ui.SubstanceSliderUI
Modifier and Type | Class and Description |
---|---|
class |
RangeSliderUI.ChangeHandler
Listener to handle model change events.
|
class |
RangeSliderUI.RangeTrackListener
Listener to handle mouse movements in the slider track.
|
javax.swing.plaf.basic.BasicSliderUI.ActionScroller, javax.swing.plaf.basic.BasicSliderUI.ComponentHandler, javax.swing.plaf.basic.BasicSliderUI.FocusHandler, javax.swing.plaf.basic.BasicSliderUI.PropertyChangeHandler, javax.swing.plaf.basic.BasicSliderUI.ScrollListener, javax.swing.plaf.basic.BasicSliderUI.TrackListener
Constructor and Description |
---|
RangeSliderUI(RangeSlider rangeSlider)
Constructs a RangeSliderUI for the specified slider component.
|
Modifier and Type | Method and Description |
---|---|
org.pushingpixels.substance.internal.animation.StateTransitionTracker |
getTransitionTracker() |
void |
installUI(javax.swing.JComponent c)
Installs this UI delegate on the specified component.
|
boolean |
isInside(java.awt.event.MouseEvent me) |
boolean |
isInsideLowerThumb(double x,
double y) |
boolean |
isInsideLowerThumbInternal(double x,
double y) |
boolean |
isInsideUpperThumb(double x,
double y) |
boolean |
isInsideUpperThumbInternal(double x,
double y) |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c) |
void |
paintLowerThumb(java.awt.Graphics g) |
void |
paintTrack(java.awt.Graphics g) |
void |
paintUpperThumb(java.awt.Graphics g) |
void |
scrollByBlock(int direction)
Moves the selected thumb in the specified direction by a block increment.
|
void |
scrollByUnit(int direction)
Moves the selected thumb in the specified direction by a unit increment.
|
__org__pushingpixels__substance__internal__ui__SubstanceSliderUI__installUI, __org__pushingpixels__substance__internal__ui__SubstanceSliderUI__uninstallUI, __org__pushingpixels__substance__internal__ui__SubstanceSliderUI__update, createUI, getPreferredHorizontalSize, getPreferredSize, getPreferredVerticalSize, paintFocus, paintThumb, paintTicks, setThumbLocation, uninstallUI, update
getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumHorizontalSize, getMinimumSize, getMinimumVerticalSize, paintLabels, valueForXPosition, valueForYPosition
public RangeSliderUI(RangeSlider rangeSlider)
rangeSlider
- RangeSliderpublic void installUI(javax.swing.JComponent c)
installUI
in class org.pushingpixels.substance.internal.ui.SubstanceSliderUI
public boolean isInside(java.awt.event.MouseEvent me)
isInside
in interface org.pushingpixels.substance.internal.animation.TransitionAwareUI
isInside
in class org.pushingpixels.substance.internal.ui.SubstanceSliderUI
public boolean isInsideLowerThumbInternal(double x, double y)
public boolean isInsideLowerThumb(double x, double y)
public boolean isInsideUpperThumbInternal(double x, double y)
public boolean isInsideUpperThumb(double x, double y)
public org.pushingpixels.substance.internal.animation.StateTransitionTracker getTransitionTracker()
getTransitionTracker
in interface org.pushingpixels.substance.internal.animation.TransitionAwareUI
getTransitionTracker
in class org.pushingpixels.substance.internal.ui.SubstanceSliderUI
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint
in class org.pushingpixels.substance.internal.ui.SubstanceSliderUI
public void paintLowerThumb(java.awt.Graphics g)
public void paintUpperThumb(java.awt.Graphics g)
public void paintTrack(java.awt.Graphics g)
paintTrack
in class org.pushingpixels.substance.internal.ui.SubstanceSliderUI
public void scrollByBlock(int direction)
scrollByBlock
in class javax.swing.plaf.basic.BasicSliderUI
public void scrollByUnit(int direction)
scrollByUnit
in class javax.swing.plaf.basic.BasicSliderUI