@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") public class TextFieldBuilder<B extends TextFieldBuilder<B>> extends TextInputControlBuilder<B> implements Builder<TextField>
TextField| Modifier | Constructor and Description |
|---|---|
protected |
TextFieldBuilder() |
| Modifier and Type | Method and Description |
|---|---|
B |
alignment(Pos x)
Set the value of the
alignment property for the instance constructed by this builder. |
void |
applyTo(TextField x) |
TextField |
build()
Make an instance of
TextField based on the properties set on this builder. |
static TextFieldBuilder<?> |
create()
Creates a new instance of TextFieldBuilder.
|
B |
onAction(EventHandler<ActionEvent> x)
Set the value of the
onAction property for the instance constructed by this builder. |
B |
prefColumnCount(int x)
Set the value of the
prefColumnCount property for the instance constructed by this builder. |
B |
promptText(java.lang.String x)
Set the value of the
promptText property for the instance constructed by this builder. |
applyTo, editable, textapplyTo, 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 TextFieldBuilder<?> create()
public void applyTo(TextField x)
public B alignment(Pos x)
alignment property for the instance constructed by this builder.public B onAction(EventHandler<ActionEvent> x)
onAction property for the instance constructed by this builder.public B prefColumnCount(int x)
prefColumnCount property for the instance constructed by this builder.public B promptText(java.lang.String x)
promptText property for the instance constructed by this builder.promptText in class TextInputControlBuilder<B extends TextFieldBuilder<B>>Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.