| Modifier | Constructor and Description |
|---|---|
protected |
SceneBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(Scene x) |
Scene |
build()
Make an instance of
Scene based on the properties set on this builder. |
B |
camera(Camera x)
Set the value of the
camera property for the instance constructed by this builder. |
static SceneBuilder<?> |
create()
Creates a new instance of SceneBuilder.
|
B |
cursor(Cursor x)
Set the value of the
cursor property for the instance constructed by this builder. |
B |
depthBuffer(boolean x)
Set the value of the
depthBuffer property for the instance constructed by this builder. |
B |
eventDispatcher(EventDispatcher x)
Set the value of the
eventDispatcher property for the instance constructed by this builder. |
B |
fill(Paint x)
Set the value of the
fill property for the instance constructed by this builder. |
B |
height(double x)
Set the value of the
height property for the instance constructed by this builder. |
B |
onContextMenuRequested(EventHandler<? super ContextMenuEvent> x)
Set the value of the
onContextMenuRequested property for the instance constructed by this builder. |
B |
onDragDetected(EventHandler<? super MouseEvent> x)
Set the value of the
onDragDetected property for the instance constructed by this builder. |
B |
onDragDone(EventHandler<? super DragEvent> x)
Set the value of the
onDragDone property for the instance constructed by this builder. |
B |
onDragDropped(EventHandler<? super DragEvent> x)
Set the value of the
onDragDropped property for the instance constructed by this builder. |
B |
onDragEntered(EventHandler<? super DragEvent> x)
Set the value of the
onDragEntered property for the instance constructed by this builder. |
B |
onDragExited(EventHandler<? super DragEvent> x)
Set the value of the
onDragExited property for the instance constructed by this builder. |
B |
onDragOver(EventHandler<? super DragEvent> x)
Set the value of the
onDragOver property for the instance constructed by this builder. |
B |
onInputMethodTextChanged(EventHandler<? super InputMethodEvent> x)
Set the value of the
onInputMethodTextChanged property for the instance constructed by this builder. |
B |
onKeyPressed(EventHandler<? super KeyEvent> x)
Set the value of the
onKeyPressed property for the instance constructed by this builder. |
B |
onKeyReleased(EventHandler<? super KeyEvent> x)
Set the value of the
onKeyReleased property for the instance constructed by this builder. |
B |
onKeyTyped(EventHandler<? super KeyEvent> x)
Set the value of the
onKeyTyped property for the instance constructed by this builder. |
B |
onMouseClicked(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseClicked property for the instance constructed by this builder. |
B |
onMouseDragEntered(EventHandler<? super MouseDragEvent> x)
Set the value of the
onMouseDragEntered property for the instance constructed by this builder. |
B |
onMouseDragExited(EventHandler<? super MouseDragEvent> x)
Set the value of the
onMouseDragExited property for the instance constructed by this builder. |
B |
onMouseDragged(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseDragged property for the instance constructed by this builder. |
B |
onMouseDragOver(EventHandler<? super MouseDragEvent> x)
Set the value of the
onMouseDragOver property for the instance constructed by this builder. |
B |
onMouseDragReleased(EventHandler<? super MouseDragEvent> x)
Set the value of the
onMouseDragReleased property for the instance constructed by this builder. |
B |
onMouseEntered(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseEntered property for the instance constructed by this builder. |
B |
onMouseExited(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseExited property for the instance constructed by this builder. |
B |
onMouseMoved(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseMoved property for the instance constructed by this builder. |
B |
onMousePressed(EventHandler<? super MouseEvent> x)
Set the value of the
onMousePressed property for the instance constructed by this builder. |
B |
onMouseReleased(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseReleased property for the instance constructed by this builder. |
B |
onRotate(EventHandler<? super RotateEvent> x)
Set the value of the
onRotate property for the instance constructed by this builder. |
B |
onRotationFinished(EventHandler<? super RotateEvent> x)
Set the value of the
onRotationFinished property for the instance constructed by this builder. |
B |
onRotationStarted(EventHandler<? super RotateEvent> x)
Set the value of the
onRotationStarted property for the instance constructed by this builder. |
B |
onScroll(EventHandler<? super ScrollEvent> x)
Set the value of the
onScroll property for the instance constructed by this builder. |
B |
onScrollFinished(EventHandler<? super ScrollEvent> x)
Set the value of the
onScrollFinished property for the instance constructed by this builder. |
B |
onScrollStarted(EventHandler<? super ScrollEvent> x)
Set the value of the
onScrollStarted property for the instance constructed by this builder. |
B |
onSwipeDown(EventHandler<? super SwipeEvent> x)
Set the value of the
onSwipeDown property for the instance constructed by this builder. |
B |
onSwipeLeft(EventHandler<? super SwipeEvent> x)
Set the value of the
onSwipeLeft property for the instance constructed by this builder. |
B |
onSwipeRight(EventHandler<? super SwipeEvent> x)
Set the value of the
onSwipeRight property for the instance constructed by this builder. |
B |
onSwipeUp(EventHandler<? super SwipeEvent> x)
Set the value of the
onSwipeUp property for the instance constructed by this builder. |
B |
onTouchMoved(EventHandler<? super TouchEvent> x)
Set the value of the
onTouchMoved property for the instance constructed by this builder. |
B |
onTouchPressed(EventHandler<? super TouchEvent> x)
Set the value of the
onTouchPressed property for the instance constructed by this builder. |
B |
onTouchReleased(EventHandler<? super TouchEvent> x)
Set the value of the
onTouchReleased property for the instance constructed by this builder. |
B |
onTouchStationary(EventHandler<? super TouchEvent> x)
Set the value of the
onTouchStationary property for the instance constructed by this builder. |
B |
onZoom(EventHandler<? super ZoomEvent> x)
Set the value of the
onZoom property for the instance constructed by this builder. |
B |
onZoomFinished(EventHandler<? super ZoomEvent> x)
Set the value of the
onZoomFinished property for the instance constructed by this builder. |
B |
onZoomStarted(EventHandler<? super ZoomEvent> x)
Set the value of the
onZoomStarted property for the instance constructed by this builder. |
B |
root(Parent x)
Set the value of the
root property for the instance constructed by this builder. |
B |
stylesheets(java.util.Collection<? extends java.lang.String> x)
Add the given items to the List of items in the
stylesheets property for the instance constructed by this builder. |
B |
stylesheets(java.lang.String... x)
Add the given items to the List of items in the
stylesheets property for the instance constructed by this builder. |
B |
width(double x)
Set the value of the
width property for the instance constructed by this builder. |
public static SceneBuilder<?> create()
public void applyTo(Scene x)
public B camera(Camera x)
camera property for the instance constructed by this builder.public B cursor(Cursor x)
cursor property for the instance constructed by this builder.public B depthBuffer(boolean x)
depthBuffer property for the instance constructed by this builder.public B eventDispatcher(EventDispatcher x)
eventDispatcher property for the instance constructed by this builder.public B fill(Paint x)
fill property for the instance constructed by this builder.public B height(double x)
height property for the instance constructed by this builder.public B onContextMenuRequested(EventHandler<? super ContextMenuEvent> x)
onContextMenuRequested property for the instance constructed by this builder.public B onDragDetected(EventHandler<? super MouseEvent> x)
onDragDetected property for the instance constructed by this builder.public B onDragDone(EventHandler<? super DragEvent> x)
onDragDone property for the instance constructed by this builder.public B onDragDropped(EventHandler<? super DragEvent> x)
onDragDropped property for the instance constructed by this builder.public B onDragEntered(EventHandler<? super DragEvent> x)
onDragEntered property for the instance constructed by this builder.public B onDragExited(EventHandler<? super DragEvent> x)
onDragExited property for the instance constructed by this builder.public B onDragOver(EventHandler<? super DragEvent> x)
onDragOver property for the instance constructed by this builder.public B onInputMethodTextChanged(EventHandler<? super InputMethodEvent> x)
onInputMethodTextChanged property for the instance constructed by this builder.public B onKeyPressed(EventHandler<? super KeyEvent> x)
onKeyPressed property for the instance constructed by this builder.public B onKeyReleased(EventHandler<? super KeyEvent> x)
onKeyReleased property for the instance constructed by this builder.public B onKeyTyped(EventHandler<? super KeyEvent> x)
onKeyTyped property for the instance constructed by this builder.public B onMouseClicked(EventHandler<? super MouseEvent> x)
onMouseClicked property for the instance constructed by this builder.public B onMouseDragEntered(EventHandler<? super MouseDragEvent> x)
onMouseDragEntered property for the instance constructed by this builder.public B onMouseDragExited(EventHandler<? super MouseDragEvent> x)
onMouseDragExited property for the instance constructed by this builder.public B onMouseDragged(EventHandler<? super MouseEvent> x)
onMouseDragged property for the instance constructed by this builder.public B onMouseDragOver(EventHandler<? super MouseDragEvent> x)
onMouseDragOver property for the instance constructed by this builder.public B onMouseDragReleased(EventHandler<? super MouseDragEvent> x)
onMouseDragReleased property for the instance constructed by this builder.public B onMouseEntered(EventHandler<? super MouseEvent> x)
onMouseEntered property for the instance constructed by this builder.public B onMouseExited(EventHandler<? super MouseEvent> x)
onMouseExited property for the instance constructed by this builder.public B onMouseMoved(EventHandler<? super MouseEvent> x)
onMouseMoved property for the instance constructed by this builder.public B onMousePressed(EventHandler<? super MouseEvent> x)
onMousePressed property for the instance constructed by this builder.public B onMouseReleased(EventHandler<? super MouseEvent> x)
onMouseReleased property for the instance constructed by this builder.public B onRotate(EventHandler<? super RotateEvent> x)
onRotate property for the instance constructed by this builder.public B onRotationFinished(EventHandler<? super RotateEvent> x)
onRotationFinished property for the instance constructed by this builder.public B onRotationStarted(EventHandler<? super RotateEvent> x)
onRotationStarted property for the instance constructed by this builder.public B onScroll(EventHandler<? super ScrollEvent> x)
onScroll property for the instance constructed by this builder.public B onScrollFinished(EventHandler<? super ScrollEvent> x)
onScrollFinished property for the instance constructed by this builder.public B onScrollStarted(EventHandler<? super ScrollEvent> x)
onScrollStarted property for the instance constructed by this builder.public B onSwipeDown(EventHandler<? super SwipeEvent> x)
onSwipeDown property for the instance constructed by this builder.public B onSwipeLeft(EventHandler<? super SwipeEvent> x)
onSwipeLeft property for the instance constructed by this builder.public B onSwipeRight(EventHandler<? super SwipeEvent> x)
onSwipeRight property for the instance constructed by this builder.public B onSwipeUp(EventHandler<? super SwipeEvent> x)
onSwipeUp property for the instance constructed by this builder.public B onTouchMoved(EventHandler<? super TouchEvent> x)
onTouchMoved property for the instance constructed by this builder.public B onTouchPressed(EventHandler<? super TouchEvent> x)
onTouchPressed property for the instance constructed by this builder.public B onTouchReleased(EventHandler<? super TouchEvent> x)
onTouchReleased property for the instance constructed by this builder.public B onTouchStationary(EventHandler<? super TouchEvent> x)
onTouchStationary property for the instance constructed by this builder.public B onZoom(EventHandler<? super ZoomEvent> x)
onZoom property for the instance constructed by this builder.public B onZoomFinished(EventHandler<? super ZoomEvent> x)
onZoomFinished property for the instance constructed by this builder.public B onZoomStarted(EventHandler<? super ZoomEvent> x)
onZoomStarted property for the instance constructed by this builder.public B root(Parent x)
root property for the instance constructed by this builder.public B stylesheets(java.util.Collection<? extends java.lang.String> x)
stylesheets property for the instance constructed by this builder.public B stylesheets(java.lang.String... x)
stylesheets property for the instance constructed by this builder.public B width(double x)
width property for the instance constructed by this builder.Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.