class org.aswing.plaf.basic.BasicSliderUI extends BaseComponentUI
Sub classes | ||||||
FlatSliderUI, PopupSliderUI |
|
Basic slider ui imp. @author paling @private
Instance Fields
function valueForXPosition(xPos:Int): Int
Returns a value give an x position. If xPos is past the track at the left or the right it will set the value to the min or max of the slider, depending if the slider is inverted or not.
function valueForYPosition(yPos:Int): Int
Returns a value give a y position. If yPos is past the track at the top or the bottom it will set the value to the min or max of the slider, depending if the slider is inverted or not.