
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
FScrollBar
|
1009
FScrollBar
support for a standard UI scrollbar element associated with a text field using setScrollTarget()
Methods
getEnabled()
Boolean indicating whether a scrollbar is enabled (i.e., responds to mouse input).
getScrollPosition()
Returns the current scroll position as an integer between the minimum and maximum
positions.
registerSkinElement()
Registers a skin element for changing the appearance of the scrollbar.
setChangeHandler()
Specifies the callback function to call when the scrollbar is scrolled.
setEnabled()
Enables or disables a scrollbar.
setHorizontal()
Boolean specifying whether the scrollbar should be horizontal (
true) or vertical
(
false).
setEnabled() Enables or disables a radio
button or group
✓✓
setGroupName() Sets the name of a radio
button group
✓✓
setLabel() Sets the string label of a
radio button
✓✗
setLabelPlacement() Specifies the label location
for a radio button or group
(“left” or “right”)
✓✓
setSize() Sets the width of a radio
button or group, in pixels
✓✓
setState() Boolean specifyingthe radio
button state—selected
(
true) or not selected
(
false)
✓✗
setStyleProperty() Sets a particular style prop-
erty for the radio button or
group(fora listof supported
properties, see the
FStyleFormat object)
✓✓
setValue() Selects a radio button
within a group based on its
data value
✗✓
Table ...