BorderPane
Ascii-art showing how the children are laid out :
┌───────────────────────────┐
│ top │
├──────┬────────────┬───────┤
│ │ │ │
│ │ │ │
│ left │ center │ right │
│ │ │ │
│ │ │ │
├──────┴────────────┴───────┤
│ bottom │
└───────────────────────────┘
Created with Blokart
Properties
One of the five possible child Nodes.
One of the five possible child Nodes.
The base class Node has no children, so this is an empty list.
One of the five possible child Nodes.
One of the five possible child Nodes.
One of the five possible child Nodes.
Functions
Each subclass of node can determine the minimum width it requires. This can be overridden on an ad-hoc basis using overrideMinHeight. The default implementation returns 0.
Each subclass of node can determine the minimum width it requires. This can be overridden on an ad-hoc basis using overrideMinWidth. The default implementation returns 0.
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.