Object companion for scalafx.scene.control.ButtonBar.
Object companion for scalafx.scene.control.ButtonBar.
- Companion
- class
Type members
Value members
Concrete methods
Returns the previously set ButtonData property on the given button. If this was never set, this method will return null.
Returns the previously set ButtonData property on the given button. If this was never set, this method will return null.
- Value Params
- button
The button to return the previously set ButtonData for.
Returns whether the given node is part of the uniform sizing calculations or not. By default all nodes that have not opted out (via N o d e, b o o l e a n) will return true here.
Returns whether the given node is part of the uniform sizing calculations or not. By default all nodes that have not opted out (via N o d e, b o o l e a n) will return true here.
Sets the given ButtonData on the given button. If this button is subsequently placed in a scalafx.scene.control.ButtonBar it will be placed in the correct position relative to all other buttons in the bar.
Sets the given ButtonData on the given button. If this button is subsequently placed in a scalafx.scene.control.ButtonBar it will be placed in the correct position relative to all other buttons in the bar.
- Value Params
- button
The button to annotate with the given { @link ButtonData} value.
- buttonData
The ButtonData to designate the button as.
By default all buttons are uniformly sized in a ButtonBar, meaning that all buttons take the width of the widest button. It is possible to opt-out of this on a per-button basis, but calling the setButtonUniformSize method with a boolean value of false.
By default all buttons are uniformly sized in a ButtonBar, meaning that all buttons take the width of the widest button. It is possible to opt-out of this on a per-button basis, but calling the setButtonUniformSize method with a boolean value of false.
If a button is excluded from uniform sizing, it is both excluded from being resized away from its preferred size, and also excluded from the measuring process, so its size will not influence the maximum size calculated for all buttons in the ButtonBar.
- Value Params
- button
The button to include / exclude from uniform sizing.
- uniformSize
Boolean true to force uniform sizing on the button, false to exclude the button from uniform sizing.
Concrete fields
The default button ordering on Linux (specifically, GNOME).
The default button ordering on Linux (specifically, GNOME).
A button ordering string that specifies there is no button ordering. In other words, buttons will be placed in the order that exist in the scalafx.scene.control.ButtonBar.buttons list. The only aspect of layout that makes this different than using an HBox is that the buttons are right-aligned.
A button ordering string that specifies there is no button ordering. In other words, buttons will be placed in the order that exist in the scalafx.scene.control.ButtonBar.buttons list. The only aspect of layout that makes this different than using an HBox is that the buttons are right-aligned.