scalafx.scene

Type members

Classlikes

This enum describes the actions that an assistive technology such as a screen reader can request from the scene graph.

This enum describes the actions that an assistive technology such as a screen reader can request from the scene graph.

The [[AccessibleRole]] dictates the set of actions that the screen reader will request for a particular control. For example, a push button normally fires an event to indicate that it was pressed in response to the FIRE action.

An action may have any number of parameters, depending on the particular action.

Wraps http://docs.oracle.com/javase/8/javafx/api/javafx/scene/AccessibleAction.html

Companion
class
sealed abstract class AccessibleAction(val delegate: AccessibleAction) extends SFXEnumDelegate[AccessibleAction]
Companion
object
object AccessibleRole extends SFXEnumDelegateCompanion[AccessibleRole, AccessibleRole]

This enum describes the accessible role for a Node.

This enum describes the accessible role for a Node.

The role is used by assistive technologies such as screen readers to decide the set of actions and attributes for a node. For example, when the screen reader needs the current value of a slider, it will request it using the value attribute. When the screen reader changes the value of the slider, it will use an action to set the current value of the slider. The slider must respond appropriately to both these requests.

Wraps http://docs.oracle.com/javase/8/javafx/api/javafx/scene/AccessibleRole.html

Companion
class
sealed abstract class AccessibleRole(val delegate: AccessibleRole) extends SFXEnumDelegate[AccessibleRole]
Companion
object
object AmbientLight
Companion
class
class AmbientLight(val delegate: AmbientLight) extends LightBase with SFXDelegate[AmbientLight]

Defines an ambient light source object. Ambient light is a light source that seems to come from all directions.

Defines an ambient light source object. Ambient light is a light source that seems to come from all directions.

Companion
object
object CacheHint extends SFXEnumDelegateCompanion[CacheHint, CacheHint]
Companion
class
sealed abstract class CacheHint(val delegate: CacheHint) extends SFXEnumDelegate[CacheHint]
Companion
object
object Camera
Companion
class
abstract class Camera(val delegate: Camera) extends Node with SFXDelegate[Camera]
Companion
object
object Cursor
Companion
class
abstract class Cursor(val delegate: Cursor) extends SFXDelegate[Cursor]
Companion
object
object DepthTest extends SFXEnumDelegateCompanion[DepthTest, DepthTest]
Companion
class
sealed abstract class DepthTest(val delegate: DepthTest) extends SFXEnumDelegate[DepthTest]
Companion
object
object Group
Companion
class
object ImageCursor
Companion
class
class ImageCursor(val delegate: ImageCursor) extends Cursor with SFXDelegate[ImageCursor]
Companion
object
object LightBase
Companion
class
abstract class LightBase(val delegate: LightBase) extends Node with SFXDelegate[LightBase]

The LightBase class provides definitions of common properties for objects that represent a form of Light source.

The LightBase class provides definitions of common properties for objects that represent a form of Light source.

Companion
object

Contains implicit methods to convert from `javafx.scene` Classes/Traits to their ScalaFX counterparts.

Contains implicit methods to convert from `javafx.scene` Classes/Traits to their ScalaFX counterparts.

object Node

Companion object for scalafx.scene.Node.

Companion object for scalafx.scene.Node.

Companion
class
abstract class Node extends EventHandlerDelegate2 with Styleable with SFXDelegate[Node]
Value Params
delegate

JavaFX Node

Constructor

creates a new ScalaFX Node from a JavaFX Node.

Companion
object
Companion
class
class ParallelCamera(val delegate: ParallelCamera) extends Camera with SFXDelegate[ParallelCamera]
Companion
object
object Parent
Companion
class
Companion
class
class PerspectiveCamera(val delegate: PerspectiveCamera) extends Camera with SFXDelegate[PerspectiveCamera]
Companion
object
object PointLight
Companion
class
class PointLight(val delegate: PointLight) extends LightBase with SFXDelegate[PointLight]

Defines a point light source object. An attenuated light source that has a fixed point in space and radiates light equally in all directions away from itself.

Defines a point light source object. An attenuated light source that has a fixed point in space and radiates light equally in all directions away from itself.

Companion
object
object Scene
Companion
class
class Scene(val delegate: Scene) extends SFXDelegate[Scene]
Value Params
delegate

JavaFX Scene delegated. Its default value is a JavaFX Scene with a Group as root Node.

Constructor

Create a new ScalaFX Scene with JavaFX Scene as delegate.

Companion
object

Specifies the level of antialiasing desired when rendering 3D primitives.

Specifies the level of antialiasing desired when rendering 3D primitives.

Note

In order for scene antialiasing to have an affect, the underlying system must support: ConditionalFeature.SCENE3D and anti-aliasing.

Companion
class
sealed abstract class SceneAntialiasing(val delegate: SceneAntialiasing) extends SFXDelegate[SceneAntialiasing]
Companion
object
Companion
class

Contains implicit methods to convert from `javafx.scene` and subpackages Classes/Traits to their ScalaFX counterparts.

Contains implicit methods to convert from `javafx.scene` and subpackages Classes/Traits to their ScalaFX counterparts.

Companion
object
Companion
class
Companion
class
class SnapshotResult(val delegate: SnapshotResult) extends SFXDelegate[SnapshotResult]

Wraps JavaFX's [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/SnapshotResult.html SnapshotResult]]. How the original Java class does not have public constructors, it is not possible instantiate in Scala.

Wraps JavaFX's [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/SnapshotResult.html SnapshotResult]]. How the original Java class does not have public constructors, it is not possible instantiate in Scala.

Since

2.2

Companion
object
object SubScene
Companion
class

Deprecated classlikes

@deprecated("Use of SceneProperty can result in infinite recursion and StackOverflow errors. See discussion of [Issue #69](https://github.com/scalafx/scalafx/issues/69)", "8.0.60-R10")
Companion
class
Deprecated
@deprecated("Use of SceneProperty can result in infinite recursion and StackOverflow errors. See discussion of [Issue #69](https://github.com/scalafx/scalafx/issues/69)", "8.0.60-R10")
class SceneProperty(val delegate: ReadOnlyObjectProperty[Scene]) extends ReadOnlyObjectProperty[Scene] with SFXDelegate[ReadOnlyObjectProperty[Scene]]
Companion
object
Deprecated