Package org.apache.pivot.wtk
Class ScrollBar
- java.lang.Object
-
- org.apache.pivot.wtk.Component
-
- org.apache.pivot.wtk.Container
-
- org.apache.pivot.wtk.ScrollBar
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScrollBar.Scope
Class representing a scroll bar's scope (that is, the start, end and extent values).-
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>
-
-
Constructor Summary
Constructors Constructor Description ScrollBar()
ScrollBar(Orientation orientation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBlockIncrement()
int
getEnd()
int
getExtent()
Orientation
getOrientation()
Span
getRange()
ScrollBar.Scope
getScope()
ListenerList<ScrollBarListener>
getScrollBarListeners()
ListenerList<ScrollBarValueListener>
getScrollBarValueListeners()
int
getStart()
int
getUnitIncrement()
int
getValue()
void
setBlockIncrement(int blockIncrement)
void
setEnd(int end)
void
setExtent(int extent)
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
setScope(int start, int end, int extent)
void
setScope(java.lang.String scope)
void
setScope(Dictionary<java.lang.String,?> scope)
void
setScope(Sequence<?> scope)
void
setScope(ScrollBar.Scope scope)
void
setStart(int start)
void
setUnitIncrement(int unitIncrement)
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
-
-
-
-
Constructor Detail
-
ScrollBar
public ScrollBar()
-
ScrollBar
public ScrollBar(Orientation orientation)
-
-
Method Detail
-
getOrientation
public Orientation getOrientation()
-
setOrientation
public void setOrientation(Orientation orientation)
-
getStart
public int getStart()
-
setStart
public void setStart(int start)
-
getEnd
public int getEnd()
-
setEnd
public void setEnd(int end)
-
getRange
public Span getRange()
-
setRange
public 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)
-
getExtent
public int getExtent()
-
setExtent
public void setExtent(int extent)
-
getScope
public ScrollBar.Scope getScope()
-
setScope
public void setScope(int start, int end, int extent)
-
setScope
public final void setScope(ScrollBar.Scope scope)
-
setScope
public final void setScope(Dictionary<java.lang.String,?> scope)
-
setScope
public final void setScope(Sequence<?> scope)
-
setScope
public final void setScope(java.lang.String scope)
-
getValue
public int getValue()
-
setValue
public void setValue(int value)
-
getUnitIncrement
public int getUnitIncrement()
-
setUnitIncrement
public void setUnitIncrement(int unitIncrement)
-
getBlockIncrement
public int getBlockIncrement()
-
setBlockIncrement
public void setBlockIncrement(int blockIncrement)
-
getScrollBarListeners
public ListenerList<ScrollBarListener> getScrollBarListeners()
-
getScrollBarValueListeners
public ListenerList<ScrollBarValueListener> getScrollBarValueListeners()
-
-