Overview
Variable Summary
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | image | Image | ![]() | ![]() | ![]() |
The background image |
|
| public | preserveRatio | Boolean | ![]() | ![]() | ![]() | false |
Indicates that the Image should preserve its aspect ratio when being fitted to the size of the border.
Indicates that the Image should preserve its aspect ratio when being fitted to the size of the border. If preserveRatio is true, then extra space will be in the backgroundFill color false |
Inherited Variables
org.jfxtras.scene.border.Border
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | accent | Color | ![]() | ![]() | ![]() |
defines the accent color |
|
| protected | background | Node | subclass | subclass | subclass | ||
| public | backgroundFill | Color | ![]() | ![]() | ![]() | transparent |
Background fill for the border, if the border widths are not zero, this color will be used to fill the uncovered areas. |
| public | base | Color | ![]() | ![]() | ![]() |
defines the base color |
|
| protected | border | Node | subclass | subclass | subclass |
The border |
|
| public | borderBottomWidth | Number | ![]() | ![]() | ![]() | 0 |
Defines the bottom height of the border |
| public | borderLeftWidth | Number | ![]() | ![]() | ![]() | 0 |
Defines the left width of the border |
| public | borderRightWidth | Number | ![]() | ![]() | ![]() | 0 |
Defines the rigth width of the border |
| public | borderTopWidth | Number | ![]() | ![]() | ![]() | 0 |
Defines the top height of the border |
| public | node | Node | ![]() | ![]() | ![]() |
Node that is contained within the border. |
|
| public | nodeHPos | HPos | ![]() | ![]() | ![]() | HPos.CENTER |
The horizontal position of the node within the border's width.
The horizontal position of the node within the border's width.
This may be overridden for individual nodes by setting the Profile: common |
| public | nodeVPos | VPos | ![]() | ![]() | ![]() | VPos.CENTER |
The vertical position of the node within the border's height.
The vertical position of the node within the border's height.
This may be overridden for individual nodes by setting the Profile: common |
| protected | panel | Panel | subclass | subclass | subclass | ||
| public | shapeToFit | Boolean | ![]() | ![]() | ![]() |
Indicates that the Border will be resized to fit the size of the contained node. |
org.jfxtras.scene.layout.DefaultLayout
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public-read protected | defaultLayoutInfo | LayoutInfoBase | ![]() | subclass | subclass |
The default layout info for this Node.
The default layout info for this Node. Usually this will be initialized by the Node subclass to a static LayoutInfo for all instances. Any values set on this will override the default Constraint values. |

