public final class ButtonUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
configureToolbarButton(ButtonBase button,
FXAction action,
int iconSize)
Configures a toolbar button with the specified action.
|
static void |
configureToolbarToggleButton(ToggleButton toggleButton,
FXToggleAction action,
int iconSize)
Configures a toolbar toggle button with the specified toggle action.
|
public static void configureToolbarButton(ButtonBase button, FXAction action, int iconSize)
button
- the toolbar button to configureaction
- the actioniconSize
- the icon sizepublic static void configureToolbarToggleButton(ToggleButton toggleButton, FXToggleAction action, int iconSize)
toggleButton
- the toolbar toggle button to configureaction
- the toggle actioniconSize
- the icon sizeCopyright © 2012–2019 Drombler. All rights reserved.