Modifier | Constructor and Description |
---|---|
protected |
MonologFXBuilder() |
Modifier and Type | Method and Description |
---|---|
MonologFX |
build()
This is where the magic happens...or at least where it all comes
together.
|
MonologFXBuilder |
button(MonologFXButton BUTTON)
Public method used to add a button to a MonologFX dialog.
|
MonologFXBuilder |
buttonAlignment(MonologFX.ButtonAlignment ALIGNBUTTONS)
Sets the button alignment for the MonologFX dialog box.
|
static MonologFXBuilder |
create()
Creates and returns a MonologFX dialog box builder object upon which
to set properties and eventually, create a MonologFX dialog box.
|
MonologFXBuilder |
displayTime(int DISPLAYTIME)
Public method used to add a button to a MonologFX dialog.
|
MonologFXBuilder |
message(java.lang.String MESSAGE)
Sets the text displayed within the MonologFX dialog box.
|
MonologFXBuilder |
modal(boolean MODAL)
Sets the modality of the MonologFX dialog box to build/display.
|
MonologFXBuilder |
stylesheet(java.lang.String STYLESHEET)
Allows developer to add stylesheet(s) for MonologFX dialog, supplementing
or overriding existing styling.
|
MonologFXBuilder |
titleText(java.lang.String TITLE_TEXT)
Sets the text to be displayed in the title bar of the MonologFX dialog.
|
MonologFXBuilder |
type(MonologFX.Type TYPE)
Sets the type of MonologFX dialog box to build/display.
|
MonologFXBuilder |
X(double X_COORD)
Sets x coordinate of the MonologFX dialog (if centering is not desired).
|
MonologFXBuilder |
Y(double Y_COORD)
Sets y coordinate of the MonologFX dialog (if centering is not desired).
|
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 MonologFXBuilder create()
public final MonologFXBuilder button(MonologFXButton BUTTON)
BUTTON
- A MonologFXButton object.MonologFXButton
public final MonologFXBuilder displayTime(int DISPLAYTIME)
BUTTON
- A MonologFXButton object.MonologFXButton
public final MonologFXBuilder type(MonologFX.Type TYPE)
TYPE
- One of the supported types of dialogs.MonologFX.Type
public final MonologFXBuilder buttonAlignment(MonologFX.ButtonAlignment ALIGNBUTTONS)
ALIGNBUTTONS
- Valid values are LEFT, RIGHT, and CENTER.ButtonAlignment
public final MonologFXBuilder message(java.lang.String MESSAGE)
MESSAGE
- String variable containing the text to display.public final MonologFXBuilder modal(boolean MODAL)
MODAL
- Boolean. A true value = APPLICATION_MODAL, false = NONE.public final MonologFXBuilder titleText(java.lang.String TITLE_TEXT)
TITLE_TEXT
- String containing the text to place in the title bar.public final MonologFXBuilder X(double X_COORD)
X_COORD
- Double representing the x coordinate to use for display.public final MonologFXBuilder Y(double Y_COORD)
Y_COORD
- Double representing the y coordinate to use for display.public final MonologFXBuilder stylesheet(java.lang.String STYLESHEET)
STYLESHEET
- String variable containing the path/name of the
stylesheet to apply to the dialog's scene and contained controls.