scala.swing

class Slider

[source: scala/swing/Slider.scala]

class Slider
extends Component with Orientable
Lets users select a value from a given range. Visually, this is represented as a draggable knob on a horizontal or vertical bar. Fires a ValueChanged event whenever the slider's value changes and when the knob is released.
See Also
javax.swing.JSlider
Value Summary
override lazy val peer : javax.swing.JSlider
Values and Variables inherited from Component
initP
Values and Variables inherited from Publisher
listeners
Values and Variables inherited from Reactor
reactions
Method Summary
def adjusting : Boolean
def extent : Int
def extent_= (v : Int) : Unit
def labels : Map[Int, Label]
def labels_= (l : Map[Int, Label]) : Unit
def majorTickSpacing : Int
def majorTickSpacing_= (v : Int) : Unit
def max : Int
def max_= (v : Int) : Unit
def min : Int
def min_= (v : Int) : Unit
def minorTickSpacing : Int
def minorTickSpacing_= (v : Int) : Unit
def paintLabels : Boolean
def paintLabels_= (v : Boolean) : Unit
def paintTicks : Boolean
def paintTicks_= (v : Boolean) : Unit
def paintTrack : Boolean
def paintTrack_= (v : Boolean) : Unit
def snapToTicks : Boolean
def snapToTicks_= (v : Boolean) : Unit
def value : Int
def value_= (v : Int) : Unit
Methods inherited from Orientable
orientation_=
Methods inherited from Oriented
orientation
Methods inherited from Component
xLayoutAlignment, xLayoutAlignment_=, yLayoutAlignment, yLayoutAlignment_=, border, border_=, opaque, opaque_=, enabled, enabled_=, tooltip, tooltip_=, inputVerifier, inputVerifier_=, revalidate, requestFocus, paintComponent, paint, toString
Methods inherited from Publisher
subscribe, unsubscribe, publish
Methods inherited from Reactor
listenTo, deafTo
Methods inherited from UIElement
self, foreground, foreground_=, background, background_=, minimumSize, minimumSize_=, maximumSize, maximumSize_=, preferredSize, preferredSize_=, preferredSize_=, font, font_=, locationOnScreen, location, bounds, size, size_=, size_=, locale, toolkit, cursor, cursor_=, visible, visible_=, showing, repaint
Methods inherited from Proxy
hashCode, equals
Methods inherited from AnyRef
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
override lazy val peer : javax.swing.JSlider
Overrides
Component.peer

Method Details
def min : Int

def min_=(v : Int) : Unit

def max : Int

def max_=(v : Int) : Unit

def value : Int

def value_=(v : Int) : Unit

def extent : Int

def extent_=(v : Int) : Unit

def paintLabels : Boolean

def paintLabels_=(v : Boolean) : Unit

def paintTicks : Boolean

def paintTicks_=(v : Boolean) : Unit

def paintTrack : Boolean

def paintTrack_=(v : Boolean) : Unit

def snapToTicks : Boolean

def snapToTicks_=(v : Boolean) : Unit

def minorTickSpacing : Int

def minorTickSpacing_=(v : Int) : Unit

def majorTickSpacing : Int

def majorTickSpacing_=(v : Int) : Unit

def adjusting : Boolean

def labels : Map[Int, Label]

def labels_=(l : Map[Int, Label]) : Unit