Class ButtonBuilder
java.lang.Object
cz.masci.springfx.mvci.view.builder.ButtonBuilder
Button builder.
Based on this builder the new button is created and configured with the command to process.
The builder() is used to build button with set attributes.
Provide button supplier with button class to be created.
- appThreadCommand
- - the command is executed with accepting button related process running in JavaFX main thread. It is used for long processes running in app thread.
- fxThreadCommand
- - the command is executed before button related process. It is used for quick processes not running in app thread but in JavaFX main thread.
- disableExpression
- - expression connected to button disable property. It is combined with internal disable property
- text
- - button text.
- styleClass
- - button style class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends javafx.scene.control.Button>
Tstatic ButtonBuilderbuilder()disableExpression(javafx.beans.binding.BooleanExpression disableExpression) styleClass(String styleClass)
-
Constructor Details
-
ButtonBuilder
protected ButtonBuilder()
-
-
Method Details
-
builder
-
command
-
command
-
disableExpression
-
text
-
styleClass
-
build
-