SubScene (Java SE 10 & JDK 10 ) (original) (raw)
Property Summary
Properties
Type Property Description ObjectProperty<Camera> camera Specifies the type of camera use for rendering this SubScene. ObjectProperty<Paint> fill Defines the background fill of this SubScene. DoubleProperty height Defines the height of this SubScene ObjectProperty<Parent> root Defines the root Node of the SubScene scene graph. ObjectProperty<String> userAgentStylesheet DoubleProperty width Defines the width of this SubScene * ### Properties declared in class javafx.scene.[Node](../../javafx/scene/Node.html "class in javafx.scene") `[accessibleHelp](../../javafx/scene/Node.html#accessibleHelpProperty), [accessibleRoleDescription](../../javafx/scene/Node.html#accessibleRoleDescriptionProperty), [accessibleRole](../../javafx/scene/Node.html#accessibleRoleProperty), [accessibleText](../../javafx/scene/Node.html#accessibleTextProperty), [blendMode](../../javafx/scene/Node.html#blendModeProperty), [boundsInLocal](../../javafx/scene/Node.html#boundsInLocalProperty), [boundsInParent](../../javafx/scene/Node.html#boundsInParentProperty), [cacheHint](../../javafx/scene/Node.html#cacheHintProperty), [cache](../../javafx/scene/Node.html#cacheProperty), [clip](../../javafx/scene/Node.html#clipProperty), [cursor](../../javafx/scene/Node.html#cursorProperty), [depthTest](../../javafx/scene/Node.html#depthTestProperty), [disabled](../../javafx/scene/Node.html#disabledProperty), [disable](../../javafx/scene/Node.html#disableProperty), [effectiveNodeOrientation](../../javafx/scene/Node.html#effectiveNodeOrientationProperty), [effect](../../javafx/scene/Node.html#effectProperty), [eventDispatcher](../../javafx/scene/Node.html#eventDispatcherProperty), [focused](../../javafx/scene/Node.html#focusedProperty), [focusTraversable](../../javafx/scene/Node.html#focusTraversableProperty), [hover](../../javafx/scene/Node.html#hoverProperty), [id](../../javafx/scene/Node.html#idProperty), [inputMethodRequests](../../javafx/scene/Node.html#inputMethodRequestsProperty), [layoutBounds](../../javafx/scene/Node.html#layoutBoundsProperty), [layoutX](../../javafx/scene/Node.html#layoutXProperty), [layoutY](../../javafx/scene/Node.html#layoutYProperty), [localToParentTransform](../../javafx/scene/Node.html#localToParentTransformProperty), [localToSceneTransform](../../javafx/scene/Node.html#localToSceneTransformProperty), [managed](../../javafx/scene/Node.html#managedProperty), [mouseTransparent](../../javafx/scene/Node.html#mouseTransparentProperty), [nodeOrientation](../../javafx/scene/Node.html#nodeOrientationProperty), [onContextMenuRequested](../../javafx/scene/Node.html#onContextMenuRequestedProperty), [onDragDetected](../../javafx/scene/Node.html#onDragDetectedProperty), [onDragDone](../../javafx/scene/Node.html#onDragDoneProperty), [onDragDropped](../../javafx/scene/Node.html#onDragDroppedProperty), [onDragEntered](../../javafx/scene/Node.html#onDragEnteredProperty), [onDragExited](../../javafx/scene/Node.html#onDragExitedProperty), [onDragOver](../../javafx/scene/Node.html#onDragOverProperty), [onInputMethodTextChanged](../../javafx/scene/Node.html#onInputMethodTextChangedProperty), [onKeyPressed](../../javafx/scene/Node.html#onKeyPressedProperty), [onKeyReleased](../../javafx/scene/Node.html#onKeyReleasedProperty), [onKeyTyped](../../javafx/scene/Node.html#onKeyTypedProperty), [onMouseClicked](../../javafx/scene/Node.html#onMouseClickedProperty), [onMouseDragEntered](../../javafx/scene/Node.html#onMouseDragEnteredProperty), [onMouseDragExited](../../javafx/scene/Node.html#onMouseDragExitedProperty), [onMouseDragged](../../javafx/scene/Node.html#onMouseDraggedProperty), [onMouseDragOver](../../javafx/scene/Node.html#onMouseDragOverProperty), [onMouseDragReleased](../../javafx/scene/Node.html#onMouseDragReleasedProperty), [onMouseEntered](../../javafx/scene/Node.html#onMouseEnteredProperty), [onMouseExited](../../javafx/scene/Node.html#onMouseExitedProperty), [onMouseMoved](../../javafx/scene/Node.html#onMouseMovedProperty), [onMousePressed](../../javafx/scene/Node.html#onMousePressedProperty), [onMouseReleased](../../javafx/scene/Node.html#onMouseReleasedProperty), [onRotate](../../javafx/scene/Node.html#onRotateProperty), [onRotationFinished](../../javafx/scene/Node.html#onRotationFinishedProperty), [onRotationStarted](../../javafx/scene/Node.html#onRotationStartedProperty), [onScrollFinished](../../javafx/scene/Node.html#onScrollFinishedProperty), [onScroll](../../javafx/scene/Node.html#onScrollProperty), [onScrollStarted](../../javafx/scene/Node.html#onScrollStartedProperty), [onSwipeDown](../../javafx/scene/Node.html#onSwipeDownProperty), [onSwipeLeft](../../javafx/scene/Node.html#onSwipeLeftProperty), [onSwipeRight](../../javafx/scene/Node.html#onSwipeRightProperty), [onSwipeUp](../../javafx/scene/Node.html#onSwipeUpProperty), [onTouchMoved](../../javafx/scene/Node.html#onTouchMovedProperty), [onTouchPressed](../../javafx/scene/Node.html#onTouchPressedProperty), [onTouchReleased](../../javafx/scene/Node.html#onTouchReleasedProperty), [onTouchStationary](../../javafx/scene/Node.html#onTouchStationaryProperty), [onZoomFinished](../../javafx/scene/Node.html#onZoomFinishedProperty), [onZoom](../../javafx/scene/Node.html#onZoomProperty), [onZoomStarted](../../javafx/scene/Node.html#onZoomStartedProperty), [opacity](../../javafx/scene/Node.html#opacityProperty), [parent](../../javafx/scene/Node.html#parentProperty), [pickOnBounds](../../javafx/scene/Node.html#pickOnBoundsProperty), [pressed](../../javafx/scene/Node.html#pressedProperty), [rotate](../../javafx/scene/Node.html#rotateProperty), [rotationAxis](../../javafx/scene/Node.html#rotationAxisProperty), [scaleX](../../javafx/scene/Node.html#scaleXProperty), [scaleY](../../javafx/scene/Node.html#scaleYProperty), [scaleZ](../../javafx/scene/Node.html#scaleZProperty), [scene](../../javafx/scene/Node.html#sceneProperty), [style](../../javafx/scene/Node.html#styleProperty), [translateX](../../javafx/scene/Node.html#translateXProperty), [translateY](../../javafx/scene/Node.html#translateYProperty), [translateZ](../../javafx/scene/Node.html#translateZProperty), [viewOrder](../../javafx/scene/Node.html#viewOrderProperty), [visible](../../javafx/scene/Node.html#visibleProperty)`
Field Summary
* ### Fields declared in class javafx.scene.[Node](../../javafx/scene/Node.html "class in javafx.scene") `[BASELINE_OFFSET_SAME_AS_HEIGHT](../../javafx/scene/Node.html#BASELINE%5FOFFSET%5FSAME%5FAS%5FHEIGHT)`
Constructor Summary
Constructors
Constructor Description SubScene(Parent root, double width, double height) Creates a SubScene for a specific root Node with a specific size. SubScene(Parent root, double width, double height, boolean depthBuffer,SceneAntialiasing antiAliasing) Constructs a SubScene consisting of a root, with a dimension of width and height, specifies whether a depth buffer is created for this scene and specifies whether scene anti-aliasing is requested. Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type Method Description ObjectProperty<Camera> cameraProperty() Specifies the type of camera use for rendering this SubScene. ObjectProperty<Paint> fillProperty() Defines the background fill of this SubScene. SceneAntialiasing getAntiAliasing() Return the defined SceneAntialiasing for this SubScene. Camera getCamera() Gets the value of the property camera. Paint getFill() Gets the value of the property fill. double getHeight() Gets the value of the property height. Parent getRoot() Gets the value of the property root. String getUserAgentStylesheet() Get the URL of the user-agent stylesheet that will be used by this SubScene. double getWidth() Gets the value of the property width. DoubleProperty heightProperty() Defines the height of this SubScene boolean isDepthBuffer() Retrieves the depth buffer attribute for this SubScene. ObjectProperty<Parent> rootProperty() Defines the root Node of the SubScene scene graph. void setCamera(Camera value) Sets the value of the property camera. void setFill(Paint value) Sets the value of the property fill. void setHeight(double value) Sets the value of the property height. void setRoot(Parent value) Sets the value of the property root. void setUserAgentStylesheet(String url) Set the URL of the user-agent stylesheet that will be used by this SubScene in place of the the platform-default user-agent stylesheet. void setWidth(double value) Sets the value of the property width. ObjectProperty<String> userAgentStylesheetProperty() DoubleProperty widthProperty() Defines the width of this SubScene * ### Methods declared in class javafx.scene.[Node](../../javafx/scene/Node.html "class in javafx.scene") `[accessibleHelpProperty](../../javafx/scene/Node.html#accessibleHelpProperty%28%29), [accessibleRoleDescriptionProperty](../../javafx/scene/Node.html#accessibleRoleDescriptionProperty%28%29), [accessibleRoleProperty](../../javafx/scene/Node.html#accessibleRoleProperty%28%29), [accessibleTextProperty](../../javafx/scene/Node.html#accessibleTextProperty%28%29), [addEventFilter](../../javafx/scene/Node.html#addEventFilter%28javafx.event.EventType,javafx.event.EventHandler%29), [addEventHandler](../../javafx/scene/Node.html#addEventHandler%28javafx.event.EventType,javafx.event.EventHandler%29), [applyCss](../../javafx/scene/Node.html#applyCss%28%29), [autosize](../../javafx/scene/Node.html#autosize%28%29), [blendModeProperty](../../javafx/scene/Node.html#blendModeProperty%28%29), [boundsInLocalProperty](../../javafx/scene/Node.html#boundsInLocalProperty%28%29), [boundsInParentProperty](../../javafx/scene/Node.html#boundsInParentProperty%28%29), [buildEventDispatchChain](../../javafx/scene/Node.html#buildEventDispatchChain%28javafx.event.EventDispatchChain%29), [cacheHintProperty](../../javafx/scene/Node.html#cacheHintProperty%28%29), [cacheProperty](../../javafx/scene/Node.html#cacheProperty%28%29), [clipProperty](../../javafx/scene/Node.html#clipProperty%28%29), [computeAreaInScreen](../../javafx/scene/Node.html#computeAreaInScreen%28%29), [contains](../../javafx/scene/Node.html#contains%28double,double%29), [contains](../../javafx/scene/Node.html#contains%28javafx.geometry.Point2D%29), [cursorProperty](../../javafx/scene/Node.html#cursorProperty%28%29), [depthTestProperty](../../javafx/scene/Node.html#depthTestProperty%28%29), [disabledProperty](../../javafx/scene/Node.html#disabledProperty%28%29), [disableProperty](../../javafx/scene/Node.html#disableProperty%28%29), [effectiveNodeOrientationProperty](../../javafx/scene/Node.html#effectiveNodeOrientationProperty%28%29), [effectProperty](../../javafx/scene/Node.html#effectProperty%28%29), [eventDispatcherProperty](../../javafx/scene/Node.html#eventDispatcherProperty%28%29), [executeAccessibleAction](../../javafx/scene/Node.html#executeAccessibleAction%28javafx.scene.AccessibleAction,java.lang.Object...%29), [fireEvent](../../javafx/scene/Node.html#fireEvent%28javafx.event.Event%29), [focusedProperty](../../javafx/scene/Node.html#focusedProperty%28%29), [focusTraversableProperty](../../javafx/scene/Node.html#focusTraversableProperty%28%29), [getAccessibleHelp](../../javafx/scene/Node.html#getAccessibleHelp%28%29), [getAccessibleRole](../../javafx/scene/Node.html#getAccessibleRole%28%29), [getAccessibleRoleDescription](../../javafx/scene/Node.html#getAccessibleRoleDescription%28%29), [getAccessibleText](../../javafx/scene/Node.html#getAccessibleText%28%29), [getBaselineOffset](../../javafx/scene/Node.html#getBaselineOffset%28%29), [getBlendMode](../../javafx/scene/Node.html#getBlendMode%28%29), [getBoundsInLocal](../../javafx/scene/Node.html#getBoundsInLocal%28%29), [getBoundsInParent](../../javafx/scene/Node.html#getBoundsInParent%28%29), [getCacheHint](../../javafx/scene/Node.html#getCacheHint%28%29), [getClassCssMetaData](../../javafx/scene/Node.html#getClassCssMetaData%28%29), [getClip](../../javafx/scene/Node.html#getClip%28%29), [getContentBias](../../javafx/scene/Node.html#getContentBias%28%29), [getCssMetaData](../../javafx/scene/Node.html#getCssMetaData%28%29), [getCursor](../../javafx/scene/Node.html#getCursor%28%29), [getDepthTest](../../javafx/scene/Node.html#getDepthTest%28%29), [getEffect](../../javafx/scene/Node.html#getEffect%28%29), [getEffectiveNodeOrientation](../../javafx/scene/Node.html#getEffectiveNodeOrientation%28%29), [getEventDispatcher](../../javafx/scene/Node.html#getEventDispatcher%28%29), [getId](../../javafx/scene/Node.html#getId%28%29), [getInitialCursor](../../javafx/scene/Node.html#getInitialCursor%28%29), [getInitialFocusTraversable](../../javafx/scene/Node.html#getInitialFocusTraversable%28%29), [getInputMethodRequests](../../javafx/scene/Node.html#getInputMethodRequests%28%29), [getLayoutBounds](../../javafx/scene/Node.html#getLayoutBounds%28%29), [getLayoutX](../../javafx/scene/Node.html#getLayoutX%28%29), [getLayoutY](../../javafx/scene/Node.html#getLayoutY%28%29), [getLocalToParentTransform](../../javafx/scene/Node.html#getLocalToParentTransform%28%29), [getLocalToSceneTransform](../../javafx/scene/Node.html#getLocalToSceneTransform%28%29), [getNodeOrientation](../../javafx/scene/Node.html#getNodeOrientation%28%29), [getOnContextMenuRequested](../../javafx/scene/Node.html#getOnContextMenuRequested%28%29), [getOnDragDetected](../../javafx/scene/Node.html#getOnDragDetected%28%29), [getOnDragDone](../../javafx/scene/Node.html#getOnDragDone%28%29), [getOnDragDropped](../../javafx/scene/Node.html#getOnDragDropped%28%29), [getOnDragEntered](../../javafx/scene/Node.html#getOnDragEntered%28%29), [getOnDragExited](../../javafx/scene/Node.html#getOnDragExited%28%29), [getOnDragOver](../../javafx/scene/Node.html#getOnDragOver%28%29), [getOnInputMethodTextChanged](../../javafx/scene/Node.html#getOnInputMethodTextChanged%28%29), [getOnKeyPressed](../../javafx/scene/Node.html#getOnKeyPressed%28%29), [getOnKeyReleased](../../javafx/scene/Node.html#getOnKeyReleased%28%29), [getOnKeyTyped](../../javafx/scene/Node.html#getOnKeyTyped%28%29), [getOnMouseClicked](../../javafx/scene/Node.html#getOnMouseClicked%28%29), [getOnMouseDragEntered](../../javafx/scene/Node.html#getOnMouseDragEntered%28%29), [getOnMouseDragExited](../../javafx/scene/Node.html#getOnMouseDragExited%28%29), [getOnMouseDragged](../../javafx/scene/Node.html#getOnMouseDragged%28%29), [getOnMouseDragOver](../../javafx/scene/Node.html#getOnMouseDragOver%28%29), [getOnMouseDragReleased](../../javafx/scene/Node.html#getOnMouseDragReleased%28%29), [getOnMouseEntered](../../javafx/scene/Node.html#getOnMouseEntered%28%29), [getOnMouseExited](../../javafx/scene/Node.html#getOnMouseExited%28%29), [getOnMouseMoved](../../javafx/scene/Node.html#getOnMouseMoved%28%29), [getOnMousePressed](../../javafx/scene/Node.html#getOnMousePressed%28%29), [getOnMouseReleased](../../javafx/scene/Node.html#getOnMouseReleased%28%29), [getOnRotate](../../javafx/scene/Node.html#getOnRotate%28%29), [getOnRotationFinished](../../javafx/scene/Node.html#getOnRotationFinished%28%29), [getOnRotationStarted](../../javafx/scene/Node.html#getOnRotationStarted%28%29), [getOnScroll](../../javafx/scene/Node.html#getOnScroll%28%29), [getOnScrollFinished](../../javafx/scene/Node.html#getOnScrollFinished%28%29), [getOnScrollStarted](../../javafx/scene/Node.html#getOnScrollStarted%28%29), [getOnSwipeDown](../../javafx/scene/Node.html#getOnSwipeDown%28%29), [getOnSwipeLeft](../../javafx/scene/Node.html#getOnSwipeLeft%28%29), [getOnSwipeRight](../../javafx/scene/Node.html#getOnSwipeRight%28%29), [getOnSwipeUp](../../javafx/scene/Node.html#getOnSwipeUp%28%29), [getOnTouchMoved](../../javafx/scene/Node.html#getOnTouchMoved%28%29), [getOnTouchPressed](../../javafx/scene/Node.html#getOnTouchPressed%28%29), [getOnTouchReleased](../../javafx/scene/Node.html#getOnTouchReleased%28%29), [getOnTouchStationary](../../javafx/scene/Node.html#getOnTouchStationary%28%29), [getOnZoom](../../javafx/scene/Node.html#getOnZoom%28%29), [getOnZoomFinished](../../javafx/scene/Node.html#getOnZoomFinished%28%29), [getOnZoomStarted](../../javafx/scene/Node.html#getOnZoomStarted%28%29), [getOpacity](../../javafx/scene/Node.html#getOpacity%28%29), [getParent](../../javafx/scene/Node.html#getParent%28%29), [getProperties](../../javafx/scene/Node.html#getProperties%28%29), [getPseudoClassStates](../../javafx/scene/Node.html#getPseudoClassStates%28%29), [getRotate](../../javafx/scene/Node.html#getRotate%28%29), [getRotationAxis](../../javafx/scene/Node.html#getRotationAxis%28%29), [getScaleX](../../javafx/scene/Node.html#getScaleX%28%29), [getScaleY](../../javafx/scene/Node.html#getScaleY%28%29), [getScaleZ](../../javafx/scene/Node.html#getScaleZ%28%29), [getScene](../../javafx/scene/Node.html#getScene%28%29), [getStyle](../../javafx/scene/Node.html#getStyle%28%29), [getStyleableParent](../../javafx/scene/Node.html#getStyleableParent%28%29), [getTransforms](../../javafx/scene/Node.html#getTransforms%28%29), [getTranslateX](../../javafx/scene/Node.html#getTranslateX%28%29), [getTranslateY](../../javafx/scene/Node.html#getTranslateY%28%29), [getTranslateZ](../../javafx/scene/Node.html#getTranslateZ%28%29), [getTypeSelector](../../javafx/scene/Node.html#getTypeSelector%28%29), [getUserData](../../javafx/scene/Node.html#getUserData%28%29), [getViewOrder](../../javafx/scene/Node.html#getViewOrder%28%29), [hasProperties](../../javafx/scene/Node.html#hasProperties%28%29), [hoverProperty](../../javafx/scene/Node.html#hoverProperty%28%29), [idProperty](../../javafx/scene/Node.html#idProperty%28%29), [inputMethodRequestsProperty](../../javafx/scene/Node.html#inputMethodRequestsProperty%28%29), [intersects](../../javafx/scene/Node.html#intersects%28double,double,double,double%29), [intersects](../../javafx/scene/Node.html#intersects%28javafx.geometry.Bounds%29), [isCache](../../javafx/scene/Node.html#isCache%28%29), [isDisable](../../javafx/scene/Node.html#isDisable%28%29), [isDisabled](../../javafx/scene/Node.html#isDisabled%28%29), [isFocused](../../javafx/scene/Node.html#isFocused%28%29), [isFocusTraversable](../../javafx/scene/Node.html#isFocusTraversable%28%29), [isHover](../../javafx/scene/Node.html#isHover%28%29), [isManaged](../../javafx/scene/Node.html#isManaged%28%29), [isMouseTransparent](../../javafx/scene/Node.html#isMouseTransparent%28%29), [isPickOnBounds](../../javafx/scene/Node.html#isPickOnBounds%28%29), [isPressed](../../javafx/scene/Node.html#isPressed%28%29), [isResizable](../../javafx/scene/Node.html#isResizable%28%29), [isVisible](../../javafx/scene/Node.html#isVisible%28%29), [layoutBoundsProperty](../../javafx/scene/Node.html#layoutBoundsProperty%28%29), [layoutXProperty](../../javafx/scene/Node.html#layoutXProperty%28%29), [layoutYProperty](../../javafx/scene/Node.html#layoutYProperty%28%29), [localToParent](../../javafx/scene/Node.html#localToParent%28double,double%29), [localToParent](../../javafx/scene/Node.html#localToParent%28double,double,double%29), [localToParent](../../javafx/scene/Node.html#localToParent%28javafx.geometry.Bounds%29), [localToParent](../../javafx/scene/Node.html#localToParent%28javafx.geometry.Point2D%29), [localToParent](../../javafx/scene/Node.html#localToParent%28javafx.geometry.Point3D%29), [localToParentTransformProperty](../../javafx/scene/Node.html#localToParentTransformProperty%28%29), [localToScene](../../javafx/scene/Node.html#localToScene%28double,double%29), [localToScene](../../javafx/scene/Node.html#localToScene%28double,double,boolean%29), [localToScene](../../javafx/scene/Node.html#localToScene%28double,double,double%29), [localToScene](../../javafx/scene/Node.html#localToScene%28double,double,double,boolean%29), [localToScene](../../javafx/scene/Node.html#localToScene%28javafx.geometry.Bounds%29), [localToScene](../../javafx/scene/Node.html#localToScene%28javafx.geometry.Bounds,boolean%29), [localToScene](../../javafx/scene/Node.html#localToScene%28javafx.geometry.Point2D%29), [localToScene](../../javafx/scene/Node.html#localToScene%28javafx.geometry.Point2D,boolean%29), [localToScene](../../javafx/scene/Node.html#localToScene%28javafx.geometry.Point3D%29), [localToScene](../../javafx/scene/Node.html#localToScene%28javafx.geometry.Point3D,boolean%29), [localToSceneTransformProperty](../../javafx/scene/Node.html#localToSceneTransformProperty%28%29), [localToScreen](../../javafx/scene/Node.html#localToScreen%28double,double%29), [localToScreen](../../javafx/scene/Node.html#localToScreen%28double,double,double%29), [localToScreen](../../javafx/scene/Node.html#localToScreen%28javafx.geometry.Bounds%29), [localToScreen](../../javafx/scene/Node.html#localToScreen%28javafx.geometry.Point2D%29), [localToScreen](../../javafx/scene/Node.html#localToScreen%28javafx.geometry.Point3D%29), [lookup](../../javafx/scene/Node.html#lookup%28java.lang.String%29), [lookupAll](../../javafx/scene/Node.html#lookupAll%28java.lang.String%29), [managedProperty](../../javafx/scene/Node.html#managedProperty%28%29), [maxHeight](../../javafx/scene/Node.html#maxHeight%28double%29), [maxWidth](../../javafx/scene/Node.html#maxWidth%28double%29), [minHeight](../../javafx/scene/Node.html#minHeight%28double%29), [minWidth](../../javafx/scene/Node.html#minWidth%28double%29), [mouseTransparentProperty](../../javafx/scene/Node.html#mouseTransparentProperty%28%29), [nodeOrientationProperty](../../javafx/scene/Node.html#nodeOrientationProperty%28%29), [notifyAccessibleAttributeChanged](../../javafx/scene/Node.html#notifyAccessibleAttributeChanged%28javafx.scene.AccessibleAttribute%29), [onContextMenuRequestedProperty](../../javafx/scene/Node.html#onContextMenuRequestedProperty%28%29), [onDragDetectedProperty](../../javafx/scene/Node.html#onDragDetectedProperty%28%29), [onDragDoneProperty](../../javafx/scene/Node.html#onDragDoneProperty%28%29), [onDragDroppedProperty](../../javafx/scene/Node.html#onDragDroppedProperty%28%29), [onDragEnteredProperty](../../javafx/scene/Node.html#onDragEnteredProperty%28%29), [onDragExitedProperty](../../javafx/scene/Node.html#onDragExitedProperty%28%29), [onDragOverProperty](../../javafx/scene/Node.html#onDragOverProperty%28%29), [onInputMethodTextChangedProperty](../../javafx/scene/Node.html#onInputMethodTextChangedProperty%28%29), [onKeyPressedProperty](../../javafx/scene/Node.html#onKeyPressedProperty%28%29), [onKeyReleasedProperty](../../javafx/scene/Node.html#onKeyReleasedProperty%28%29), [onKeyTypedProperty](../../javafx/scene/Node.html#onKeyTypedProperty%28%29), [onMouseClickedProperty](../../javafx/scene/Node.html#onMouseClickedProperty%28%29), [onMouseDragEnteredProperty](../../javafx/scene/Node.html#onMouseDragEnteredProperty%28%29), [onMouseDragExitedProperty](../../javafx/scene/Node.html#onMouseDragExitedProperty%28%29), [onMouseDraggedProperty](../../javafx/scene/Node.html#onMouseDraggedProperty%28%29), [onMouseDragOverProperty](../../javafx/scene/Node.html#onMouseDragOverProperty%28%29), [onMouseDragReleasedProperty](../../javafx/scene/Node.html#onMouseDragReleasedProperty%28%29), [onMouseEnteredProperty](../../javafx/scene/Node.html#onMouseEnteredProperty%28%29), [onMouseExitedProperty](../../javafx/scene/Node.html#onMouseExitedProperty%28%29), [onMouseMovedProperty](../../javafx/scene/Node.html#onMouseMovedProperty%28%29), [onMousePressedProperty](../../javafx/scene/Node.html#onMousePressedProperty%28%29), [onMouseReleasedProperty](../../javafx/scene/Node.html#onMouseReleasedProperty%28%29), [onRotateProperty](../../javafx/scene/Node.html#onRotateProperty%28%29), [onRotationFinishedProperty](../../javafx/scene/Node.html#onRotationFinishedProperty%28%29), [onRotationStartedProperty](../../javafx/scene/Node.html#onRotationStartedProperty%28%29), [onScrollFinishedProperty](../../javafx/scene/Node.html#onScrollFinishedProperty%28%29), [onScrollProperty](../../javafx/scene/Node.html#onScrollProperty%28%29), [onScrollStartedProperty](../../javafx/scene/Node.html#onScrollStartedProperty%28%29), [onSwipeDownProperty](../../javafx/scene/Node.html#onSwipeDownProperty%28%29), [onSwipeLeftProperty](../../javafx/scene/Node.html#onSwipeLeftProperty%28%29), [onSwipeRightProperty](../../javafx/scene/Node.html#onSwipeRightProperty%28%29), [onSwipeUpProperty](../../javafx/scene/Node.html#onSwipeUpProperty%28%29), [onTouchMovedProperty](../../javafx/scene/Node.html#onTouchMovedProperty%28%29), [onTouchPressedProperty](../../javafx/scene/Node.html#onTouchPressedProperty%28%29), [onTouchReleasedProperty](../../javafx/scene/Node.html#onTouchReleasedProperty%28%29), [onTouchStationaryProperty](../../javafx/scene/Node.html#onTouchStationaryProperty%28%29), [onZoomFinishedProperty](../../javafx/scene/Node.html#onZoomFinishedProperty%28%29), [onZoomProperty](../../javafx/scene/Node.html#onZoomProperty%28%29), [onZoomStartedProperty](../../javafx/scene/Node.html#onZoomStartedProperty%28%29), [opacityProperty](../../javafx/scene/Node.html#opacityProperty%28%29), [parentProperty](../../javafx/scene/Node.html#parentProperty%28%29), [parentToLocal](../../javafx/scene/Node.html#parentToLocal%28double,double%29), [parentToLocal](../../javafx/scene/Node.html#parentToLocal%28double,double,double%29), [parentToLocal](../../javafx/scene/Node.html#parentToLocal%28javafx.geometry.Bounds%29), [parentToLocal](../../javafx/scene/Node.html#parentToLocal%28javafx.geometry.Point2D%29), [parentToLocal](../../javafx/scene/Node.html#parentToLocal%28javafx.geometry.Point3D%29), [pickOnBoundsProperty](../../javafx/scene/Node.html#pickOnBoundsProperty%28%29), [prefHeight](../../javafx/scene/Node.html#prefHeight%28double%29), [prefWidth](../../javafx/scene/Node.html#prefWidth%28double%29), [pressedProperty](../../javafx/scene/Node.html#pressedProperty%28%29), [pseudoClassStateChanged](../../javafx/scene/Node.html#pseudoClassStateChanged%28javafx.css.PseudoClass,boolean%29), [queryAccessibleAttribute](../../javafx/scene/Node.html#queryAccessibleAttribute%28javafx.scene.AccessibleAttribute,java.lang.Object...%29), [relocate](../../javafx/scene/Node.html#relocate%28double,double%29), [removeEventFilter](../../javafx/scene/Node.html#removeEventFilter%28javafx.event.EventType,javafx.event.EventHandler%29), [removeEventHandler](../../javafx/scene/Node.html#removeEventHandler%28javafx.event.EventType,javafx.event.EventHandler%29), [requestFocus](../../javafx/scene/Node.html#requestFocus%28%29), [resize](../../javafx/scene/Node.html#resize%28double,double%29), [resizeRelocate](../../javafx/scene/Node.html#resizeRelocate%28double,double,double,double%29), [rotateProperty](../../javafx/scene/Node.html#rotateProperty%28%29), [rotationAxisProperty](../../javafx/scene/Node.html#rotationAxisProperty%28%29), [scaleXProperty](../../javafx/scene/Node.html#scaleXProperty%28%29), [scaleYProperty](../../javafx/scene/Node.html#scaleYProperty%28%29), [scaleZProperty](../../javafx/scene/Node.html#scaleZProperty%28%29), [sceneProperty](../../javafx/scene/Node.html#sceneProperty%28%29), [sceneToLocal](../../javafx/scene/Node.html#sceneToLocal%28double,double%29), [sceneToLocal](../../javafx/scene/Node.html#sceneToLocal%28double,double,boolean%29), [sceneToLocal](../../javafx/scene/Node.html#sceneToLocal%28double,double,double%29), [sceneToLocal](../../javafx/scene/Node.html#sceneToLocal%28javafx.geometry.Bounds%29), [sceneToLocal](../../javafx/scene/Node.html#sceneToLocal%28javafx.geometry.Bounds,boolean%29), [sceneToLocal](../../javafx/scene/Node.html#sceneToLocal%28javafx.geometry.Point2D%29), [sceneToLocal](../../javafx/scene/Node.html#sceneToLocal%28javafx.geometry.Point2D,boolean%29), [sceneToLocal](../../javafx/scene/Node.html#sceneToLocal%28javafx.geometry.Point3D%29), [screenToLocal](../../javafx/scene/Node.html#screenToLocal%28double,double%29), [screenToLocal](../../javafx/scene/Node.html#screenToLocal%28javafx.geometry.Bounds%29), [screenToLocal](../../javafx/scene/Node.html#screenToLocal%28javafx.geometry.Point2D%29), [setAccessibleHelp](../../javafx/scene/Node.html#setAccessibleHelp%28java.lang.String%29), [setAccessibleRole](../../javafx/scene/Node.html#setAccessibleRole%28javafx.scene.AccessibleRole%29), [setAccessibleRoleDescription](../../javafx/scene/Node.html#setAccessibleRoleDescription%28java.lang.String%29), [setAccessibleText](../../javafx/scene/Node.html#setAccessibleText%28java.lang.String%29), [setBlendMode](../../javafx/scene/Node.html#setBlendMode%28javafx.scene.effect.BlendMode%29), [setCache](../../javafx/scene/Node.html#setCache%28boolean%29), [setCacheHint](../../javafx/scene/Node.html#setCacheHint%28javafx.scene.CacheHint%29), [setClip](../../javafx/scene/Node.html#setClip%28javafx.scene.Node%29), [setCursor](../../javafx/scene/Node.html#setCursor%28javafx.scene.Cursor%29), [setDepthTest](../../javafx/scene/Node.html#setDepthTest%28javafx.scene.DepthTest%29), [setDisable](../../javafx/scene/Node.html#setDisable%28boolean%29), [setDisabled](../../javafx/scene/Node.html#setDisabled%28boolean%29), [setEffect](../../javafx/scene/Node.html#setEffect%28javafx.scene.effect.Effect%29), [setEventDispatcher](../../javafx/scene/Node.html#setEventDispatcher%28javafx.event.EventDispatcher%29), [setEventHandler](../../javafx/scene/Node.html#setEventHandler%28javafx.event.EventType,javafx.event.EventHandler%29), [setFocused](../../javafx/scene/Node.html#setFocused%28boolean%29), [setFocusTraversable](../../javafx/scene/Node.html#setFocusTraversable%28boolean%29), [setHover](../../javafx/scene/Node.html#setHover%28boolean%29), [setId](../../javafx/scene/Node.html#setId%28java.lang.String%29), [setInputMethodRequests](../../javafx/scene/Node.html#setInputMethodRequests%28javafx.scene.input.InputMethodRequests%29), [setLayoutX](../../javafx/scene/Node.html#setLayoutX%28double%29), [setLayoutY](../../javafx/scene/Node.html#setLayoutY%28double%29), [setManaged](../../javafx/scene/Node.html#setManaged%28boolean%29), [setMouseTransparent](../../javafx/scene/Node.html#setMouseTransparent%28boolean%29), [setNodeOrientation](../../javafx/scene/Node.html#setNodeOrientation%28javafx.geometry.NodeOrientation%29), [setOnContextMenuRequested](../../javafx/scene/Node.html#setOnContextMenuRequested%28javafx.event.EventHandler%29), [setOnDragDetected](../../javafx/scene/Node.html#setOnDragDetected%28javafx.event.EventHandler%29), [setOnDragDone](../../javafx/scene/Node.html#setOnDragDone%28javafx.event.EventHandler%29), [setOnDragDropped](../../javafx/scene/Node.html#setOnDragDropped%28javafx.event.EventHandler%29), [setOnDragEntered](../../javafx/scene/Node.html#setOnDragEntered%28javafx.event.EventHandler%29), [setOnDragExited](../../javafx/scene/Node.html#setOnDragExited%28javafx.event.EventHandler%29), [setOnDragOver](../../javafx/scene/Node.html#setOnDragOver%28javafx.event.EventHandler%29), [setOnInputMethodTextChanged](../../javafx/scene/Node.html#setOnInputMethodTextChanged%28javafx.event.EventHandler%29), [setOnKeyPressed](../../javafx/scene/Node.html#setOnKeyPressed%28javafx.event.EventHandler%29), [setOnKeyReleased](../../javafx/scene/Node.html#setOnKeyReleased%28javafx.event.EventHandler%29), [setOnKeyTyped](../../javafx/scene/Node.html#setOnKeyTyped%28javafx.event.EventHandler%29), [setOnMouseClicked](../../javafx/scene/Node.html#setOnMouseClicked%28javafx.event.EventHandler%29), [setOnMouseDragEntered](../../javafx/scene/Node.html#setOnMouseDragEntered%28javafx.event.EventHandler%29), [setOnMouseDragExited](../../javafx/scene/Node.html#setOnMouseDragExited%28javafx.event.EventHandler%29), [setOnMouseDragged](../../javafx/scene/Node.html#setOnMouseDragged%28javafx.event.EventHandler%29), [setOnMouseDragOver](../../javafx/scene/Node.html#setOnMouseDragOver%28javafx.event.EventHandler%29), [setOnMouseDragReleased](../../javafx/scene/Node.html#setOnMouseDragReleased%28javafx.event.EventHandler%29), [setOnMouseEntered](../../javafx/scene/Node.html#setOnMouseEntered%28javafx.event.EventHandler%29), [setOnMouseExited](../../javafx/scene/Node.html#setOnMouseExited%28javafx.event.EventHandler%29), [setOnMouseMoved](../../javafx/scene/Node.html#setOnMouseMoved%28javafx.event.EventHandler%29), [setOnMousePressed](../../javafx/scene/Node.html#setOnMousePressed%28javafx.event.EventHandler%29), [setOnMouseReleased](../../javafx/scene/Node.html#setOnMouseReleased%28javafx.event.EventHandler%29), [setOnRotate](../../javafx/scene/Node.html#setOnRotate%28javafx.event.EventHandler%29), [setOnRotationFinished](../../javafx/scene/Node.html#setOnRotationFinished%28javafx.event.EventHandler%29), [setOnRotationStarted](../../javafx/scene/Node.html#setOnRotationStarted%28javafx.event.EventHandler%29), [setOnScroll](../../javafx/scene/Node.html#setOnScroll%28javafx.event.EventHandler%29), [setOnScrollFinished](../../javafx/scene/Node.html#setOnScrollFinished%28javafx.event.EventHandler%29), [setOnScrollStarted](../../javafx/scene/Node.html#setOnScrollStarted%28javafx.event.EventHandler%29), [setOnSwipeDown](../../javafx/scene/Node.html#setOnSwipeDown%28javafx.event.EventHandler%29), [setOnSwipeLeft](../../javafx/scene/Node.html#setOnSwipeLeft%28javafx.event.EventHandler%29), [setOnSwipeRight](../../javafx/scene/Node.html#setOnSwipeRight%28javafx.event.EventHandler%29), [setOnSwipeUp](../../javafx/scene/Node.html#setOnSwipeUp%28javafx.event.EventHandler%29), [setOnTouchMoved](../../javafx/scene/Node.html#setOnTouchMoved%28javafx.event.EventHandler%29), [setOnTouchPressed](../../javafx/scene/Node.html#setOnTouchPressed%28javafx.event.EventHandler%29), [setOnTouchReleased](../../javafx/scene/Node.html#setOnTouchReleased%28javafx.event.EventHandler%29), [setOnTouchStationary](../../javafx/scene/Node.html#setOnTouchStationary%28javafx.event.EventHandler%29), [setOnZoom](../../javafx/scene/Node.html#setOnZoom%28javafx.event.EventHandler%29), [setOnZoomFinished](../../javafx/scene/Node.html#setOnZoomFinished%28javafx.event.EventHandler%29), [setOnZoomStarted](../../javafx/scene/Node.html#setOnZoomStarted%28javafx.event.EventHandler%29), [setOpacity](../../javafx/scene/Node.html#setOpacity%28double%29), [setPickOnBounds](../../javafx/scene/Node.html#setPickOnBounds%28boolean%29), [setPressed](../../javafx/scene/Node.html#setPressed%28boolean%29), [setRotate](../../javafx/scene/Node.html#setRotate%28double%29), [setRotationAxis](../../javafx/scene/Node.html#setRotationAxis%28javafx.geometry.Point3D%29), [setScaleX](../../javafx/scene/Node.html#setScaleX%28double%29), [setScaleY](../../javafx/scene/Node.html#setScaleY%28double%29), [setScaleZ](../../javafx/scene/Node.html#setScaleZ%28double%29), [setStyle](../../javafx/scene/Node.html#setStyle%28java.lang.String%29), [setTranslateX](../../javafx/scene/Node.html#setTranslateX%28double%29), [setTranslateY](../../javafx/scene/Node.html#setTranslateY%28double%29), [setTranslateZ](../../javafx/scene/Node.html#setTranslateZ%28double%29), [setUserData](../../javafx/scene/Node.html#setUserData%28java.lang.Object%29), [setViewOrder](../../javafx/scene/Node.html#setViewOrder%28double%29), [setVisible](../../javafx/scene/Node.html#setVisible%28boolean%29), [snapshot](../../javafx/scene/Node.html#snapshot%28javafx.scene.SnapshotParameters,javafx.scene.image.WritableImage%29), [snapshot](../../javafx/scene/Node.html#snapshot%28javafx.util.Callback,javafx.scene.SnapshotParameters,javafx.scene.image.WritableImage%29), [startDragAndDrop](../../javafx/scene/Node.html#startDragAndDrop%28javafx.scene.input.TransferMode...%29), [startFullDrag](../../javafx/scene/Node.html#startFullDrag%28%29), [styleProperty](../../javafx/scene/Node.html#styleProperty%28%29), [toBack](../../javafx/scene/Node.html#toBack%28%29), [toFront](../../javafx/scene/Node.html#toFront%28%29), [toString](../../javafx/scene/Node.html#toString%28%29), [translateXProperty](../../javafx/scene/Node.html#translateXProperty%28%29), [translateYProperty](../../javafx/scene/Node.html#translateYProperty%28%29), [translateZProperty](../../javafx/scene/Node.html#translateZProperty%28%29), [usesMirroring](../../javafx/scene/Node.html#usesMirroring%28%29), [viewOrderProperty](../../javafx/scene/Node.html#viewOrderProperty%28%29), [visibleProperty](../../javafx/scene/Node.html#visibleProperty%28%29)` * ### Methods declared in class java.lang.[Object](../../java/lang/Object.html "class in java.lang") `[clone](../../java/lang/Object.html#clone%28%29), [equals](../../java/lang/Object.html#equals%28java.lang.Object%29), [finalize](../../java/lang/Object.html#finalize%28%29), [getClass](../../java/lang/Object.html#getClass%28%29), [hashCode](../../java/lang/Object.html#hashCode%28%29), [notify](../../java/lang/Object.html#notify%28%29), [notifyAll](../../java/lang/Object.html#notifyAll%28%29), [wait](../../java/lang/Object.html#wait%28%29), [wait](../../java/lang/Object.html#wait%28long%29), [wait](../../java/lang/Object.html#wait%28long,int%29)` * ### Methods declared in interface javafx.css.[Styleable](../../javafx/css/Styleable.html "interface in javafx.css") `[getStyleableNode](../../javafx/css/Styleable.html#getStyleableNode%28%29), [getStyleClass](../../javafx/css/Styleable.html#getStyleClass%28%29)`
Property Detail
* #### root public final [ObjectProperty](../../javafx/beans/property/ObjectProperty.html "class in javafx.beans.property")<[Parent](../../javafx/scene/Parent.html "class in javafx.scene")> rootProperty Defines the root `Node` of the `SubScene` scene graph. If a `Group` is used as the root, the contents of the scene graph will be clipped by the `SubScene`'s width and height.`SubScene` doesn't accept null root. See Also: [getRoot()](../../javafx/scene/SubScene.html#getRoot%28%29), [setRoot(Parent)](../../javafx/scene/SubScene.html#setRoot%28javafx.scene.Parent%29) * #### camera public final [ObjectProperty](../../javafx/beans/property/ObjectProperty.html "class in javafx.beans.property")<[Camera](../../javafx/scene/Camera.html "class in javafx.scene")> cameraProperty Specifies the type of camera use for rendering this `SubScene`. If `camera` is null, a parallel camera is used for rendering. It is illegal to set a camera that belongs to other `Scene` or `SubScene`. Note: this is a conditional feature. See[ConditionalFeature.SCENE3D](../../javafx/application/ConditionalFeature.html#SCENE3D) for more information. Default value: null See Also: [getCamera()](../../javafx/scene/SubScene.html#getCamera%28%29), [setCamera(Camera)](../../javafx/scene/SubScene.html#setCamera%28javafx.scene.Camera%29) * #### width public final [DoubleProperty](../../javafx/beans/property/DoubleProperty.html "class in javafx.beans.property") widthProperty Defines the width of this `SubScene` Default value: 0.0 See Also: [getWidth()](../../javafx/scene/SubScene.html#getWidth%28%29), [setWidth(double)](../../javafx/scene/SubScene.html#setWidth%28double%29) * #### height public final [DoubleProperty](../../javafx/beans/property/DoubleProperty.html "class in javafx.beans.property") heightProperty Defines the height of this `SubScene` Default value: 0.0 See Also: [getHeight()](../../javafx/scene/SubScene.html#getHeight%28%29), [setHeight(double)](../../javafx/scene/SubScene.html#setHeight%28double%29) * #### fill public final [ObjectProperty](../../javafx/beans/property/ObjectProperty.html "class in javafx.beans.property")<[Paint](../../javafx/scene/paint/Paint.html "class in javafx.scene.paint")> fillProperty Defines the background fill of this `SubScene`. Both a `null` value meaning paint no background and a [Paint](../../javafx/scene/paint/Paint.html "class in javafx.scene.paint") with transparency are supported. The default value is null. Default value: null See Also: [getFill()](../../javafx/scene/SubScene.html#getFill%28%29), [setFill(Paint)](../../javafx/scene/SubScene.html#setFill%28javafx.scene.paint.Paint%29) * #### userAgentStylesheet public final [ObjectProperty](../../javafx/beans/property/ObjectProperty.html "class in javafx.beans.property")<[String](../../java/lang/String.html "class in java.lang")> userAgentStylesheetProperty Since: JavaFX 8u20 See Also: [getUserAgentStylesheet()](../../javafx/scene/SubScene.html#getUserAgentStylesheet%28%29), [setUserAgentStylesheet(String)](../../javafx/scene/SubScene.html#setUserAgentStylesheet%28java.lang.String%29)
Constructor Detail
* #### SubScene public SubScene([Parent](../../javafx/scene/Parent.html "class in javafx.scene") root, double width, double height) Creates a `SubScene` for a specific root Node with a specific size. Parameters: `root` \- The root node of the scene graph `width` \- The width of the sub-scene `height` \- The height of the sub-scene Throws: `[NullPointerException](../../java/lang/NullPointerException.html "class in java.lang")` \- if root is null * #### SubScene public SubScene([Parent](../../javafx/scene/Parent.html "class in javafx.scene") root, double width, double height, boolean depthBuffer, [SceneAntialiasing](../../javafx/scene/SceneAntialiasing.html "class in javafx.scene") antiAliasing) Constructs a `SubScene` consisting of a root, with a dimension of width and height, specifies whether a depth buffer is created for this scene and specifies whether scene anti-aliasing is requested. A sub-scene with only 2D shapes and without any 3D transforms does not need a depth buffer nor scene anti-aliasing support. A sub-scene containing 3D shapes or 2D shapes with 3D transforms may use depth buffer support for proper depth sorted rendering; to avoid depth fighting (also known as Z fighting), disable depth testing on 2D shapes that have no 3D transforms. See [depthTest](../../javafx/scene/Node.html#depthTestProperty%28%29) for more information. A sub-scene with 3D shapes may enable scene anti-aliasing to improve its rendering quality. Parameters: `root` \- The root node of the scene graph `width` \- The width of the sub-scene `height` \- The height of the sub-scene `depthBuffer` \- The depth buffer flag `antiAliasing` \- The sub-scene anti-aliasing attribute. A value of`null` is treated as DISABLED. The depthBuffer and antiAliasing flags are conditional features. With the respective default values of: false and `SceneAntialiasing.DISABLED`. See [ConditionalFeature.SCENE3D](../../javafx/application/ConditionalFeature.html#SCENE3D) for more information. Throws: `[NullPointerException](../../java/lang/NullPointerException.html "class in java.lang")` \- if root is null See Also: [Node.setDepthTest(DepthTest)](../../javafx/scene/Node.html#setDepthTest%28javafx.scene.DepthTest%29)
Method Detail
* #### getAntiAliasing public final [SceneAntialiasing](../../javafx/scene/SceneAntialiasing.html "class in javafx.scene") getAntiAliasing() Returns: the SceneAntialiasing for this sub-scene Since: JavaFX 8.0 * #### isDepthBuffer public final boolean isDepthBuffer() Retrieves the depth buffer attribute for this `SubScene`. Returns: the depth buffer attribute. * #### setRoot public final void setRoot([Parent](../../javafx/scene/Parent.html "class in javafx.scene") value) Sets the value of the property root. Property description: Defines the root `Node` of the `SubScene` scene graph. If a `Group` is used as the root, the contents of the scene graph will be clipped by the `SubScene`'s width and height.`SubScene` doesn't accept null root. * #### getRoot public final [Parent](../../javafx/scene/Parent.html "class in javafx.scene") getRoot() Gets the value of the property root. Property description: Defines the root `Node` of the `SubScene` scene graph. If a `Group` is used as the root, the contents of the scene graph will be clipped by the `SubScene`'s width and height.`SubScene` doesn't accept null root. * #### rootProperty public final [ObjectProperty](../../javafx/beans/property/ObjectProperty.html "class in javafx.beans.property")<[Parent](../../javafx/scene/Parent.html "class in javafx.scene")> rootProperty() Defines the root `Node` of the `SubScene` scene graph. If a `Group` is used as the root, the contents of the scene graph will be clipped by the `SubScene`'s width and height.`SubScene` doesn't accept null root. See Also: [getRoot()](../../javafx/scene/SubScene.html#getRoot%28%29), [setRoot(Parent)](../../javafx/scene/SubScene.html#setRoot%28javafx.scene.Parent%29) * #### setCamera public final void setCamera([Camera](../../javafx/scene/Camera.html "class in javafx.scene") value) Sets the value of the property camera. Property description: Specifies the type of camera use for rendering this `SubScene`. If `camera` is null, a parallel camera is used for rendering. It is illegal to set a camera that belongs to other `Scene` or `SubScene`. Note: this is a conditional feature. See[ConditionalFeature.SCENE3D](../../javafx/application/ConditionalFeature.html#SCENE3D) for more information. Default value: null * #### getCamera public final [Camera](../../javafx/scene/Camera.html "class in javafx.scene") getCamera() Gets the value of the property camera. Property description: Specifies the type of camera use for rendering this `SubScene`. If `camera` is null, a parallel camera is used for rendering. It is illegal to set a camera that belongs to other `Scene` or `SubScene`. Note: this is a conditional feature. See[ConditionalFeature.SCENE3D](../../javafx/application/ConditionalFeature.html#SCENE3D) for more information. Default value: null * #### cameraProperty public final [ObjectProperty](../../javafx/beans/property/ObjectProperty.html "class in javafx.beans.property")<[Camera](../../javafx/scene/Camera.html "class in javafx.scene")> cameraProperty() Specifies the type of camera use for rendering this `SubScene`. If `camera` is null, a parallel camera is used for rendering. It is illegal to set a camera that belongs to other `Scene` or `SubScene`. Note: this is a conditional feature. See[ConditionalFeature.SCENE3D](../../javafx/application/ConditionalFeature.html#SCENE3D) for more information. Default value: null See Also: [getCamera()](../../javafx/scene/SubScene.html#getCamera%28%29), [setCamera(Camera)](../../javafx/scene/SubScene.html#setCamera%28javafx.scene.Camera%29) * #### setWidth public final void setWidth(double value) Sets the value of the property width. Property description: Defines the width of this `SubScene` Default value: 0.0 * #### getWidth public final double getWidth() Gets the value of the property width. Property description: Defines the width of this `SubScene` Default value: 0.0 * #### widthProperty public final [DoubleProperty](../../javafx/beans/property/DoubleProperty.html "class in javafx.beans.property") widthProperty() Defines the width of this `SubScene` Default value: 0.0 See Also: [getWidth()](../../javafx/scene/SubScene.html#getWidth%28%29), [setWidth(double)](../../javafx/scene/SubScene.html#setWidth%28double%29) * #### setHeight public final void setHeight(double value) Sets the value of the property height. Property description: Defines the height of this `SubScene` Default value: 0.0 * #### getHeight public final double getHeight() Gets the value of the property height. Property description: Defines the height of this `SubScene` Default value: 0.0 * #### heightProperty public final [DoubleProperty](../../javafx/beans/property/DoubleProperty.html "class in javafx.beans.property") heightProperty() Defines the height of this `SubScene` Default value: 0.0 See Also: [getHeight()](../../javafx/scene/SubScene.html#getHeight%28%29), [setHeight(double)](../../javafx/scene/SubScene.html#setHeight%28double%29) * #### setFill public final void setFill([Paint](../../javafx/scene/paint/Paint.html "class in javafx.scene.paint") value) Sets the value of the property fill. Property description: Defines the background fill of this `SubScene`. Both a `null` value meaning paint no background and a [Paint](../../javafx/scene/paint/Paint.html "class in javafx.scene.paint") with transparency are supported. The default value is null. Default value: null * #### getFill public final [Paint](../../javafx/scene/paint/Paint.html "class in javafx.scene.paint") getFill() Gets the value of the property fill. Property description: Defines the background fill of this `SubScene`. Both a `null` value meaning paint no background and a [Paint](../../javafx/scene/paint/Paint.html "class in javafx.scene.paint") with transparency are supported. The default value is null. Default value: null * #### fillProperty public final [ObjectProperty](../../javafx/beans/property/ObjectProperty.html "class in javafx.beans.property")<[Paint](../../javafx/scene/paint/Paint.html "class in javafx.scene.paint")> fillProperty() Defines the background fill of this `SubScene`. Both a `null` value meaning paint no background and a [Paint](../../javafx/scene/paint/Paint.html "class in javafx.scene.paint") with transparency are supported. The default value is null. Default value: null See Also: [getFill()](../../javafx/scene/SubScene.html#getFill%28%29), [setFill(Paint)](../../javafx/scene/SubScene.html#setFill%28javafx.scene.paint.Paint%29) * #### userAgentStylesheetProperty public final [ObjectProperty](../../javafx/beans/property/ObjectProperty.html "class in javafx.beans.property")<[String](../../java/lang/String.html "class in java.lang")> userAgentStylesheetProperty() Since: JavaFX 8u20 See Also: [getUserAgentStylesheet()](../../javafx/scene/SubScene.html#getUserAgentStylesheet%28%29), [setUserAgentStylesheet(String)](../../javafx/scene/SubScene.html#setUserAgentStylesheet%28java.lang.String%29) * #### getUserAgentStylesheet public final [String](../../java/lang/String.html "class in java.lang") getUserAgentStylesheet() Get the URL of the user-agent stylesheet that will be used by this SubScene. If the URL has not been set, the platform-default user-agent stylesheet will be used. For additional information about using CSS with the scene graph, see the [CSS Reference Guide](doc-files/cssref.html). Returns: The URL of the user-agent stylesheet that will be used by this SubScene, or null if has not been set. Since: JavaFX 8u20 * #### setUserAgentStylesheet public final void setUserAgentStylesheet([String](../../java/lang/String.html "class in java.lang") url) Set the URL of the user-agent stylesheet that will be used by this SubScene in place of the the platform-default user-agent stylesheet. If the URL does not resolve to a valid location, the platform-default user-agent stylesheet will be used. For additional information about using CSS with the scene graph, see the [CSS Reference Guide](doc-files/cssref.html). Parameters: `url` \- The URL is a hierarchical URI of the form \[scheme:\]\[//authority\]\[path\]. If the URL does not have a \[scheme:\] component, the URL is considered to be the \[path\] component only. Any leading '/' character of the \[path\] is ignored and the \[path\] is treated as a path relative to the root of the application's classpath. Since: JavaFX 8u20