public class MonologFXButtonBuilder<B extends MonologFXButtonBuilder<B>> extends javafx.scene.control.ControlBuilder<B> implements javafx.util.Builder<MonologFXButton>
Modifier | Constructor and Description |
---|---|
protected |
MonologFXButtonBuilder() |
Modifier and Type | Method and Description |
---|---|
MonologFXButton |
build()
This is where the button is created/assembled.
|
MonologFXButtonBuilder |
cancelButton(boolean CANCELBUTTON)
Designates this button as the "cancel" button - or not.
|
static MonologFXButtonBuilder |
create()
Creates and returns a MonologFXButton builder object upon which
to set properties and eventually, create a MonologFXButton for use with
a MonologFX dialog.
|
MonologFXButtonBuilder |
defaultButton(boolean DEFAULTBUTTON)
Designates this button as the "default" button - or not.
|
MonologFXButtonBuilder |
icon(java.lang.String ICON)
Sets the graphic for use on the button, either alone or with text.
|
MonologFXButtonBuilder |
label(java.lang.String LABEL)
Sets the label text for the button.
|
MonologFXButtonBuilder |
type(MonologFXButton.Type TYPE)
Sets the type of this button.
|
applyTo, contextMenu, maxHeight, maxWidth, minHeight, minWidth, prefHeight, prefWidth, skin, tooltip
applyTo, impl_traversalEngine, stylesheets, stylesheets
applyTo, blendMode, cache, cacheHint, clip, cursor, depthTest, disable, effect, eventDispatcher, focusTraversable, id, inputMethodRequests, layoutX, layoutY, managed, mouseTransparent, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScroll, onScrollFinished, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoom, onZoomFinished, onZoomStarted, opacity, pickOnBounds, rotate, rotationAxis, scaleX, scaleY, scaleZ, style, styleClass, styleClass, transforms, transforms, translateX, translateY, translateZ, userData, visible
public static MonologFXButtonBuilder create()
public final MonologFXButtonBuilder type(MonologFXButton.Type TYPE)
TYPE
- MonologFXButton.Type designation.MonologFXButton.Type
public final MonologFXButtonBuilder label(java.lang.String LABEL)
LABEL
- String consisting of the desired button text.public final MonologFXButtonBuilder icon(java.lang.String ICON)
ICON
- String containing the location and name of a graphic file
(.png, .jpg) for use as an icon on the button face.ImageView
public final MonologFXButtonBuilder defaultButton(boolean DEFAULTBUTTON)
DEFAULTBUTTON
- Boolean.public final MonologFXButtonBuilder cancelButton(boolean CANCELBUTTON)
CANCELBUTTON
- Boolean.public MonologFXButton build()
build
in interface javafx.util.Builder<MonologFXButton>