pivot.wtk
Class Slider

java.lang.Object
  extended by pivot.wtk.Component
      extended by pivot.wtk.Container
          extended by pivot.wtk.Slider
All Implemented Interfaces:
Iterable<Component>, Sequence<Component>, ConstrainedVisual, Visual

public class Slider
extends Container

Allows a user to select one of a range of values.

Author:
gbrown

Nested Class Summary
 
Nested classes/interfaces inherited from class pivot.wtk.Component
Component.Attributes, Component.ComponentDictionary, Component.DecoratorSequence, Component.StyleDictionary, Component.UserDataDictionary
 
Nested classes/interfaces inherited from interface pivot.collections.Sequence
Sequence.Search, Sequence.Sort, Sequence.Tree
 
Field Summary
static int DEFAULT_MAXIMUM
           
static int DEFAULT_MINIMUM
           
static int DEFAULT_VALUE
           
static String MAXIMUM_KEY
           
static String MINIMUM_KEY
           
 
Constructor Summary
Slider()
           
 
Method Summary
 int getMaximum()
           
 int getMinimum()
           
 ListenerList<SliderListener> getSliderListeners()
           
 ListenerList<SliderValueListener> getSliderValueListeners()
           
 int getValue()
           
 void setBounds(Dictionary<String,?> bounds)
           
 void setBounds(int minimum, int maximum)
           
 void setBounds(String bounds)
           
 void setMaximum(int maximum)
           
 void setMinimum(int minimum)
           
 void setValue(int value)
           
 
Methods inherited from class pivot.wtk.Container
add, containsFocus, get, getComponentAt, getContainerListeners, getContainerMouseListeners, getContextKey, getDescendantAt, getFocusTraversalPolicy, getLength, indexOf, insert, isAncestor, isFocusable, iterator, load, mouseClick, mouseDown, mouseMove, mouseOut, mouseUp, mouseWheel, move, paint, remove, remove, removeAll, requestFocus, setContextKey, setEnabled, setFocusTraversalPolicy, setParent, setTooltip, setVisible, store, update, validate
 
Methods inherited from class pivot.wtk.Component
clearFocus, clearFocus, finalize, getAttributes, getBounds, getComponentClassListeners, getComponentDataListeners, getComponentDecoratorListeners, getComponentDragDropListeners, getComponentKeyListeners, getComponentLayoutListeners, getComponentListeners, getComponentMouseButtonListeners, getComponentMouseListeners, getComponentMouseWheelListeners, getComponents, getComponentStateListeners, getCursor, getDecoratedBounds, getDecorators, getDisplay, getDragSource, getDropTarget, getFocusedComponent, getGraphics, getHandle, getHeight, getLocation, getParent, getPreferredHeight, getPreferredHeight, getPreferredSize, getPreferredWidth, getPreferredWidth, getSize, getSkin, getStyles, getTooltipText, getUserData, getVisibleArea, getVisibleArea, getVisibleArea, getWidth, getWindow, getX, getY, installSkin, invalidate, isBlocked, isDisplayable, isEnabled, isFocused, isMouseOver, isOpaque, isPreferredHeightSet, isPreferredSizeSet, isPreferredWidthSet, isShowing, isValid, isVisible, keyPressed, keyReleased, keyTyped, load, mapPointFromAncestor, mapPointToAncestor, mouseOver, repaint, repaint, repaint, repaint, repaint, repaint, requestFocus, scrollAreaToVisible, scrollAreaToVisible, setAttributes, setCursor, setCursor, setDisplayable, setDragSource, setDropTarget, setFocused, setHeight, setLocation, setLocation, setPreferredHeight, setPreferredSize, setPreferredSize, setPreferredWidth, setSize, setSize, setSkin, setStyles, setStyles, setStyles, setTooltipText, setWidth, setX, setY, store, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_MINIMUM

public static final int DEFAULT_MINIMUM
See Also:
Constant Field Values

DEFAULT_MAXIMUM

public static final int DEFAULT_MAXIMUM
See Also:
Constant Field Values

DEFAULT_VALUE

public static final int DEFAULT_VALUE
See Also:
Constant Field Values

MINIMUM_KEY

public static final String MINIMUM_KEY
See Also:
Constant Field Values

MAXIMUM_KEY

public static final String MAXIMUM_KEY
See Also:
Constant Field Values
Constructor Detail

Slider

public Slider()
Method Detail

getMinimum

public int getMinimum()

setMinimum

public void setMinimum(int minimum)

getMaximum

public int getMaximum()

setMaximum

public void setMaximum(int maximum)

setBounds

public void setBounds(int minimum,
                      int maximum)

setBounds

public final void setBounds(Dictionary<String,?> bounds)

setBounds

public final void setBounds(String bounds)

getValue

public int getValue()

setValue

public void setValue(int value)

getSliderListeners

public ListenerList<SliderListener> getSliderListeners()

getSliderValueListeners

public ListenerList<SliderValueListener> getSliderValueListeners()