ListBox.getScrollAlwaysVisible

Overview | Methods | Fields | This Package | All Packages

ListBox.getScrollAlwaysVisible

For single-column list boxes, retrieves a boolean value indicating whether the scroll bar always appears on the right side of the list, even when all items are visible in the list box without scrolling.

Syntax

public final boolean getScrollAlwaysVisible()

Return Value

Returns a boolean value indicating whether the scroll bar should always be visible.

Remarks

By default, a scroll bar appears only when there are enough items to warrant it. For multicolumn list boxes, this method retrieves a boolean value indicating whether a horizontal scroll bar should appear at the bottom of the list box. By default, no horizontal scroll bar appears with a multicolumn list box. A multicolumn list box never has a vertical scroll bar.

See Also   setScrollAlwaysVisible