Klasse ButtonBaseBuilder<B extends ButtonBase,BB extends ButtonBaseBuilder<B,BB>>
java.lang.Object
com.dua3.utility.fx.controls.abstract_builders.NodeBuilder<B,BB>
com.dua3.utility.fx.controls.abstract_builders.ControlBuilder<B,BB>
com.dua3.utility.fx.controls.abstract_builders.LabeledBuilder<B,BB>
com.dua3.utility.fx.controls.abstract_builders.ButtonBaseBuilder<B,BB>
- Bekannte direkte Unterklassen:
ButtonBuilder,CheckBoxButtonBuilder,ToggleButtonBuilder
public abstract class ButtonBaseBuilder<B extends ButtonBase,BB extends ButtonBaseBuilder<B,BB>>
extends LabeledBuilder<B,BB>
-
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedButtonBaseBuilder(Supplier<? extends B> factory) Constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungSet action for the button.action(EventHandler<ActionEvent> action) Set event handler for the button.bindAction(ObservableValue<Runnable> action) Set action for the button.bindAction(EventHandler<ActionEvent> action) Set action for the button.build()Build the button.Von Klasse geerbte Methoden com.dua3.utility.fx.controls.abstract_builders.LabeledBuilder
bindFont, bindFxFont, bindText, font, font, graphic, graphic, textVon Klasse geerbte Methoden com.dua3.utility.fx.controls.abstract_builders.ControlBuilder
bindTooltip, tooltipVon Klasse geerbte Methoden com.dua3.utility.fx.controls.abstract_builders.NodeBuilder
apply, apply, bindDisabled, bindEnabled, disabled, prefHeight, prefSize, prefWidth, self
-
Konstruktordetails
-
ButtonBaseBuilder
Constructor.- Parameter:
factory- the factory method for Button instances
-
-
Methodendetails
-
build
Build the button.- Setzt außer Kraft:
buildin KlasseLabeledBuilder<B extends ButtonBase,BB extends ButtonBaseBuilder<B, BB>> - Gibt zurück:
- new button instance
-
action
Set event handler for the button.- Parameter:
action- theEventHandler- Gibt zurück:
- this ButtonBaseBuilder instance
-
action
Set action for the button.- Parameter:
action- the action to perform when pressed- Gibt zurück:
- this ButtonBaseBuilder instance
-
bindAction
Set action for the button.- Parameter:
action- the action to perform when pressed- Gibt zurück:
- this ButtonBaseBuilder instance
-
bindAction
Set action for the button.- Parameter:
action- the action to perform when pressed- Gibt zurück:
- this ButtonBaseBuilder instance
-