IlvObject | +--IlvScrollbar
IlvScrollbar is the abstract base class of all scroll bars.| Constructor Attributes | Constructor Name and Description |
|---|---|
|
IlvScrollbar(left, top, length)
|
| Method Attributes | Method Name and Description |
|---|---|
|
addValueListener(listener)
Adds a listener to be called when the scroll bar's value is changed.
|
|
|
Returns the extent of the scrollbar.
|
|
|
Returns the height of this scrollbar.
|
|
|
getLeft()
Returns the left border of this scrollbar.
|
|
|
Returns the maximum value of the scrollbar.
|
|
|
Returns the minimum value of the scrollbar.
|
|
|
getTop()
Returns the top border of this scrollbar.
|
|
|
Returns the unit increment of the scrollbar.
|
|
|
getValue()
Returns the value of the scrollbar.
|
|
|
getWidth()
Returns the width of this scrollbar.
|
|
|
Returns whether the scrollbar is enabled.
|
|
|
Returns the visibility of this scrollbar.
|
|
|
removeValueListener(listener)
Removes a listener installed with
addValueListener. |
|
|
setBounds(left, top, length)
Changes the location and size of the scrollbar.
|
|
|
setButtonSize(buttonSize)
Sets the button size of scroll bar.
|
|
|
setEnabled(enabled)
Enables or disables the scrollbar.
|
|
|
setLocation(left, top)
Moves the scrollbar to the specified location.
|
|
|
setUnitIncrement(increment)
Sets the unit increment of the scrollbar.
|
|
|
setValue(value)
Sets the value of the scrollbar.
|
|
|
setValues(value, extent, min, max)
Sets the values of the scrollbar.
|
|
|
setVisible(visible)
Sets the visibility of this scrollbar.
|
|
|
toHTML(parentNode)
Creates the HTML for this scroll bar.
|
| dispose, getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility |
scrollbar: The IlvScrollbar.
addValueListener.
minimum <= value <= value+extent <= maximum