scala.swing

class Slider

[source: scala/swing/Slider.scala]

class Slider
extends Component with Wrapper with Publisher
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
The underlying Swing peer.
Values and Variables inherited from Component
initP, Mouse
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 Wrapper
orientation_=
Methods inherited from Wrapper
orientation
Methods inherited from Component
xLayoutAlignment, xLayoutAlignment_=, yLayoutAlignment, yLayoutAlignment_=, border, border_=, opaque, opaque_=, enabled, enabled_=, tooltip, tooltip_=, inputVerifier, inputVerifier_=, focusable, focusable_=, requestFocus, requestFocusInWindow, hasFocus, onFirstSubscribe, revalidate, paintComponent, paintBorder, paintChildren, paint, toString
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, displayable, repaint, repaint, ignoreRepaint, ignoreRepaint_=, onLastUnsubscribe
Methods inherited from scala.swing.LazyPublisher
scala.swing.LazyPublisher.subscribe, scala.swing.LazyPublisher.unsubscribe
Methods inherited from Publisher
publish
Methods inherited from Reactor
listenTo, deafTo
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
The underlying Swing peer.
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