A scroll pane works like an AnchorPane
with scroll bars if the content
grows larger than the scroll pane element.
Note that scroll panes only use TopLeft
anchors for their child elements,
every other anchor will be ignored.
See also:
Constructor
Variables
Methods
privatedrawScrollbars(g:KGraphics):Void
Draws the scrollbars of this pane. Currently, the scrollbars are only drawn outside of the pane.
Parameters:
g | The |
---|
getElementAtPosition(x:Int, y:Int):Null<Element>
Returns the topmost element at the given position. If no element exists
at that position, null
is returned.
Parameters:
x | The position's x coordinate |
---|---|
y | The position's y coordinate |
Returns:
The element at the given position, this
if not found but the
the mouse is over the scrollpane or null
if the mouse is not
over the scrollpane.