| Modifier | Constructor and Description |
|---|---|
protected |
ButtonBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(Button x) |
Button |
build()
Make an instance of
Button based on the properties set on this builder. |
B |
cancelButton(boolean x)
Set the value of the
cancelButton property for the instance constructed by this builder. |
static ButtonBuilder<?> |
create()
Creates a new instance of ButtonBuilder.
|
B |
defaultButton(boolean x)
Set the value of the
defaultButton property for the instance constructed by this builder. |
applyTo, onActionalignment, applyTo, contentDisplay, ellipsisString, font, graphic, graphicTextGap, mnemonicParsing, text, textAlignment, textFill, textOverrun, underline, wrapTextapplyTo, contextMenu, maxHeight, maxWidth, minHeight, minWidth, prefHeight, prefWidth, skin, tooltipapplyTo, stylesheets, stylesheetsapplyTo, 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, visiblepublic static ButtonBuilder<?> create()
public void applyTo(Button x)
public B cancelButton(boolean x)
cancelButton property for the instance constructed by this builder.public B defaultButton(boolean x)
defaultButton property for the instance constructed by this builder.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.