Uses of Class
io.github.sosuisen.jfxbuilder.graphics.SceneBuilder
Packages that use SceneBuilder
-
Uses of SceneBuilder in io.github.sosuisen.jfxbuilder.graphics
Methods in io.github.sosuisen.jfxbuilder.graphics that return SceneBuilderModifier and TypeMethodDescriptionfinal SceneBuilder
SceneBuilder.addStylesheets
(String... elements) Calls theaddAll
method on the ObservableList returned by theScene#getStylesheets()
method.final SceneBuilder
SceneBuilder.addStylesheets
(Collection<? extends String> col) Calls theaddAll
method on the ObservableList returned by theScene#getStylesheets()
method.SceneBuilder.addStylesheetsText
(String css) Utility setter to add CSS string for this scene's contents.SceneBuilder.antiAliasing
(SceneAntialiasing antiAliasing) Sets the antiAliasing of the scene.Applies a function to the Scene instance being constructed.A builder method that invokes thesetCamera
method on the instance being constructed.SceneBuilder.cameraPropertyApply
(Consumer<ObjectProperty<Camera>> op) Applies a function to thecameraProperty
of the instance being constructed.static SceneBuilder
Accepts the constructor arguments ofScene(Parent)
and returns an instance of the SceneBuilder.static SceneBuilder
Accepts the constructor arguments ofScene(Parent, double, double)
and returns an instance of the SceneBuilder.static SceneBuilder
Accepts the constructor arguments ofScene(Parent, double, double, boolean)
and returns an instance of the SceneBuilder.static SceneBuilder
SceneBuilder.create
(Parent root, double width, double height, boolean depthBuffer, SceneAntialiasing antiAliasing) Accepts the constructor arguments ofScene(Parent, double, double, boolean, SceneAntialiasing)
and returns an instance of the SceneBuilder.static SceneBuilder
Accepts the constructor arguments ofScene(Parent, double, double Paint)
and returns an instance of the SceneBuilder.static SceneBuilder
Accepts the constructor arguments ofScene(Parent, Paint)
and returns an instance of the SceneBuilder.A builder method that invokes thesetCursor
method on the instance being constructed.SceneBuilder.cursorPropertyApply
(Consumer<ObjectProperty<Cursor>> op) Applies a function to thecursorProperty
of the instance being constructed.SceneBuilder.depthBuffer
(boolean depthBuffer) Sets the depthBuffer of the scene.SceneBuilder.effectiveNodeOrientationPropertyApply
(Consumer<ReadOnlyObjectProperty<NodeOrientation>> op) Applies a function to theeffectiveNodeOrientationProperty
of the instance being constructed.SceneBuilder.eventDispatcher
(EventDispatcher value) A builder method that invokes thesetEventDispatcher
method on the instance being constructed.SceneBuilder.eventDispatcherPropertyApply
(Consumer<ObjectProperty<EventDispatcher>> op) Applies a function to theeventDispatcherProperty
of the instance being constructed.A builder method that invokes thesetFill
method on the instance being constructed.SceneBuilder.fillPropertyApply
(Consumer<ObjectProperty<Paint>> op) Applies a function to thefillProperty
of the instance being constructed.SceneBuilder.focusOwnerPropertyApply
(Consumer<ReadOnlyObjectProperty<Node>> op) Applies a function to thefocusOwnerProperty
of the instance being constructed.SceneBuilder.height
(double height) Sets the height of the scene.SceneBuilder.heightPropertyApply
(Consumer<ReadOnlyDoubleProperty> op) Applies a function to theheightProperty
of the instance being constructed.SceneBuilder.nodeOrientation
(NodeOrientation orientation) A builder method that invokes thesetNodeOrientation
method on the instance being constructed.SceneBuilder.nodeOrientationPropertyApply
(Consumer<ObjectProperty<NodeOrientation>> op) Applies a function to thenodeOrientationProperty
of the instance being constructed.SceneBuilder.onContextMenuRequested
(EventHandler<? super ContextMenuEvent> value) A builder method that invokes thesetOnContextMenuRequested
method on the instance being constructed.SceneBuilder.onContextMenuRequestedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super ContextMenuEvent>>> op) Applies a function to theonContextMenuRequestedProperty
of the instance being constructed.SceneBuilder.onDragDetected
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnDragDetected
method on the instance being constructed.SceneBuilder.onDragDetectedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonDragDetectedProperty
of the instance being constructed.SceneBuilder.onDragDone
(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragDone
method on the instance being constructed.SceneBuilder.onDragDonePropertyApply
(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragDoneProperty
of the instance being constructed.SceneBuilder.onDragDropped
(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragDropped
method on the instance being constructed.SceneBuilder.onDragDroppedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragDroppedProperty
of the instance being constructed.SceneBuilder.onDragEntered
(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragEntered
method on the instance being constructed.SceneBuilder.onDragEnteredPropertyApply
(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragEnteredProperty
of the instance being constructed.SceneBuilder.onDragExited
(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragExited
method on the instance being constructed.SceneBuilder.onDragExitedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragExitedProperty
of the instance being constructed.SceneBuilder.onDragOver
(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragOver
method on the instance being constructed.SceneBuilder.onDragOverPropertyApply
(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragOverProperty
of the instance being constructed.SceneBuilder.onInputMethodTextChanged
(EventHandler<? super InputMethodEvent> value) A builder method that invokes thesetOnInputMethodTextChanged
method on the instance being constructed.SceneBuilder.onInputMethodTextChangedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super InputMethodEvent>>> op) Applies a function to theonInputMethodTextChangedProperty
of the instance being constructed.SceneBuilder.onKeyPressed
(EventHandler<? super KeyEvent> value) A builder method that invokes thesetOnKeyPressed
method on the instance being constructed.SceneBuilder.onKeyPressedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyPressedProperty
of the instance being constructed.SceneBuilder.onKeyReleased
(EventHandler<? super KeyEvent> value) A builder method that invokes thesetOnKeyReleased
method on the instance being constructed.SceneBuilder.onKeyReleasedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyReleasedProperty
of the instance being constructed.SceneBuilder.onKeyTyped
(EventHandler<? super KeyEvent> value) A builder method that invokes thesetOnKeyTyped
method on the instance being constructed.SceneBuilder.onKeyTypedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyTypedProperty
of the instance being constructed.SceneBuilder.onMouseClicked
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseClicked
method on the instance being constructed.SceneBuilder.onMouseClickedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseClickedProperty
of the instance being constructed.SceneBuilder.onMouseDragEntered
(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragEntered
method on the instance being constructed.SceneBuilder.onMouseDragEnteredPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragEnteredProperty
of the instance being constructed.SceneBuilder.onMouseDragExited
(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragExited
method on the instance being constructed.SceneBuilder.onMouseDragExitedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragExitedProperty
of the instance being constructed.SceneBuilder.onMouseDragged
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseDragged
method on the instance being constructed.SceneBuilder.onMouseDraggedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseDraggedProperty
of the instance being constructed.SceneBuilder.onMouseDragOver
(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragOver
method on the instance being constructed.SceneBuilder.onMouseDragOverPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragOverProperty
of the instance being constructed.SceneBuilder.onMouseDragReleased
(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragReleased
method on the instance being constructed.SceneBuilder.onMouseDragReleasedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragReleasedProperty
of the instance being constructed.SceneBuilder.onMouseEntered
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseEntered
method on the instance being constructed.SceneBuilder.onMouseEnteredPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseEnteredProperty
of the instance being constructed.SceneBuilder.onMouseExited
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseExited
method on the instance being constructed.SceneBuilder.onMouseExitedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseExitedProperty
of the instance being constructed.SceneBuilder.onMouseMoved
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseMoved
method on the instance being constructed.SceneBuilder.onMouseMovedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseMovedProperty
of the instance being constructed.SceneBuilder.onMousePressed
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMousePressed
method on the instance being constructed.SceneBuilder.onMousePressedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMousePressedProperty
of the instance being constructed.SceneBuilder.onMouseReleased
(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseReleased
method on the instance being constructed.SceneBuilder.onMouseReleasedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseReleasedProperty
of the instance being constructed.SceneBuilder.onRotate
(EventHandler<? super RotateEvent> value) A builder method that invokes thesetOnRotate
method on the instance being constructed.SceneBuilder.onRotatePropertyApply
(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotateProperty
of the instance being constructed.SceneBuilder.onRotationFinished
(EventHandler<? super RotateEvent> value) A builder method that invokes thesetOnRotationFinished
method on the instance being constructed.SceneBuilder.onRotationFinishedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotationFinishedProperty
of the instance being constructed.SceneBuilder.onRotationStarted
(EventHandler<? super RotateEvent> value) A builder method that invokes thesetOnRotationStarted
method on the instance being constructed.SceneBuilder.onRotationStartedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotationStartedProperty
of the instance being constructed.SceneBuilder.onScroll
(EventHandler<? super ScrollEvent> value) A builder method that invokes thesetOnScroll
method on the instance being constructed.SceneBuilder.onScrollFinished
(EventHandler<? super ScrollEvent> value) A builder method that invokes thesetOnScrollFinished
method on the instance being constructed.SceneBuilder.onScrollFinishedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollFinishedProperty
of the instance being constructed.SceneBuilder.onScrollPropertyApply
(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollProperty
of the instance being constructed.SceneBuilder.onScrollStarted
(EventHandler<? super ScrollEvent> value) A builder method that invokes thesetOnScrollStarted
method on the instance being constructed.SceneBuilder.onScrollStartedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollStartedProperty
of the instance being constructed.SceneBuilder.onSwipeDown
(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeDown
method on the instance being constructed.SceneBuilder.onSwipeDownPropertyApply
(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeDownProperty
of the instance being constructed.SceneBuilder.onSwipeLeft
(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeLeft
method on the instance being constructed.SceneBuilder.onSwipeLeftPropertyApply
(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeLeftProperty
of the instance being constructed.SceneBuilder.onSwipeRight
(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeRight
method on the instance being constructed.SceneBuilder.onSwipeRightPropertyApply
(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeRightProperty
of the instance being constructed.SceneBuilder.onSwipeUp
(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeUp
method on the instance being constructed.SceneBuilder.onSwipeUpPropertyApply
(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeUpProperty
of the instance being constructed.SceneBuilder.onTouchMoved
(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchMoved
method on the instance being constructed.SceneBuilder.onTouchMovedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchMovedProperty
of the instance being constructed.SceneBuilder.onTouchPressed
(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchPressed
method on the instance being constructed.SceneBuilder.onTouchPressedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchPressedProperty
of the instance being constructed.SceneBuilder.onTouchReleased
(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchReleased
method on the instance being constructed.SceneBuilder.onTouchReleasedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchReleasedProperty
of the instance being constructed.SceneBuilder.onTouchStationary
(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchStationary
method on the instance being constructed.SceneBuilder.onTouchStationaryPropertyApply
(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchStationaryProperty
of the instance being constructed.SceneBuilder.onZoom
(EventHandler<? super ZoomEvent> value) A builder method that invokes thesetOnZoom
method on the instance being constructed.SceneBuilder.onZoomFinished
(EventHandler<? super ZoomEvent> value) A builder method that invokes thesetOnZoomFinished
method on the instance being constructed.SceneBuilder.onZoomFinishedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomFinishedProperty
of the instance being constructed.SceneBuilder.onZoomPropertyApply
(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomProperty
of the instance being constructed.SceneBuilder.onZoomStarted
(EventHandler<? super ZoomEvent> value) A builder method that invokes thesetOnZoomStarted
method on the instance being constructed.SceneBuilder.onZoomStartedPropertyApply
(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomStartedProperty
of the instance being constructed.A builder method that invokes thesetRoot
method on the instance being constructed.SceneBuilder.rootPropertyApply
(Consumer<ObjectProperty<Parent>> op) Applies a function to therootProperty
of the instance being constructed.SceneBuilder.userAgentStylesheet
(String url) A builder method that invokes thesetUserAgentStylesheet
method on the instance being constructed.SceneBuilder.userAgentStylesheetPropertyApply
(Consumer<ObjectProperty<String>> op) Applies a function to theuserAgentStylesheetProperty
of the instance being constructed.A builder method that invokes thesetUserData
method on the instance being constructed.SceneBuilder.width
(double width) Sets the width of the scene.SceneBuilder.widthPropertyApply
(Consumer<ReadOnlyDoubleProperty> op) Applies a function to thewidthProperty
of the instance being constructed.SceneBuilder.windowPropertyApply
(Consumer<ReadOnlyObjectProperty<Window>> op) Applies a function to thewindowProperty
of the instance being constructed.static SceneBuilder
Performs the same processing as thecreate(javafx.scene.Parent)
method.SceneBuilder.xPropertyApply
(Consumer<ReadOnlyDoubleProperty> op) Applies a function to thexProperty
of the instance being constructed.SceneBuilder.yPropertyApply
(Consumer<ReadOnlyDoubleProperty> op) Applies a function to theyProperty
of the instance being constructed.