scroll

fun scroll(component: Component?, pane: Component?, bar: Component?): Boolean

Scrolls to view the provided component, if it's not already in view.

Return

true if scrolled to view, otherwise false

Parameters

pane

the viewport component

component

the viewport component

bar

the scrollbar