Object companion for scalafx.scene.control.ButtonBar.
Attributes
Members list
Type members
Classlikes
Wraps a $JFX $URL0 $FC]].
Wraps a $JFX $URL0 $FC]].
Value parameters
- delegate
-
JavaFX ButtonData
Attributes
- Constructor
-
Creates a new ButtonData from a JavaFX one.
- Companion
- object
- Supertypes
-
trait SFXEnumDelegate[ButtonData]trait SFXDelegate[ButtonData]class Objecttrait Matchableclass Any
- Known subtypes
-
object Apply.typeobject BackPrevious.typeobject BigGap.typeobject CancelClose.typeobject Finish.typeobject Help.typeobject Help2.typeobject Left.typeobject NextForward.typeobject No.typeobject OKDone.typeobject Other.typeobject Right.typeobject SmallGap.typeobject Yes.typeShow all
Wraps a $JFX $URL0 $FC]].
Wraps a $JFX $URL0 $FC]].
Attributes
- Companion
- class
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass AnyShow all
- Self type
-
ButtonData.type
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 parameters
- button
-
The button to return the previously set ButtonData for.
Attributes
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.
Attributes
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 parameters
- button
-
The button to annotate with the given { @link ButtonData} value.
- buttonData
-
The ButtonData to designate the button as.
Attributes
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 parameters
- 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.
Attributes
Concrete fields
The default button ordering on Linux (specifically, GNOME).
The default button ordering on Linux (specifically, GNOME).
Attributes
The default button ordering on Mac OS.
The default button ordering on Mac OS.
Attributes
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.
Attributes
The default button ordering on Windows.
The default button ordering on Windows.
Attributes
Implicits
Implicits
Converts a ScalaFX ButtonBar to its JavaFX counterpart.
Converts a ScalaFX ButtonBar to its JavaFX counterpart.
Value parameters
- v
-
ScalaFX ButtonBar
Attributes
- Returns
-
JavaFX ButtonBar