Package org.apache.pivot.wtk
Class Slider
- java.lang.Object
-
- org.apache.pivot.wtk.Component
-
- org.apache.pivot.wtk.Container
-
- org.apache.pivot.wtk.Slider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.pivot.wtk.Container
Container.EDTChecker
-
Nested classes/interfaces inherited from class org.apache.pivot.wtk.Component
Component.DecoratorSequence, Component.StyleDictionary, Component.UserDataDictionary
-
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Sequence
Sequence.Tree<T>
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_END
static int
DEFAULT_START
static int
DEFAULT_VALUE
-
Constructor Summary
Constructors Constructor Description Slider()
Slider(Orientation orientation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEnd()
Orientation
getOrientation()
Span
getRange()
ListenerList<SliderListener>
getSliderListeners()
ListenerList<SliderValueListener>
getSliderValueListeners()
int
getStart()
int
getValue()
void
setEnd(int end)
void
setOrientation(Orientation orientation)
void
setRange(int start, int end)
void
setRange(java.lang.String range)
void
setRange(Dictionary<java.lang.String,?> range)
void
setRange(Sequence<?> range)
void
setRange(Span range)
void
setStart(int start)
void
setValue(int value)
-
Methods inherited from class org.apache.pivot.wtk.Container
add, assertEventDispatchThread, assertEventDispatchThread, clear, containsFocus, descendantAdded, descendantGainedFocus, descendantLostFocus, descendantRemoved, get, getComponentAt, getContainerListeners, getContainerMouseListeners, getDescendantAt, getFocusTraversalPolicy, getGraphics, getLength, getNamedComponent, indexOf, insert, invalidate, isAncestor, isDoubleBuffered, iterator, layout, load, mouseClick, mouseDown, mouseMove, mouseOut, mouseUp, mouseWheel, move, paint, remove, remove, removeAll, repaint, requestFocus, setDoubleBuffered, setEventDispatchThreadChecker, setFocusTraversalPolicy, setParent, setVisible, store, transferFocus, update
-
Methods inherited from class org.apache.pivot.wtk.Component
checkSkin, clearFocus, contains, copyStyle, copyStyle, getAncestor, getAncestor, getAttribute, getAutomationID, getBaseline, getBaseline, getBounds, getComponentClassListeners, getComponentDataListeners, getComponentDecoratorListeners, getComponentKeyListeners, getComponentListeners, getComponentMouseButtonListeners, getComponentMouseListeners, getComponentMouseWheelListeners, getComponentStateListeners, getComponentStyleListeners, getComponentTooltipListeners, getCursor, getDecoratedBounds, getDecorators, getDisplay, getDragSource, getDropTarget, getFocusedComponent, getHeight, getHeightLimits, getLocation, getMaximumHeight, getMaximumWidth, getMenuHandler, getMinimumHeight, getMinimumWidth, getMouseLocation, getName, getNamedStyles, getParent, getPreferredHeight, getPreferredHeight, getPreferredSize, getPreferredWidth, getPreferredWidth, getScreenBounds, getSize, getSkin, getStyle, getStyle, getStyleBoolean, getStyleBoolean, getStyleColor, getStyleColor, getStyleFont, getStyleFont, getStyleInt, getStyleInt, getStyles, getTextInputMethodListener, getTooltipDelay, getTooltipText, getTooltipWrapText, getTypedStyles, getUserData, getVisibleArea, getVisibleArea, getVisibleArea, getWidth, getWidthLimits, getWindow, getX, getY, indexBoundsCheck, installSkin, isBlocked, isEnabled, isFocusable, isFocused, isMouseOver, isOpaque, isPreferredHeightSet, isPreferredSizeSet, isPreferredWidthSet, isShowing, isValid, isVisible, keyPressed, keyReleased, keyTyped, mapPointFromAncestor, mapPointFromAncestor, mapPointToAncestor, mapPointToAncestor, mouseOver, offsetToScreen, putStyle, putStyle, reenterMouse, repaint, repaint, repaint, repaint, repaint, scrollAreaToVisible, scrollAreaToVisible, setAttribute, setAutomationID, setAutomationID, setCursor, setDragSource, setDropTarget, setEnabled, setFocused, setHeight, setHeightLimits, setHeightLimits, setLocation, setLocation, setMaximumHeight, setMaximumWidth, setMenuHandler, setMinimumHeight, setMinimumWidth, setName, setPreferredHeight, setPreferredSize, setPreferredSize, setPreferredWidth, setSize, setSize, setSkin, setStyleName, setStyleNames, setStyleNames, setStyles, setStyles, setTooltipDelay, setTooltipText, setTooltipWrapText, setWidth, setWidthLimits, setWidthLimits, setX, setY, toString, transferFocus, validate
-
-
-
-
Field Detail
-
DEFAULT_START
public static final int DEFAULT_START
- See Also:
- Constant Field Values
-
DEFAULT_END
public static final int DEFAULT_END
- See Also:
- Constant Field Values
-
DEFAULT_VALUE
public static final int DEFAULT_VALUE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Slider
public Slider()
-
Slider
public Slider(Orientation orientation)
-
-
Method Detail
-
getStart
public final int getStart()
-
setStart
public final void setStart(int start)
-
getEnd
public final int getEnd()
-
setEnd
public final void setEnd(int end)
-
getRange
public final Span getRange()
-
setRange
public final void setRange(int start, int end)
-
setRange
public final void setRange(Span range)
-
setRange
public final void setRange(Dictionary<java.lang.String,?> range)
-
setRange
public final void setRange(Sequence<?> range)
-
setRange
public final void setRange(java.lang.String range)
-
getValue
public final int getValue()
-
setValue
public final void setValue(int value)
-
getOrientation
public final Orientation getOrientation()
-
setOrientation
public final void setOrientation(Orientation orientation)
-
getSliderListeners
public final ListenerList<SliderListener> getSliderListeners()
-
getSliderValueListeners
public final ListenerList<SliderValueListener> getSliderValueListeners()
-
-