ScrollPane
Properties
The base class Node has no children, so this is an empty list.
If content is taller than the viewport, should it be expanded to fill the whole height of the viewport?
If content is narrower than the viewport, should it be expanded to fill the whole width of the viewport?
Functions
The height the ScrollPane would have to be, so that the viewport could display the full height of the content.
Each subclass of node can determine its preferred height. As most nodes are composed of smaller nodes, this is typically calculated using evalPrefWidth of the child nodes, with extra added for spacing, padding and borders.
Each subclass of node can determine its preferred width. As most nodes are composed of smaller nodes, this is typically calculated using evalPrefWidth of the child nodes, with extra added for spacing, padding and borders.
Ensures that contentDescendant is fully visible. contentDescendant must be a descendant of content.