Class SceneBuilder
SceneBuilder class constructs instances of the Scene class
and offers a fluent interface for creating and configuring it.
This class includes a static create method that accepts the constructor arguments of the original Scene constructor
and returns an instance of the SceneBuilder.
You can use method chaining to call the builder methods for configuring the Scene.
Finally, invoke the build method to generate an instance of the Scene class.
Note 1: Intermediate builder methods are not evaluated until the build method
is called, meaning they are evaluated lazily.
Note 2: The Scene class does not have setters for the constructor arguments
width, height, depthBuffer, and antiAliasing,
but SceneBuilder provides setters for them.
Example:
Scene scene = SceneBuilder
.withRoot(
HBoxBuilder
.withChildren(
TextFieldBuilder.create()
.textPropertyApply(prop -> prop.bindBidirectional(textProp))
.style("""
-fx-font-weight: bold;
-fx-alignment: center;
""")
.hGrowInHBox(Priority.ALWAYS)
.maxWidth(Double.MAX_VALUE)
.build(),
ButtonBuilder.create()
.text("Send")
.onAction(e -> System.out.println("Sending..."))
.minWidth(50)
.build()
)
.padding(new Insets(10))
.build()
)
.width(150) // custom setter
.height(100) // custom setter
.build();
- Author:
- Hidekazu Kubota <hidekazu.kubota@gmail.com>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SceneAntialiasingstatic final booleanfalsestatic final double-1static final double-1 -
Method Summary
Modifier and TypeMethodDescriptionfinal SceneBuilderaddStylesheets(String... elements) Calls theaddAllmethod on the ObservableList returned by theScene#getStylesheets()method.final SceneBuilderaddStylesheets(Collection<? extends String> col) Calls theaddAllmethod on the ObservableList returned by theScene#getStylesheets()method.addStylesheetsText(String css) Utility setter to add CSS string for this scene's contents.antiAliasing(SceneAntialiasing antiAliasing) Sets the antiAliasing of the scene.Applies a function to the Scene instance being constructed.build()Builds and returns an instance of theSceneclass.A builder method that invokes thesetCameramethod on the instance being constructed.Applies a function to thecameraPropertyof the instance being constructed.static SceneBuilderAccepts the constructor arguments ofScene(Parent)and returns an instance of the SceneBuilder.static SceneBuilderAccepts the constructor arguments ofScene(Parent, double, double)and returns an instance of the SceneBuilder.static SceneBuilderAccepts the constructor arguments ofScene(Parent, double, double, boolean)and returns an instance of the SceneBuilder.static SceneBuildercreate(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 SceneBuilderAccepts the constructor arguments ofScene(Parent, double, double Paint)and returns an instance of the SceneBuilder.static SceneBuilderAccepts the constructor arguments ofScene(Parent, Paint)and returns an instance of the SceneBuilder.A builder method that invokes thesetCursormethod on the instance being constructed.Applies a function to thecursorPropertyof the instance being constructed.depthBuffer(boolean depthBuffer) Sets the depthBuffer of the scene.Applies a function to theeffectiveNodeOrientationPropertyof the instance being constructed.eventDispatcher(EventDispatcher value) A builder method that invokes thesetEventDispatchermethod on the instance being constructed.Applies a function to theeventDispatcherPropertyof the instance being constructed.A builder method that invokes thesetFillmethod on the instance being constructed.Applies a function to thefillPropertyof the instance being constructed.Applies a function to thefocusOwnerPropertyof the instance being constructed.height(double height) Sets the height of the scene.Applies a function to theheightPropertyof the instance being constructed.nodeOrientation(NodeOrientation orientation) A builder method that invokes thesetNodeOrientationmethod on the instance being constructed.Applies a function to thenodeOrientationPropertyof the instance being constructed.onContextMenuRequested(EventHandler<? super ContextMenuEvent> value) A builder method that invokes thesetOnContextMenuRequestedmethod on the instance being constructed.onContextMenuRequestedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ContextMenuEvent>>> op) Applies a function to theonContextMenuRequestedPropertyof the instance being constructed.onDragDetected(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnDragDetectedmethod on the instance being constructed.onDragDetectedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonDragDetectedPropertyof the instance being constructed.onDragDone(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragDonemethod on the instance being constructed.onDragDonePropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragDonePropertyof the instance being constructed.onDragDropped(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragDroppedmethod on the instance being constructed.onDragDroppedPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragDroppedPropertyof the instance being constructed.onDragEntered(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragEnteredmethod on the instance being constructed.onDragEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragEnteredPropertyof the instance being constructed.onDragExited(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragExitedmethod on the instance being constructed.onDragExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragExitedPropertyof the instance being constructed.onDragOver(EventHandler<? super DragEvent> value) A builder method that invokes thesetOnDragOvermethod on the instance being constructed.onDragOverPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragOverPropertyof the instance being constructed.onInputMethodTextChanged(EventHandler<? super InputMethodEvent> value) A builder method that invokes thesetOnInputMethodTextChangedmethod on the instance being constructed.onInputMethodTextChangedPropertyApply(Consumer<ObjectProperty<EventHandler<? super InputMethodEvent>>> op) Applies a function to theonInputMethodTextChangedPropertyof the instance being constructed.onKeyPressed(EventHandler<? super KeyEvent> value) A builder method that invokes thesetOnKeyPressedmethod on the instance being constructed.onKeyPressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyPressedPropertyof the instance being constructed.onKeyReleased(EventHandler<? super KeyEvent> value) A builder method that invokes thesetOnKeyReleasedmethod on the instance being constructed.onKeyReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyReleasedPropertyof the instance being constructed.onKeyTyped(EventHandler<? super KeyEvent> value) A builder method that invokes thesetOnKeyTypedmethod on the instance being constructed.onKeyTypedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyTypedPropertyof the instance being constructed.onMouseClicked(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseClickedmethod on the instance being constructed.onMouseClickedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseClickedPropertyof the instance being constructed.onMouseDragEntered(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragEnteredmethod on the instance being constructed.Applies a function to theonMouseDragEnteredPropertyof the instance being constructed.onMouseDragExited(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragExitedmethod on the instance being constructed.Applies a function to theonMouseDragExitedPropertyof the instance being constructed.onMouseDragged(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseDraggedmethod on the instance being constructed.onMouseDraggedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseDraggedPropertyof the instance being constructed.onMouseDragOver(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragOvermethod on the instance being constructed.onMouseDragOverPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragOverPropertyof the instance being constructed.onMouseDragReleased(EventHandler<? super MouseDragEvent> value) A builder method that invokes thesetOnMouseDragReleasedmethod on the instance being constructed.Applies a function to theonMouseDragReleasedPropertyof the instance being constructed.onMouseEntered(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseEnteredmethod on the instance being constructed.onMouseEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseEnteredPropertyof the instance being constructed.onMouseExited(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseExitedmethod on the instance being constructed.onMouseExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseExitedPropertyof the instance being constructed.onMouseMoved(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseMovedmethod on the instance being constructed.onMouseMovedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseMovedPropertyof the instance being constructed.onMousePressed(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMousePressedmethod on the instance being constructed.onMousePressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMousePressedPropertyof the instance being constructed.onMouseReleased(EventHandler<? super MouseEvent> value) A builder method that invokes thesetOnMouseReleasedmethod on the instance being constructed.onMouseReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseReleasedPropertyof the instance being constructed.onRotate(EventHandler<? super RotateEvent> value) A builder method that invokes thesetOnRotatemethod on the instance being constructed.onRotatePropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotatePropertyof the instance being constructed.onRotationFinished(EventHandler<? super RotateEvent> value) A builder method that invokes thesetOnRotationFinishedmethod on the instance being constructed.onRotationFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotationFinishedPropertyof the instance being constructed.onRotationStarted(EventHandler<? super RotateEvent> value) A builder method that invokes thesetOnRotationStartedmethod on the instance being constructed.onRotationStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotationStartedPropertyof the instance being constructed.onScroll(EventHandler<? super ScrollEvent> value) A builder method that invokes thesetOnScrollmethod on the instance being constructed.onScrollFinished(EventHandler<? super ScrollEvent> value) A builder method that invokes thesetOnScrollFinishedmethod on the instance being constructed.onScrollFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollFinishedPropertyof the instance being constructed.onScrollPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollPropertyof the instance being constructed.onScrollStarted(EventHandler<? super ScrollEvent> value) A builder method that invokes thesetOnScrollStartedmethod on the instance being constructed.onScrollStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollStartedPropertyof the instance being constructed.onSwipeDown(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeDownmethod on the instance being constructed.onSwipeDownPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeDownPropertyof the instance being constructed.onSwipeLeft(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeLeftmethod on the instance being constructed.onSwipeLeftPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeLeftPropertyof the instance being constructed.onSwipeRight(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeRightmethod on the instance being constructed.onSwipeRightPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeRightPropertyof the instance being constructed.onSwipeUp(EventHandler<? super SwipeEvent> value) A builder method that invokes thesetOnSwipeUpmethod on the instance being constructed.onSwipeUpPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeUpPropertyof the instance being constructed.onTouchMoved(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchMovedmethod on the instance being constructed.onTouchMovedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchMovedPropertyof the instance being constructed.onTouchPressed(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchPressedmethod on the instance being constructed.onTouchPressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchPressedPropertyof the instance being constructed.onTouchReleased(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchReleasedmethod on the instance being constructed.onTouchReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchReleasedPropertyof the instance being constructed.onTouchStationary(EventHandler<? super TouchEvent> value) A builder method that invokes thesetOnTouchStationarymethod on the instance being constructed.onTouchStationaryPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchStationaryPropertyof the instance being constructed.onZoom(EventHandler<? super ZoomEvent> value) A builder method that invokes thesetOnZoommethod on the instance being constructed.onZoomFinished(EventHandler<? super ZoomEvent> value) A builder method that invokes thesetOnZoomFinishedmethod on the instance being constructed.onZoomFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomFinishedPropertyof the instance being constructed.onZoomPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomPropertyof the instance being constructed.onZoomStarted(EventHandler<? super ZoomEvent> value) A builder method that invokes thesetOnZoomStartedmethod on the instance being constructed.onZoomStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomStartedPropertyof the instance being constructed.A builder method that invokes thesetRootmethod on the instance being constructed.Applies a function to therootPropertyof the instance being constructed.A builder method that invokes thesetUserAgentStylesheetmethod on the instance being constructed.Applies a function to theuserAgentStylesheetPropertyof the instance being constructed.A builder method that invokes thesetUserDatamethod on the instance being constructed.width(double width) Sets the width of the scene.Applies a function to thewidthPropertyof the instance being constructed.Applies a function to thewindowPropertyof the instance being constructed.static SceneBuilderPerforms the same processing as thecreate(javafx.scene.Parent)method.Applies a function to thexPropertyof the instance being constructed.Applies a function to theyPropertyof the instance being constructed.
-
Field Details
-
DEFAULT_WIDTH
public static final double DEFAULT_WIDTH-1- See Also:
-
DEFAULT_HEIGHT
public static final double DEFAULT_HEIGHT-1- See Also:
-
DEFAULT_DEPTH_BUFFER
public static final boolean DEFAULT_DEPTH_BUFFERfalse- See Also:
-
DEFAULT_ANTI_ALIASING
-
-
Method Details
-
withRoot
Performs the same processing as thecreate(javafx.scene.Parent)method. This alias ensures consistency with other methods, such as thewithChildrenmethod found in container classes.- Returns:
- an instance of the SceneBuilder.
-
width
Sets the width of the scene. The default value isDEFAULT_WIDTH.- Returns:
- builder instance
-
height
Sets the height of the scene. The default value isDEFAULT_HEIGHT.- Returns:
- builder instance
-
depthBuffer
Sets the depthBuffer of the scene. The default value isDEFAULT_DEPTH_BUFFER.- Returns:
- builder instance
-
antiAliasing
Sets the antiAliasing of the scene. The default value isDEFAULT_ANTI_ALIASING.- Returns:
- builder instance
-
create
Accepts the constructor arguments ofScene(Parent)and returns an instance of the SceneBuilder.- Returns:
- an instance of the SceneBuilder.
-
create
Accepts the constructor arguments ofScene(Parent, Paint)and returns an instance of the SceneBuilder.- Returns:
- an instance of the SceneBuilder.
-
create
Accepts the constructor arguments ofScene(Parent, double, double)and returns an instance of the SceneBuilder.- Returns:
- an instance of the SceneBuilder.
-
create
Accepts the constructor arguments ofScene(Parent, double, double Paint)and returns an instance of the SceneBuilder.- Returns:
- an instance of the SceneBuilder.
-
create
Accepts the constructor arguments ofScene(Parent, double, double, boolean)and returns an instance of the SceneBuilder.- Returns:
- an instance of the SceneBuilder.
-
create
public static 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.- Returns:
- an instance of the SceneBuilder.
-
build
-
addStylesheetsText
Utility setter to add CSS string for this scene's contents. For example:SceneBuilder builder = SceneBuilder.create() .addStylesheetsText(".my-label { -fx-text-fill: white; }") .build();- Parameters:
css- CSS string
-
apply
Applies a function to the Scene instance being constructed. Most operations on the instance can be performed using this method.- Returns:
- builder instance
-
camera
A builder method that invokes thesetCameramethod on the instance being constructed.- Returns:
- builder instance
-
cursor
A builder method that invokes thesetCursormethod on the instance being constructed.- Returns:
- builder instance
-
eventDispatcher
A builder method that invokes thesetEventDispatchermethod on the instance being constructed.- Returns:
- builder instance
-
fill
A builder method that invokes thesetFillmethod on the instance being constructed.- Returns:
- builder instance
-
nodeOrientation
A builder method that invokes thesetNodeOrientationmethod on the instance being constructed.- Returns:
- builder instance
-
onContextMenuRequested
A builder method that invokes thesetOnContextMenuRequestedmethod on the instance being constructed.- Returns:
- builder instance
-
onDragDetected
A builder method that invokes thesetOnDragDetectedmethod on the instance being constructed.- Returns:
- builder instance
-
onDragDone
A builder method that invokes thesetOnDragDonemethod on the instance being constructed.- Returns:
- builder instance
-
onDragDropped
A builder method that invokes thesetOnDragDroppedmethod on the instance being constructed.- Returns:
- builder instance
-
onDragEntered
A builder method that invokes thesetOnDragEnteredmethod on the instance being constructed.- Returns:
- builder instance
-
onDragExited
A builder method that invokes thesetOnDragExitedmethod on the instance being constructed.- Returns:
- builder instance
-
onDragOver
A builder method that invokes thesetOnDragOvermethod on the instance being constructed.- Returns:
- builder instance
-
onInputMethodTextChanged
A builder method that invokes thesetOnInputMethodTextChangedmethod on the instance being constructed.- Returns:
- builder instance
-
onKeyPressed
A builder method that invokes thesetOnKeyPressedmethod on the instance being constructed.- Returns:
- builder instance
-
onKeyReleased
A builder method that invokes thesetOnKeyReleasedmethod on the instance being constructed.- Returns:
- builder instance
-
onKeyTyped
A builder method that invokes thesetOnKeyTypedmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseClicked
A builder method that invokes thesetOnMouseClickedmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseDragEntered
A builder method that invokes thesetOnMouseDragEnteredmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseDragExited
A builder method that invokes thesetOnMouseDragExitedmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseDragOver
A builder method that invokes thesetOnMouseDragOvermethod on the instance being constructed.- Returns:
- builder instance
-
onMouseDragReleased
A builder method that invokes thesetOnMouseDragReleasedmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseDragged
A builder method that invokes thesetOnMouseDraggedmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseEntered
A builder method that invokes thesetOnMouseEnteredmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseExited
A builder method that invokes thesetOnMouseExitedmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseMoved
A builder method that invokes thesetOnMouseMovedmethod on the instance being constructed.- Returns:
- builder instance
-
onMousePressed
A builder method that invokes thesetOnMousePressedmethod on the instance being constructed.- Returns:
- builder instance
-
onMouseReleased
A builder method that invokes thesetOnMouseReleasedmethod on the instance being constructed.- Returns:
- builder instance
-
onRotate
A builder method that invokes thesetOnRotatemethod on the instance being constructed.- Returns:
- builder instance
-
onRotationFinished
A builder method that invokes thesetOnRotationFinishedmethod on the instance being constructed.- Returns:
- builder instance
-
onRotationStarted
A builder method that invokes thesetOnRotationStartedmethod on the instance being constructed.- Returns:
- builder instance
-
onScroll
A builder method that invokes thesetOnScrollmethod on the instance being constructed.- Returns:
- builder instance
-
onScrollFinished
A builder method that invokes thesetOnScrollFinishedmethod on the instance being constructed.- Returns:
- builder instance
-
onScrollStarted
A builder method that invokes thesetOnScrollStartedmethod on the instance being constructed.- Returns:
- builder instance
-
onSwipeDown
A builder method that invokes thesetOnSwipeDownmethod on the instance being constructed.- Returns:
- builder instance
-
onSwipeLeft
A builder method that invokes thesetOnSwipeLeftmethod on the instance being constructed.- Returns:
- builder instance
-
onSwipeRight
A builder method that invokes thesetOnSwipeRightmethod on the instance being constructed.- Returns:
- builder instance
-
onSwipeUp
A builder method that invokes thesetOnSwipeUpmethod on the instance being constructed.- Returns:
- builder instance
-
onTouchMoved
A builder method that invokes thesetOnTouchMovedmethod on the instance being constructed.- Returns:
- builder instance
-
onTouchPressed
A builder method that invokes thesetOnTouchPressedmethod on the instance being constructed.- Returns:
- builder instance
-
onTouchReleased
A builder method that invokes thesetOnTouchReleasedmethod on the instance being constructed.- Returns:
- builder instance
-
onTouchStationary
A builder method that invokes thesetOnTouchStationarymethod on the instance being constructed.- Returns:
- builder instance
-
onZoom
A builder method that invokes thesetOnZoommethod on the instance being constructed.- Returns:
- builder instance
-
onZoomFinished
A builder method that invokes thesetOnZoomFinishedmethod on the instance being constructed.- Returns:
- builder instance
-
onZoomStarted
A builder method that invokes thesetOnZoomStartedmethod on the instance being constructed.- Returns:
- builder instance
-
root
A builder method that invokes thesetRootmethod on the instance being constructed.- Returns:
- builder instance
-
userAgentStylesheet
A builder method that invokes thesetUserAgentStylesheetmethod on the instance being constructed.- Returns:
- builder instance
-
userData
A builder method that invokes thesetUserDatamethod on the instance being constructed.- Returns:
- builder instance
-
addStylesheets
Calls theaddAllmethod on the ObservableList returned by theScene#getStylesheets()method.- Returns:
- builder instance
-
addStylesheets
Calls theaddAllmethod on the ObservableList returned by theScene#getStylesheets()method.- Returns:
- builder instance
-
cameraPropertyApply
Applies a function to thecameraPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.cameraProperty().bind(anotherProperty)) // Use shorthand form .cameraPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
cursorPropertyApply
Applies a function to thecursorPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.cursorProperty().bind(anotherProperty)) // Use shorthand form .cursorPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
effectiveNodeOrientationPropertyApply
public SceneBuilder effectiveNodeOrientationPropertyApply(Consumer<ReadOnlyObjectProperty<NodeOrientation>> op) Applies a function to theeffectiveNodeOrientationPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.effectiveNodeOrientationProperty().bind(anotherProperty)) // Use shorthand form .effectiveNodeOrientationPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
eventDispatcherPropertyApply
Applies a function to theeventDispatcherPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.eventDispatcherProperty().bind(anotherProperty)) // Use shorthand form .eventDispatcherPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
fillPropertyApply
Applies a function to thefillPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.fillProperty().bind(anotherProperty)) // Use shorthand form .fillPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
focusOwnerPropertyApply
Applies a function to thefocusOwnerPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.focusOwnerProperty().bind(anotherProperty)) // Use shorthand form .focusOwnerPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
heightPropertyApply
Applies a function to theheightPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.heightProperty().bind(anotherProperty)) // Use shorthand form .heightPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
nodeOrientationPropertyApply
Applies a function to thenodeOrientationPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.nodeOrientationProperty().bind(anotherProperty)) // Use shorthand form .nodeOrientationPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onContextMenuRequestedPropertyApply
public SceneBuilder onContextMenuRequestedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ContextMenuEvent>>> op) Applies a function to theonContextMenuRequestedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onContextMenuRequestedProperty().bind(anotherProperty)) // Use shorthand form .onContextMenuRequestedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onDragDetectedPropertyApply
public SceneBuilder onDragDetectedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonDragDetectedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onDragDetectedProperty().bind(anotherProperty)) // Use shorthand form .onDragDetectedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onDragDonePropertyApply
public SceneBuilder onDragDonePropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragDonePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onDragDoneProperty().bind(anotherProperty)) // Use shorthand form .onDragDonePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onDragDroppedPropertyApply
public SceneBuilder onDragDroppedPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragDroppedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onDragDroppedProperty().bind(anotherProperty)) // Use shorthand form .onDragDroppedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onDragEnteredPropertyApply
public SceneBuilder onDragEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragEnteredPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onDragEnteredProperty().bind(anotherProperty)) // Use shorthand form .onDragEnteredPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onDragExitedPropertyApply
public SceneBuilder onDragExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragExitedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onDragExitedProperty().bind(anotherProperty)) // Use shorthand form .onDragExitedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onDragOverPropertyApply
public SceneBuilder onDragOverPropertyApply(Consumer<ObjectProperty<EventHandler<? super DragEvent>>> op) Applies a function to theonDragOverPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onDragOverProperty().bind(anotherProperty)) // Use shorthand form .onDragOverPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onInputMethodTextChangedPropertyApply
public SceneBuilder onInputMethodTextChangedPropertyApply(Consumer<ObjectProperty<EventHandler<? super InputMethodEvent>>> op) Applies a function to theonInputMethodTextChangedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onInputMethodTextChangedProperty().bind(anotherProperty)) // Use shorthand form .onInputMethodTextChangedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onKeyPressedPropertyApply
public SceneBuilder onKeyPressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyPressedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onKeyPressedProperty().bind(anotherProperty)) // Use shorthand form .onKeyPressedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onKeyReleasedPropertyApply
public SceneBuilder onKeyReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyReleasedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onKeyReleasedProperty().bind(anotherProperty)) // Use shorthand form .onKeyReleasedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onKeyTypedPropertyApply
public SceneBuilder onKeyTypedPropertyApply(Consumer<ObjectProperty<EventHandler<? super KeyEvent>>> op) Applies a function to theonKeyTypedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onKeyTypedProperty().bind(anotherProperty)) // Use shorthand form .onKeyTypedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseClickedPropertyApply
public SceneBuilder onMouseClickedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseClickedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseClickedProperty().bind(anotherProperty)) // Use shorthand form .onMouseClickedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseDragEnteredPropertyApply
public SceneBuilder onMouseDragEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragEnteredPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseDragEnteredProperty().bind(anotherProperty)) // Use shorthand form .onMouseDragEnteredPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseDragExitedPropertyApply
public SceneBuilder onMouseDragExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragExitedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseDragExitedProperty().bind(anotherProperty)) // Use shorthand form .onMouseDragExitedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseDragOverPropertyApply
public SceneBuilder onMouseDragOverPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragOverPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseDragOverProperty().bind(anotherProperty)) // Use shorthand form .onMouseDragOverPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseDragReleasedPropertyApply
public SceneBuilder onMouseDragReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseDragEvent>>> op) Applies a function to theonMouseDragReleasedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseDragReleasedProperty().bind(anotherProperty)) // Use shorthand form .onMouseDragReleasedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseDraggedPropertyApply
public SceneBuilder onMouseDraggedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseDraggedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseDraggedProperty().bind(anotherProperty)) // Use shorthand form .onMouseDraggedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseEnteredPropertyApply
public SceneBuilder onMouseEnteredPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseEnteredPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseEnteredProperty().bind(anotherProperty)) // Use shorthand form .onMouseEnteredPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseExitedPropertyApply
public SceneBuilder onMouseExitedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseExitedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseExitedProperty().bind(anotherProperty)) // Use shorthand form .onMouseExitedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseMovedPropertyApply
public SceneBuilder onMouseMovedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseMovedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseMovedProperty().bind(anotherProperty)) // Use shorthand form .onMouseMovedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMousePressedPropertyApply
public SceneBuilder onMousePressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMousePressedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMousePressedProperty().bind(anotherProperty)) // Use shorthand form .onMousePressedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onMouseReleasedPropertyApply
public SceneBuilder onMouseReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super MouseEvent>>> op) Applies a function to theonMouseReleasedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onMouseReleasedProperty().bind(anotherProperty)) // Use shorthand form .onMouseReleasedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onRotatePropertyApply
public SceneBuilder onRotatePropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotatePropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onRotateProperty().bind(anotherProperty)) // Use shorthand form .onRotatePropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onRotationFinishedPropertyApply
public SceneBuilder onRotationFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotationFinishedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onRotationFinishedProperty().bind(anotherProperty)) // Use shorthand form .onRotationFinishedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onRotationStartedPropertyApply
public SceneBuilder onRotationStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super RotateEvent>>> op) Applies a function to theonRotationStartedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onRotationStartedProperty().bind(anotherProperty)) // Use shorthand form .onRotationStartedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onScrollFinishedPropertyApply
public SceneBuilder onScrollFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollFinishedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onScrollFinishedProperty().bind(anotherProperty)) // Use shorthand form .onScrollFinishedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onScrollPropertyApply
public SceneBuilder onScrollPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onScrollProperty().bind(anotherProperty)) // Use shorthand form .onScrollPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onScrollStartedPropertyApply
public SceneBuilder onScrollStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ScrollEvent>>> op) Applies a function to theonScrollStartedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onScrollStartedProperty().bind(anotherProperty)) // Use shorthand form .onScrollStartedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onSwipeDownPropertyApply
public SceneBuilder onSwipeDownPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeDownPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onSwipeDownProperty().bind(anotherProperty)) // Use shorthand form .onSwipeDownPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onSwipeLeftPropertyApply
public SceneBuilder onSwipeLeftPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeLeftPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onSwipeLeftProperty().bind(anotherProperty)) // Use shorthand form .onSwipeLeftPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onSwipeRightPropertyApply
public SceneBuilder onSwipeRightPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeRightPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onSwipeRightProperty().bind(anotherProperty)) // Use shorthand form .onSwipeRightPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onSwipeUpPropertyApply
public SceneBuilder onSwipeUpPropertyApply(Consumer<ObjectProperty<EventHandler<? super SwipeEvent>>> op) Applies a function to theonSwipeUpPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onSwipeUpProperty().bind(anotherProperty)) // Use shorthand form .onSwipeUpPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onTouchMovedPropertyApply
public SceneBuilder onTouchMovedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchMovedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onTouchMovedProperty().bind(anotherProperty)) // Use shorthand form .onTouchMovedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onTouchPressedPropertyApply
public SceneBuilder onTouchPressedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchPressedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onTouchPressedProperty().bind(anotherProperty)) // Use shorthand form .onTouchPressedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onTouchReleasedPropertyApply
public SceneBuilder onTouchReleasedPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchReleasedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onTouchReleasedProperty().bind(anotherProperty)) // Use shorthand form .onTouchReleasedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onTouchStationaryPropertyApply
public SceneBuilder onTouchStationaryPropertyApply(Consumer<ObjectProperty<EventHandler<? super TouchEvent>>> op) Applies a function to theonTouchStationaryPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onTouchStationaryProperty().bind(anotherProperty)) // Use shorthand form .onTouchStationaryPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onZoomFinishedPropertyApply
public SceneBuilder onZoomFinishedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomFinishedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onZoomFinishedProperty().bind(anotherProperty)) // Use shorthand form .onZoomFinishedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onZoomPropertyApply
public SceneBuilder onZoomPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onZoomProperty().bind(anotherProperty)) // Use shorthand form .onZoomPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
onZoomStartedPropertyApply
public SceneBuilder onZoomStartedPropertyApply(Consumer<ObjectProperty<EventHandler<? super ZoomEvent>>> op) Applies a function to theonZoomStartedPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.onZoomStartedProperty().bind(anotherProperty)) // Use shorthand form .onZoomStartedPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
rootPropertyApply
Applies a function to therootPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.rootProperty().bind(anotherProperty)) // Use shorthand form .rootPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
userAgentStylesheetPropertyApply
Applies a function to theuserAgentStylesheetPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.userAgentStylesheetProperty().bind(anotherProperty)) // Use shorthand form .userAgentStylesheetPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
widthPropertyApply
Applies a function to thewidthPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.widthProperty().bind(anotherProperty)) // Use shorthand form .widthPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
windowPropertyApply
Applies a function to thewindowPropertyof the instance being constructed. This serves as a shorthand form of theapplymethod.Example:
// Use apply .apply(obj -> obj.windowProperty().bind(anotherProperty)) // Use shorthand form .windowPropertyApply(prop -> prop.bind(anotherProperty))- Returns:
- builder instance
-
xPropertyApply
-
yPropertyApply
-