scalafx.scene

Group

Related Docs: object Group | package scene

class Group extends Parent with SFXDelegate[javafx.scene.Group]

Wraps http://docs.oracle.com/javafx/2/api/javafx/scene/Group.html.

Source
Group.scala
Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Group
  2. Parent
  3. Node
  4. SFXDelegate
  5. EventHandlerDelegate
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Group(children: Node*)

    Constructs a group consisting of children.

  2. new Group(delegate: javafx.scene.Group = new jfxs.Group())

Type Members

  1. type EventHandled = AnyRef { ... /* 5 definitions in type refinement */ }

    Definition Classes
    EventHandlerDelegate
  2. sealed trait FilterMagnet[J <: javafx.event.Event, S <: SFXDelegate[J]] extends AnyRef

    Trait implementing Magnet Pattern to avoid compilation error "ambiguous reference to overloaded definition"

    Trait implementing Magnet Pattern to avoid compilation error "ambiguous reference to overloaded definition"

    Definition Classes
    EventHandlerDelegate
  3. sealed trait HandlerMagnet[J <: javafx.event.Event, S <: SFXDelegate[J]] extends AnyRef

    Trait implementing Magnet Pattern to avoid compilation error "ambiguous reference to overloaded definition"

    Trait implementing Magnet Pattern to avoid compilation error "ambiguous reference to overloaded definition"

    Definition Classes
    EventHandlerDelegate

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. object FilterMagnet

    Companion object implementing Magnet Pattern Magnet Pattern to avoid compilation error "ambiguous reference to overloaded definition"

    Companion object implementing Magnet Pattern Magnet Pattern to avoid compilation error "ambiguous reference to overloaded definition"

    Definition Classes
    EventHandlerDelegate
  5. object HandlerMagnet

    Companion object implementing Magnet Pattern Magnet Pattern to avoid compilation error "ambiguous reference to overloaded definition"

    Companion object implementing Magnet Pattern Magnet Pattern to avoid compilation error "ambiguous reference to overloaded definition"

    Definition Classes
    EventHandlerDelegate
  6. def addEventFilter[E <: Event](eventType: EventType[E], eventHandler: EventHandler[_ >: E]): Unit

    Registers an event filter to this task.

    Registers an event filter to this task. Registered event filters get an event before any associated event handlers.

    E

    Event class

    eventType

    the type of the events to receive by the filter

    eventHandler

    the filter to register that will filter event

    Definition Classes
    EventHandlerDelegate
  7. def addEventHandler[E <: Event](eventType: EventType[E], eventHandler: EventHandler[_ >: E]): Unit

    Registers an event handler to this task.

    Registers an event handler to this task. Any event filters are first processed, then the specified onFoo event handlers, and finally any event handlers registered by this method. As with other events in the scene graph, if an event is consumed, it will not continue dispatching.

    E

    Event class

    eventType

    the type of the events to receive by the handler

    eventHandler

    the handler to register that will manipulate event

    Definition Classes
    EventHandlerDelegate
  8. def alignmentInParent: Pos

    Pseudo-property that indicates this Node position inside its respective parent.

    Pseudo-property that indicates this Node position inside its respective parent.

    Definition Classes
    Node
  9. def alignmentInParent_=(p: Pos): Unit

    Sets this Node's alignment constraint inside its Parent.

    Sets this Node's alignment constraint inside its Parent. If set, will override the Parent's default alignment. Setting the value to null will remove the constraint. Internally it calls setAlignment(Node, Pos) static method JavaFX's BorderPane, StackPane and TilePane. Furthermore, it is set halignment and valignment property (using JavaFX Node's getProperties()) and called javafx.geometry.HPos) setHalignment and javafx.geometry.VPos) setValignment static methods from GridPane; this time using hpos and vpos from Pos argument. Besides, it sets this node alignment property towards JavaFX Node's getProperties() and setAlignment static method from

    Do not confuse with alignment property from scalafx.delegate.AlignmentDelegate! It refers to alignment inside element, while alignmentInParent refers to element's alignment inside its parent.

    p

    New node's Position

    Definition Classes
    Node
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def autoSizeChildren: BooleanProperty

    Controls whether or not this Group will automatically resize any managed resizable children to their preferred sizes during the layout pass.

  12. def autoSizeChildren_=(v: Boolean): Unit

  13. def autosize(): Unit

    If the node is resizable, will set its layout bounds to its current preferred width and height.

    If the node is resizable, will set its layout bounds to its current preferred width and height.

    Definition Classes
    Node
  14. def baselineOffset: Double

    The 'alphabetic' (or 'roman') baseline offset from the node's layoutBounds.minY location that should be used when this node is being vertically aligned by baseline with other nodes.

    The 'alphabetic' (or 'roman') baseline offset from the node's layoutBounds.minY location that should be used when this node is being vertically aligned by baseline with other nodes.

    Definition Classes
    Node
  15. def blendMode: ObjectProperty[BlendMode]

    The BlendMode used to blend this individual node into the scene behind it.

    The BlendMode used to blend this individual node into the scene behind it.

    Definition Classes
    Node
  16. def blendMode_=(v: BlendMode): Unit

    Definition Classes
    Node
  17. def boundsInLocal: ReadOnlyObjectProperty[Bounds]

    The rectangular bounds of this Node in the node's untransformed local coordinate space.

    The rectangular bounds of this Node in the node's untransformed local coordinate space.

    Definition Classes
    Node
  18. def boundsInParent: ReadOnlyObjectProperty[Bounds]

    The rectangular bounds of this Node which include its transforms.

    The rectangular bounds of this Node which include its transforms.

    Definition Classes
    Node
  19. def buildEventDispatchChain(chain: EventDispatchChain): EventDispatchChain

    Construct an event dispatch chain for this target.

    Construct an event dispatch chain for this target.

    Definition Classes
    EventHandlerDelegate
  20. def cache: BooleanProperty

    A performance hint to the system to indicate that this Node should be cached as a bitmap.

    A performance hint to the system to indicate that this Node should be cached as a bitmap.

    Definition Classes
    Node
  21. def cacheHint: ObjectProperty[javafx.scene.CacheHint]

    Additional hint for controlling bitmap caching.

    Additional hint for controlling bitmap caching.

    Definition Classes
    Node
  22. def cacheHint_=(v: CacheHint): Unit

    Definition Classes
    Node
  23. def cache_=(v: Boolean): Unit

    Definition Classes
    Node
  24. def children: ObservableList[javafx.scene.Node]

    Gets the list of children of this Group.

  25. def children_=(n: Node): Unit

    Sets a child, replacing the prior content.

    Sets a child, replacing the prior content. If you want append to current content, use add or similar.

    n

    Node to replace prior content.

  26. def children_=(c: Iterable[Node]): Unit

    Sets the list of children, replacing the prior content.

    Sets the list of children, replacing the prior content. If you want append to current content, use add or similar.

    c

    list of children to replace prior content.

  27. def clip: ObjectProperty[javafx.scene.Node]

    Specifies a Node to use to define the the clipping shape for this Node.

    Specifies a Node to use to define the the clipping shape for this Node.

    Definition Classes
    Node
  28. def clip_=(v: Node): Unit

    Definition Classes
    Node
  29. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def contains(localPoint: Point2D): Boolean

    Returns true if the given point (specified in the local coordinate space of this Node) is contained within the shape of this Node.

    Returns true if the given point (specified in the local coordinate space of this Node) is contained within the shape of this Node.

    Definition Classes
    Node
  31. def contains(localX: Double, localY: Double): Boolean

    Returns true if the given point (specified in the local coordinate space of this Node) is contained within the shape of this Node.

    Returns true if the given point (specified in the local coordinate space of this Node) is contained within the shape of this Node.

    Definition Classes
    Node
  32. def cursor: ObjectProperty[javafx.scene.Cursor]

    Defines the mouse cursor for this Node and subnodes.

    Defines the mouse cursor for this Node and subnodes.

    Definition Classes
    Node
  33. def cursor_=(v: Cursor): Unit

    Definition Classes
    Node
  34. val delegate: javafx.scene.Group

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

    Definition Classes
    GroupParentNodeSFXDelegate
  35. def depthTest: ObjectProperty[javafx.scene.DepthTest]

    Indicates whether depth testing is used when rendering this node.

    Indicates whether depth testing is used when rendering this node.

    Definition Classes
    Node
  36. def depthTest_=(v: DepthTest): Unit

    Definition Classes
    Node
  37. def disable: BooleanProperty

    Sets the individual disabled state of this Node.

    Sets the individual disabled state of this Node.

    Definition Classes
    Node
  38. def disable_=(v: Boolean): Unit

    Definition Classes
    Node
  39. def disabled: ReadOnlyBooleanProperty

    Indicates whether or not this Node is disabled.

    Indicates whether or not this Node is disabled.

    Definition Classes
    Node
  40. def effect: ObjectProperty[Effect]

    Specifies an effect to apply to this Node.

    Specifies an effect to apply to this Node.

    Definition Classes
    Node
  41. def effect_=(v: Effect): Unit

    Definition Classes
    Node
  42. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  43. def equals(ref: Any): Boolean

    Verifies if a object is equals to this delegate.

    Verifies if a object is equals to this delegate.

    ref

    Object to be compared.

    returns

    if the other object is equals to this delegate or not.

    Definition Classes
    SFXDelegate → AnyRef → Any
  44. def eventDispatcher: ObjectProperty[EventDispatcher]

    Specifies the event dispatcher for this node.

    Specifies the event dispatcher for this node.

    Definition Classes
    Node
  45. def eventDispatcher_=(v: EventDispatcher): Unit

    Definition Classes
    Node
  46. def eventHandlerDelegate: EventHandled

    Returns a object that implements scalafx.event.EventHandlerDelegate.EventHandled.

    Returns a object that implements scalafx.event.EventHandlerDelegate.EventHandled.

    Attributes
    protected
    Definition Classes
    NodeEventHandlerDelegate
  47. def filterEvent[J <: Event, S <: Event with SFXDelegate[J]](eventType: EventType[J])(filter: FilterMagnet[J, S]): Subscription

    Registers an event filter.

    Registers an event filter. Registered event filters get an event before any associated event handlers.

    Example of filtering mouse events

    pane.filterEvent(MouseEvent.Any) {
      me: MouseEvent => {
        me.eventType match {
          case MouseEvent.MousePressed => {
            ...
          }
          case MouseEvent.MouseDragged => {
            ...
          }
          case _ => {
            ...
          }
        }
      }
    }

    or

    pane.filterEvent(MouseEvent.Any) { () => println("Some mouse event handled") }
    J

    type JavaFX delegate of the event

    S

    ScalaFX type for J type wrapper.

    eventType

    type of events that will be handled.

    filter

    code handling the event, see examples above.

    Definition Classes
    EventHandlerDelegate
  48. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  49. def fireEvent(event: Event): Unit

    Fires the specified event.

    Fires the specified event.

    Definition Classes
    Node
  50. def focusTraversable: BooleanProperty

    Specifies whether this Node should be a part of focus traversal cycle.

    Specifies whether this Node should be a part of focus traversal cycle.

    Definition Classes
    Node
  51. def focusTraversable_=(v: Boolean): Unit

    Definition Classes
    Node
  52. def focused: ReadOnlyBooleanProperty

    Indicates whether this Node currently has the input focus.

    Indicates whether this Node currently has the input focus.

    Definition Classes
    Node
  53. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  54. def handleEvent[J <: Event, S <: Event with SFXDelegate[J]](eventType: EventType[J])(handler: HandlerMagnet[J, S]): Subscription

    Registers an event handler.

    Registers an event handler. The handler is called when the node receives an Event of the specified type during the bubbling phase of event delivery.

    Example of handling mouse events

    pane.handleEvent(MouseEvent.Any) {
      me: MouseEvent => {
        me.eventType match {
          case MouseEvent.MousePressed => ...
          case MouseEvent.MouseDragged => ...
          case _                       => {}
        }
      }
    }

    or

    pane.handleEvent(MouseEvent.Any) { () => println("Some mouse event handled") }
    J

    type JavaFX delegate of the event

    S

    ScalaFX type for J type wrapper.

    eventType

    type of events that will be handled.

    handler

    code handling the event, see examples above.

    returns

    Returns a subscription that can be used to cancel/remove this event handler

    Definition Classes
    EventHandlerDelegate
  55. def hashCode(): Int

    returns

    The delegate hashcode

    Definition Classes
    SFXDelegate → AnyRef → Any
  56. def hgrow: Priority

    Pseudo-property that returns this Node's hgrow constraint if set.

    Pseudo-property that returns this Node's hgrow constraint if set.

    returns

    the horizontal grow priority for the child or null if no priority was set

    Definition Classes
    Node
  57. def hgrow_=(p: Priority): Unit

    Sets the horizontal grow priority for this Node inside its parent.

    Sets the horizontal grow priority for this Node inside its parent. Setting the value to null will remove the constraint. Internally it calls setHgrow(Node, Priority) static method from JavaFX's GridPane and HBox besides fill this Node's "hgrow" property.

    p

    the horizontal grow priority for this Node

    Definition Classes
    Node
  58. def hover: ReadOnlyBooleanProperty

    Whether or not this Node is being hovered over.

    Whether or not this Node is being hovered over.

    Definition Classes
    Node
  59. def id: StringProperty

    The id of this Node.

    The id of this Node.

    Definition Classes
    Node
  60. def id_=(v: String): Unit

    Definition Classes
    Node
  61. def inputMethodRequests: ObjectProperty[InputMethodRequests]

    Property holding InputMethodRequests.

    Property holding InputMethodRequests.

    Definition Classes
    Node
  62. def inputMethodRequests_=(v: InputMethodRequests): Unit

    Definition Classes
    Node
  63. def intersects(localX: Double, localY: Double, localWidth: Double, localHeight: Double): Boolean

    Returns true if the given rectangle (specified in the local coordinate space of this Node) intersects the shape of this Node.

    Returns true if the given rectangle (specified in the local coordinate space of this Node) intersects the shape of this Node.

    Definition Classes
    Node
  64. def intersects(localBounds: Bounds): Boolean

    Returns true if the given bounds (specified in the local coordinate space of this Node) intersects the shape of this Node.

    Returns true if the given bounds (specified in the local coordinate space of this Node) intersects the shape of this Node.

    Definition Classes
    Node
  65. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  66. def layoutBounds: ReadOnlyObjectProperty[Bounds]

    The rectangular bounds that should be used for layout calculations for this node.

    The rectangular bounds that should be used for layout calculations for this node.

    Definition Classes
    Node
  67. def layoutX: DoubleProperty

    Defines the x coordinate of the translation that is added to this Node's transform for the purpose of layout.

    Defines the x coordinate of the translation that is added to this Node's transform for the purpose of layout.

    Definition Classes
    Node
  68. def layoutX_=(v: Double): Unit

    Definition Classes
    Node
  69. def layoutY: DoubleProperty

    Defines the y coordinate of the translation that is added to this Node's transform for the purpose of layout.

    Defines the y coordinate of the translation that is added to this Node's transform for the purpose of layout.

    Definition Classes
    Node
  70. def layoutY_=(v: Double): Unit

    Definition Classes
    Node
  71. def localToParent(localPoint: Point2D): Point2D

    Transforms a point from the local coordinate space of this Node into the coordinate space of its parent.

    Transforms a point from the local coordinate space of this Node into the coordinate space of its parent.

    Definition Classes
    Node
  72. def localToParent(localX: Double, localY: Double): Point2D

    Transforms a point from the local coordinate space of this Node into the coordinate space of its parent.

    Transforms a point from the local coordinate space of this Node into the coordinate space of its parent.

    Definition Classes
    Node
  73. def localToParent(localBounds: Bounds): Bounds

    Transforms a bounds from the local coordinate space of this Node into the coordinate space of its parent.

    Transforms a bounds from the local coordinate space of this Node into the coordinate space of its parent.

    Definition Classes
    Node
  74. def localToParentTransform: Transform

    An affine transform that holds the computed local-to-parent transform.

    An affine transform that holds the computed local-to-parent transform. This is the concatenation of all transforms in this node, including all of the convenience transforms.

    Definition Classes
    Node
    Since

    2.2

  75. def localToScene(localPoint: Point2D): Point2D

    Transforms a point from the local coordinate space of this Node into the coordinate space of its Scene.

    Transforms a point from the local coordinate space of this Node into the coordinate space of its Scene.

    Definition Classes
    Node
  76. def localToScene(localX: Double, localY: Double): Point2D

    Transforms a point from the local coordinate space of this Node into the coordinate space of its Scene.

    Transforms a point from the local coordinate space of this Node into the coordinate space of its Scene.

    Definition Classes
    Node
  77. def localToScene(localBounds: Bounds): Bounds

    Transforms a bounds from the local coordinate space of this Node into the coordinate space of its Scene.

    Transforms a bounds from the local coordinate space of this Node into the coordinate space of its Scene.

    Definition Classes
    Node
  78. def localToSceneTransform: Transform

    An affine transform that holds the computed local-to-scene transform.

    An affine transform that holds the computed local-to-scene transform. This is the concatenation of all transforms in this node's parents and in this node, including all of the convenience transforms.

    Definition Classes
    Node
    Since

    2.2

  79. def lookup(selector: String): Node

    Finds this Node, or the first sub-node, based on the given CSS selector.

    Finds this Node, or the first sub-node, based on the given CSS selector.

    Definition Classes
    Node
  80. def lookupAll(selector: String): Set[javafx.scene.Node]

    Finds all Nodes, including this one and any children, which match the given CSS selector.

    Finds all Nodes, including this one and any children, which match the given CSS selector.

    Definition Classes
    Node
  81. def managed: BooleanProperty

    Defines whether or not this node's layout will be managed by it's parent.

    Defines whether or not this node's layout will be managed by it's parent.

    Definition Classes
    Node
  82. def managed_=(v: Boolean): Unit

    Definition Classes
    Node
  83. def margin: Insets

    Pseudo-property that returns this Node's margin constraint inside its Parent if set.

    Pseudo-property that returns this Node's margin constraint inside its Parent if set.

    returns

    this Node's margin constraint inside its Parent or null if no margin was set.

    Definition Classes
    Node
  84. def margin_=(i: Insets): Unit

    Sets this Node's margin constraint inside its Parent if set.

    Sets this Node's margin constraint inside its Parent if set. If set, the parent will layout the child with the margin space around it. Setting the value to null will remove the constraint. Internally it calls setMargin(Node, Insets) static method from JavaFX's BorderPane, FlowPane, GridPane, HBox, StackPane and VBox besides fill this Node's "margin" property.

    i

    The margin of space around this Node inside its parent.

    Definition Classes
    Node
  85. def maxHeight(width: Double): Double

    Returns the node's maximum height for use in layout calculations.

    Returns the node's maximum height for use in layout calculations.

    Definition Classes
    Node
  86. def maxWidth(height: Double): Double

    Returns the node's maximum width for use in layout calculations.

    Returns the node's maximum width for use in layout calculations.

    Definition Classes
    Node
  87. def minHeight(width: Double): Double

    Returns the node's minimum height for use in layout calculations.

    Returns the node's minimum height for use in layout calculations.

    Definition Classes
    Node
  88. def minWidth(height: Double): Double

    Returns the node's minimum width for use in layout calculations.

    Returns the node's minimum width for use in layout calculations.

    Definition Classes
    Node
  89. def mouseTransparent: BooleanProperty

    If true, this node (together with all its children) is completely transparent to mouse events.

    If true, this node (together with all its children) is completely transparent to mouse events.

    Definition Classes
    Node
  90. def mouseTransparent_=(v: Boolean): Unit

    Definition Classes
    Node
  91. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  92. def needsLayout: ReadOnlyBooleanProperty

    Indicates that this Node and its subnodes requires a layout pass on the next pulse.

    Indicates that this Node and its subnodes requires a layout pass on the next pulse.

    Definition Classes
    Parent
  93. final def notify(): Unit

    Definition Classes
    AnyRef
  94. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  95. def onContextMenuRequested: ObjectProperty[EventHandler[_ >: ContextMenuEvent]]

    Defines a function to be called when a context menu has been requested on this Node.

    Defines a function to be called when a context menu has been requested on this Node.

    Definition Classes
    Node
  96. def onContextMenuRequested_=(v: EventHandler[_ >: ContextMenuEvent]): Unit

    Definition Classes
    Node
  97. def onDragDetected: ObjectProperty[EventHandler[_ >: MouseEvent]]

    Defines a function to be called when drag gesture has been detected.

    Defines a function to be called when drag gesture has been detected.

    Definition Classes
    Node
  98. def onDragDetected_=(v: EventHandler[_ >: MouseEvent]): Unit

    Definition Classes
    Node
  99. def onDragDone: ObjectProperty[EventHandler[_ >: DragEvent]]

    Defines a function to be called when this Node is a drag and drop gesture source after its data has been dropped on a drop target.

    Defines a function to be called when this Node is a drag and drop gesture source after its data has been dropped on a drop target.

    Definition Classes
    Node
  100. def onDragDone_=(v: EventHandler[_ >: DragEvent]): Unit

    Definition Classes
    Node
  101. def onDragDropped: ObjectProperty[EventHandler[_ >: DragEvent]]

    Defines a function to be called when the mouse button is released on this Node during drag and drop gesture.

    Defines a function to be called when the mouse button is released on this Node during drag and drop gesture.

    Definition Classes
    Node
  102. def onDragDropped_=(v: EventHandler[_ >: DragEvent]): Unit

    Definition Classes
    Node
  103. def onDragEntered: ObjectProperty[EventHandler[_ >: DragEvent]]

    Defines a function to be called when drag gesture enters this Node.

    Defines a function to be called when drag gesture enters this Node.

    Definition Classes
    Node
  104. def onDragEntered_=(v: EventHandler[_ >: DragEvent]): Unit

    Definition Classes
    Node
  105. def onDragExited: ObjectProperty[EventHandler[_ >: DragEvent]]

    Defines a function to be called when drag gesture exits this Node.

    Defines a function to be called when drag gesture exits this Node.

    Definition Classes
    Node
  106. def onDragExited_=(v: EventHandler[_ >: DragEvent]): Unit

    Definition Classes
    Node
  107. def onDragOver: ObjectProperty[EventHandler[_ >: DragEvent]]

    Defines a function to be called when drag gesture progresses within this Node.

    Defines a function to be called when drag gesture progresses within this Node.

    Definition Classes
    Node
  108. def onDragOver_=(v: EventHandler[_ >: DragEvent]): Unit

    Definition Classes
    Node
  109. def onInputMethodTextChanged: ObjectProperty[EventHandler[_ >: InputMethodEvent]]

    Defines a function to be called when this Node has input focus and the input method text has changed.

    Defines a function to be called when this Node has input focus and the input method text has changed.

    Definition Classes
    Node
  110. def onInputMethodTextChanged_=(v: EventHandler[_ >: InputMethodEvent]): Unit

    Definition Classes
    Node
  111. def onKeyPressed: ObjectProperty[EventHandler[_ >: KeyEvent]]

    Defines a function to be called when this Node or its child Node has input focus and a key has been pressed.

    Defines a function to be called when this Node or its child Node has input focus and a key has been pressed.

    Definition Classes
    Node
  112. def onKeyPressed_=(v: EventHandler[_ >: KeyEvent]): Unit

    Definition Classes
    Node
  113. def onKeyReleased: ObjectProperty[EventHandler[_ >: KeyEvent]]

    Defines a function to be called when this Node or its child Node has input focus and a key has been released.

    Defines a function to be called when this Node or its child Node has input focus and a key has been released.

    Definition Classes
    Node
  114. def onKeyReleased_=(v: EventHandler[_ >: KeyEvent]): Unit

    Definition Classes
    Node
  115. def onKeyTyped: ObjectProperty[EventHandler[_ >: KeyEvent]]

    Defines a function to be called when this Node or its child Node has input focus and a key has been typed.

    Defines a function to be called when this Node or its child Node has input focus and a key has been typed.

    Definition Classes
    Node
  116. def onKeyTyped_=(v: EventHandler[_ >: KeyEvent]): Unit

    Definition Classes
    Node
  117. def onMouseClicked: ObjectProperty[EventHandler[_ >: MouseEvent]]

    Defines a function to be called when a mouse button has been clicked (pressed and released) on this Node.

    Defines a function to be called when a mouse button has been clicked (pressed and released) on this Node.

    Definition Classes
    Node
  118. def onMouseClicked_=(v: EventHandler[_ >: MouseEvent]): Unit

    Definition Classes
    Node
  119. def onMouseDragEntered: ObjectProperty[EventHandler[_ >: MouseDragEvent]]

    Defines a function to be called when a full press-drag-release gesture enters this Node.

    Defines a function to be called when a full press-drag-release gesture enters this Node.

    Definition Classes
    Node
  120. def onMouseDragEntered_=(v: EventHandler[_ >: MouseDragEvent]): Unit

    Definition Classes
    Node
  121. def onMouseDragExited: ObjectProperty[EventHandler[_ >: MouseDragEvent]]

    Defines a function to be called when a full press-drag-release gesture leaves this Node.

    Defines a function to be called when a full press-drag-release gesture leaves this Node.

    Definition Classes
    Node
  122. def onMouseDragExited_=(v: EventHandler[_ >: MouseDragEvent]): Unit

    Definition Classes
    Node
  123. def onMouseDragOver: ObjectProperty[EventHandler[_ >: MouseDragEvent]]

    Defines a function to be called when a full press-drag-release gesture progresses within this Node.

    Defines a function to be called when a full press-drag-release gesture progresses within this Node.

    Definition Classes
    Node
  124. def onMouseDragOver_=(v: EventHandler[_ >: MouseDragEvent]): Unit

    Definition Classes
    Node
  125. def onMouseDragReleased: ObjectProperty[EventHandler[_ >: MouseDragEvent]]

    Defines a function to be called when a full press-drag-release gesture ends (by releasing mouse button) within this Node.

    Defines a function to be called when a full press-drag-release gesture ends (by releasing mouse button) within this Node.

    Definition Classes
    Node
  126. def onMouseDragReleased_=(v: EventHandler[_ >: MouseDragEvent]): Unit

    Definition Classes
    Node
  127. def onMouseDragged: ObjectProperty[EventHandler[_ >: MouseEvent]]

    Defines a function to be called when a mouse button is pressed on this Node and then dragged.

    Defines a function to be called when a mouse button is pressed on this Node and then dragged.

    Definition Classes
    Node
  128. def onMouseDragged_=(v: EventHandler[_ >: MouseEvent]): Unit

    Definition Classes
    Node
  129. def onMouseEntered: ObjectProperty[EventHandler[_ >: MouseEvent]]

    Defines a function to be called when the mouse enters this Node.

    Defines a function to be called when the mouse enters this Node.

    Definition Classes
    Node
  130. def onMouseEntered_=(v: EventHandler[_ >: MouseEvent]): Unit

    Definition Classes
    Node
  131. def onMouseExited: ObjectProperty[EventHandler[_ >: MouseEvent]]

    Defines a function to be called when the mouse exits this Node.

    Defines a function to be called when the mouse exits this Node.

    Definition Classes
    Node
  132. def onMouseExited_=(v: EventHandler[_ >: MouseEvent]): Unit

    Definition Classes
    Node
  133. def onMouseMoved: ObjectProperty[EventHandler[_ >: MouseEvent]]

    Definition Classes
    Node
  134. def onMouseMoved_=(v: EventHandler[_ >: MouseEvent]): Unit

    Definition Classes
    Node
  135. def onMousePressed: ObjectProperty[EventHandler[_ >: MouseEvent]]

    Defines a function to be called when a mouse button has been pressed on this Node.

    Defines a function to be called when a mouse button has been pressed on this Node.

    Definition Classes
    Node
  136. def onMousePressed_=(v: EventHandler[_ >: MouseEvent]): Unit

    Definition Classes
    Node
  137. def onMouseReleased: ObjectProperty[EventHandler[_ >: MouseEvent]]

    Defines a function to be called when a mouse button has been released on this Node.

    Defines a function to be called when a mouse button has been released on this Node.

    Definition Classes
    Node
  138. def onMouseReleased_=(v: EventHandler[_ >: MouseEvent]): Unit

    Definition Classes
    Node
  139. def onRotate: ObjectProperty[EventHandler[_ >: RotateEvent]]

    Defines a function to be called when user performs a rotation action.

    Defines a function to be called when user performs a rotation action.

    Definition Classes
    Node
    Since

    2.2

  140. def onRotate_=(v: EventHandler[RotateEvent]): Unit

    Definition Classes
    Node
  141. def onRotationFinished: ObjectProperty[EventHandler[_ >: RotateEvent]]

    Defines a function to be called when a rotation gesture ends.

    Defines a function to be called when a rotation gesture ends.

    Definition Classes
    Node
    Since

    2.2

  142. def onRotationFinished_=(v: EventHandler[RotateEvent]): Unit

    Definition Classes
    Node
  143. def onRotationStarted: ObjectProperty[EventHandler[_ >: RotateEvent]]

    Defines a function to be called when a rotation gesture starts.

    Defines a function to be called when a rotation gesture starts.

    Definition Classes
    Node
    Since

    2.2

  144. def onRotationStarted_=(v: EventHandler[RotateEvent]): Unit

    Definition Classes
    Node
  145. def onScroll: ObjectProperty[EventHandler[_ >: ScrollEvent]]

    Defines a function to be called when user performs a scrolling action.

    Defines a function to be called when user performs a scrolling action.

    Definition Classes
    Node
  146. def onScrollFinished: ObjectProperty[EventHandler[_ >: ScrollEvent]]

    Defines a function to be called when a Scroll gesture ends.

    Defines a function to be called when a Scroll gesture ends.

    Definition Classes
    Node
    Since

    2.2

  147. def onScrollFinished_=(v: EventHandler[ScrollEvent]): Unit

    Definition Classes
    Node
  148. def onScrollStarted: ObjectProperty[EventHandler[_ >: ScrollEvent]]

    Defines a function to be called when a Scroll gesture starts.

    Defines a function to be called when a Scroll gesture starts.

    Definition Classes
    Node
    Since

    2.2

  149. def onScrollStarted_=(v: EventHandler[ScrollEvent]): Unit

    Definition Classes
    Node
  150. def onScroll_=(v: EventHandler[_ >: ScrollEvent]): Unit

    Definition Classes
    Node
  151. def onSwipeDown: ObjectProperty[EventHandler[_ >: SwipeEvent]]

    Defines a function to be called when a Swipe Down gesture starts.

    Defines a function to be called when a Swipe Down gesture starts.

    Definition Classes
    Node
    Since

    2.2

  152. def onSwipeDown_=(v: EventHandler[SwipeEvent]): Unit

    Definition Classes
    Node
  153. def onSwipeLeft: ObjectProperty[EventHandler[_ >: SwipeEvent]]

    Defines a function to be called when a Swipe Down gesture starts.

    Defines a function to be called when a Swipe Down gesture starts.

    Definition Classes
    Node
    Since

    2.2

  154. def onSwipeLeft_=(v: EventHandler[SwipeEvent]): Unit

    Definition Classes
    Node
  155. def onSwipeRight: ObjectProperty[EventHandler[_ >: SwipeEvent]]

    Defines a function to be called when a Swipe Right gesture starts.

    Defines a function to be called when a Swipe Right gesture starts.

    Definition Classes
    Node
    Since

    2.2

  156. def onSwipeRight_=(v: EventHandler[SwipeEvent]): Unit

    Definition Classes
    Node
  157. def onSwipeUp: ObjectProperty[EventHandler[_ >: SwipeEvent]]

    Defines a function to be called when a Swipe Up gesture starts.

    Defines a function to be called when a Swipe Up gesture starts.

    Definition Classes
    Node
    Since

    2.2

  158. def onSwipeUp_=(v: EventHandler[SwipeEvent]): Unit

    Definition Classes
    Node
  159. def onTouchMoved: ObjectProperty[EventHandler[_ >: TouchEvent]]

    Defines a function to be called when user performs a Touch Moved action.

    Defines a function to be called when user performs a Touch Moved action.

    Definition Classes
    Node
    Since

    2.2

  160. def onTouchMoved_=(v: EventHandler[TouchEvent]): Unit

    Definition Classes
    Node
  161. def onTouchPressed: ObjectProperty[EventHandler[_ >: TouchEvent]]

    Defines a function to be called when user performs a Touch Pressed action.

    Defines a function to be called when user performs a Touch Pressed action.

    Definition Classes
    Node
    Since

    2.2

  162. def onTouchPressed_=(v: EventHandler[TouchEvent]): Unit

    Definition Classes
    Node
  163. def onTouchReleased: ObjectProperty[EventHandler[_ >: TouchEvent]]

    Defines a function to be called when user performs a Touch Released action.

    Defines a function to be called when user performs a Touch Released action.

    Definition Classes
    Node
    Since

    2.2

  164. def onTouchReleased_=(v: EventHandler[TouchEvent]): Unit

    Definition Classes
    Node
  165. def onTouchStationary: ObjectProperty[EventHandler[_ >: TouchEvent]]

    Defines a function to be called when user performs a Touch Stationary action.

    Defines a function to be called when user performs a Touch Stationary action.

    Definition Classes
    Node
    Since

    2.2

  166. def onTouchStationary_=(v: EventHandler[TouchEvent]): Unit

    Definition Classes
    Node
  167. def onZoom: ObjectProperty[EventHandler[_ >: ZoomEvent]]

    Defines a function to be called when user performs a Touch action.

    Defines a function to be called when user performs a Touch action.

    Definition Classes
    Node
    Since

    2.2

  168. def onZoomFinished: ObjectProperty[EventHandler[_ >: ZoomEvent]]

    Defines a function to be called when a Zoom gesture ends.

    Defines a function to be called when a Zoom gesture ends.

    Definition Classes
    Node
    Since

    2.2

  169. def onZoomFinished_=(v: EventHandler[ZoomEvent]): Unit

    Definition Classes
    Node
  170. def onZoomStarted: ObjectProperty[EventHandler[_ >: ZoomEvent]]

    Defines a function to be called when a Zoom gesture starts.

    Defines a function to be called when a Zoom gesture starts.

    Definition Classes
    Node
    Since

    2.2

  171. def onZoomStarted_=(v: EventHandler[ZoomEvent]): Unit

    Definition Classes
    Node
  172. def onZoom_=(v: EventHandler[ZoomEvent]): Unit

    Definition Classes
    Node
  173. def opacity: DoubleProperty

    Specifies how opaque (that is, solid) the Node appears.

    Specifies how opaque (that is, solid) the Node appears.

    Definition Classes
    Node
  174. def opacity_=(v: Double): Unit

    Definition Classes
    Node
  175. def parent: ReadOnlyObjectProperty[javafx.scene.Parent]

    The parent of this Node.

    The parent of this Node.

    Definition Classes
    Node
  176. def parentToLocal(parentPoint: Point2D): Point2D

    Transforms a point from the coordinate space of the parent into the local coordinate space of this Node.

    Transforms a point from the coordinate space of the parent into the local coordinate space of this Node.

    Definition Classes
    Node
  177. def parentToLocal(parentX: Double, parentY: Double): Point2D

    Transforms a point from the coordinate space of the parent into the local coordinate space of this Node.

    Transforms a point from the coordinate space of the parent into the local coordinate space of this Node.

    Definition Classes
    Node
  178. def parentToLocal(parentBounds: Bounds): Bounds

    Transforms a rectangle from the coordinate space of the parent into the local coordinate space of this Node.

    Transforms a rectangle from the coordinate space of the parent into the local coordinate space of this Node.

    Definition Classes
    Node
  179. def pickOnBounds: BooleanProperty

    Defines how the picking computation is done for this node when triggered by a MouseEvent or a contains function call.

    Defines how the picking computation is done for this node when triggered by a MouseEvent or a contains function call.

    Definition Classes
    Node
  180. def pickOnBounds_=(v: Boolean): Unit

    Definition Classes
    Node
  181. def pressed: ReadOnlyBooleanProperty

    Whether or not the Node is pressed.

    Whether or not the Node is pressed.

    Definition Classes
    Node
  182. def relocate(x: Double, y: Double): Unit

    Sets the node's layoutX and layoutY translation properties in order to relocate this node to the x,y location in the parent.

    Sets the node's layoutX and layoutY translation properties in order to relocate this node to the x,y location in the parent.

    Definition Classes
    Node
  183. def removeEventFilter[E <: Event](eventType: EventType[E], eventHandler: EventHandler[_ >: E]): Unit

    Unregisters a previously registered event filter from this task.

    Unregisters a previously registered event filter from this task. One filter might have been registered for different event types, so the caller needs to specify the particular event type from which to unregister the filter.

    E

    Event class

    eventType

    the event type from which to unregister

    eventHandler

    the filter to unregister

    Definition Classes
    EventHandlerDelegate
  184. def removeEventHandler[E <: Event](eventType: EventType[E], eventHandler: EventHandler[_ >: E]): Unit

    Unregisters a previously registered event handler from this task.

    Unregisters a previously registered event handler from this task. One handler might have been registered for different event types, so the caller needs to specify the particular event type from which to unregister the handler.

    E

    Event class

    eventType

    the event type from which to unregister

    eventHandler

    the handler to unregister

    Definition Classes
    EventHandlerDelegate
  185. def requestFocus(): Unit

    Requests that this Node get the input focus, and that this Node's top-level ancestor become the focused window.

    Requests that this Node get the input focus, and that this Node's top-level ancestor become the focused window.

    Definition Classes
    Node
  186. def resize(width: Double, height: Double): Unit

    If the node is resizable, will set its layout bounds to the specified width and height.

    If the node is resizable, will set its layout bounds to the specified width and height.

    Definition Classes
    Node
  187. def resizeRelocate(x: Double, y: Double, width: Double, height: Double): Unit

    If the node is resizable, will set its layout bounds to the specified width and height.

    If the node is resizable, will set its layout bounds to the specified width and height.

    Definition Classes
    Node
  188. def rotate: DoubleProperty

    Defines the angle of rotation about the Node's center, measured in degrees.

    Defines the angle of rotation about the Node's center, measured in degrees.

    Definition Classes
    Node
  189. def rotate_=(v: Double): Unit

    Definition Classes
    Node
  190. def rotationAxis: ObjectProperty[Point3D]

    Defines the axis of rotation of this Node.

    Defines the axis of rotation of this Node.

    Definition Classes
    Node
  191. def rotationAxis_=(v: Point3D): Unit

    Definition Classes
    Node
  192. def scaleX: DoubleProperty

    Defines the factor by which coordinates are scaled about the center of the object along the X axis of this Node.

    Defines the factor by which coordinates are scaled about the center of the object along the X axis of this Node.

    Definition Classes
    Node
  193. def scaleX_=(v: Double): Unit

    Definition Classes
    Node
  194. def scaleY: DoubleProperty

    Defines the factor by which coordinates are scaled about the center of the object along the Y axis of this Node.

    Defines the factor by which coordinates are scaled about the center of the object along the Y axis of this Node.

    Definition Classes
    Node
  195. def scaleY_=(v: Double): Unit

    Definition Classes
    Node
  196. def scaleZ: DoubleProperty

    Defines the factor by which coordinates are scaled about the center of the object along the Z axis of this Node.

    Defines the factor by which coordinates are scaled about the center of the object along the Z axis of this Node.

    Definition Classes
    Node
  197. def scaleZ_=(v: Double): Unit

    Definition Classes
    Node
  198. def scene: ReadOnlyObjectProperty[javafx.scene.Scene]

    The Scene that this Node is part of.

    The Scene that this Node is part of.

    Definition Classes
    Node
  199. def sceneToLocal(scenePoint: Point2D): Point2D

    Transforms a point from the coordinate space of the Scene into the local coordinate space of this Node.

    Transforms a point from the coordinate space of the Scene into the local coordinate space of this Node.

    Definition Classes
    Node
  200. def sceneToLocal(sceneX: Double, sceneY: Double): Point2D

    Transforms a point from the coordinate space of the Scene into the local coordinate space of this Node.

    Transforms a point from the coordinate space of the Scene into the local coordinate space of this Node.

    Definition Classes
    Node
  201. def sceneToLocal(sceneBounds: Bounds): Bounds

    Transforms a rectangle from the coordinate space of the Scene into the local coordinate space of this Node.

    Transforms a rectangle from the coordinate space of the Scene into the local coordinate space of this Node.

    Definition Classes
    Node
  202. def snapshot(callback: (javafx.scene.SnapshotResult) ⇒ Unit, params: SnapshotParameters, image: WritableImage): Unit

    Takes a snapshot of this node at the next frame and calls the specified callback method when the image is ready.

    Takes a snapshot of this node at the next frame and calls the specified callback method when the image is ready.

    Definition Classes
    Node
  203. def snapshot(params: SnapshotParameters, image: WritableImage): WritableImage

    Takes a snapshot of this node and returns the rendered image when it is ready.

    Takes a snapshot of this node and returns the rendered image when it is ready.

    Definition Classes
    Node
  204. def startDragAndDrop(transferModes: TransferMode*): Dragboard

    Confirms a potential drag and drop gesture that is recognized over this Node.

    Confirms a potential drag and drop gesture that is recognized over this Node.

    Definition Classes
    Node
  205. def startFullDrag(): Unit

    Starts a full press-drag-release gesture with this node as gesture source.

    Starts a full press-drag-release gesture with this node as gesture source.

    Definition Classes
    Node
  206. def style: StringProperty

    A string representation of the CSS style associated with this specific Node.

    A string representation of the CSS style associated with this specific Node.

    Definition Classes
    Node
  207. def styleClass: ObservableList[String]

    CSS styles classes used by this Node.

    CSS styles classes used by this Node.

    Definition Classes
    Node
  208. def styleClass_=(c: Iterable[String]): Unit

    Sets the list of CSS styles classes, replacing the prior content.

    Sets the list of CSS styles classes, replacing the prior content. If you want append to current content, use add or similar.

    c

    list of CSS styles classes to replace prior content.

    Definition Classes
    Node
  209. def style_=(v: String): Unit

    Definition Classes
    Node
  210. def stylesheets: ObservableList[String]

    Gets an observable list of string URLs linking to the stylesheets to use with this Parent's contents.

    Gets an observable list of string URLs linking to the stylesheets to use with this Parent's contents.

    Definition Classes
    Parent
  211. def stylesheets_=(c: Iterable[String]): Unit

    Sets the list of stylesheets URLs, replacing the prior content.

    Sets the list of stylesheets URLs, replacing the prior content. If you want append to current content, use add or similar.

    c

    list of stylesheets URLs to replace prior content.

    Definition Classes
    Parent
  212. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  213. def toBack(): Unit

    Moves this Node to the back of its sibling nodes in terms of z-order.

    Moves this Node to the back of its sibling nodes in terms of z-order.

    Definition Classes
    Node
  214. def toFront(): Unit

    Moves this Node to the front of its sibling nodes in terms of z-order.

    Moves this Node to the front of its sibling nodes in terms of z-order.

    Definition Classes
    Node
  215. def toString(): String

    returns

    Returns the original delegate's toString() adding a [SFX] prefix.

    Definition Classes
    SFXDelegate → AnyRef → Any
  216. def transforms: ObservableList[Transform]

    Defines the ObservableList of Transform objects to be applied to this Node.

    Defines the ObservableList of Transform objects to be applied to this Node.

    Definition Classes
    Node
  217. def transforms_=(c: Iterable[Transform]): Unit

    Sets the list of transforms, replacing the prior content.

    Sets the list of transforms, replacing the prior content. If you want append to current content, use add or similar.

    c

    list of transforms to replace prior content.

    Definition Classes
    Node
  218. def translateX: DoubleProperty

    Defines the x coordinate of the translation that is added to this Node's transform.

    Defines the x coordinate of the translation that is added to this Node's transform.

    Definition Classes
    Node
  219. def translateX_=(v: Double): Unit

    Definition Classes
    Node
  220. def translateY: DoubleProperty

    Defines the y coordinate of the translation that is added to this Node's transform.

    Defines the y coordinate of the translation that is added to this Node's transform.

    Definition Classes
    Node
  221. def translateY_=(v: Double): Unit

    Definition Classes
    Node
  222. def translateZ: DoubleProperty

    Defines the Z coordinate of the translation that is added to the transformed coordinates of this Node.

    Defines the Z coordinate of the translation that is added to the transformed coordinates of this Node.

    Definition Classes
    Node
  223. def translateZ_=(v: Double): Unit

    Definition Classes
    Node
  224. def userData: AnyRef

    Returns a previously set Object property, or null if no such property has been set using the setUserData(AnyRef) method.

    Returns a previously set Object property, or null if no such property has been set using the setUserData(AnyRef) method.

    Definition Classes
    Node
  225. def userData_=(v: AnyRef): Unit

    Definition Classes
    Node
  226. def vgrow: Priority

    Pseudo-property that returns this Node's vgrow constraint if set.

    Pseudo-property that returns this Node's vgrow constraint if set.

    returns

    the vertical grow priority for the child or null if no priority was set

    Definition Classes
    Node
  227. def vgrow_=(p: Priority): Unit

    Sets the vertical grow priority for this Node inside its parent.

    Sets the vertical grow priority for this Node inside its parent. Setting the value to null will remove the constraint. Internally it calls setVgrow(Node, Priority) static method from JavaFX's GridPane and VBox besides fill this Node's "vgrow" property.

    p

    the vertical grow priority for this Node

    Definition Classes
    Node
  228. def visible: BooleanProperty

    Specifies whether this Node and any subnodes should be rendered as part of the scene graph.

    Specifies whether this Node and any subnodes should be rendered as part of the scene graph.

    Definition Classes
    Node
  229. def visible_=(v: Boolean): Unit

    Definition Classes
    Node
  230. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  231. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  232. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def content: ObservableList[javafx.scene.Node]

    Gets the list of children of this Group.

    Gets the list of children of this Group.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.2.75-R11) Will be removed due to name conflicts with JavaFX 8u40. Use children instead.

  2. def content_=(n: Node): Unit

    Sets a child, replacing the prior content.

    Sets a child, replacing the prior content. If you want append to current content, use add or similar.

    n

    Node to replace prior content.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.2.75-R11) Will be removed due to name conflicts with JavaFX 8u40. Use children instead.

  3. def content_=(c: Iterable[Node]): Unit

    Sets the list of children, replacing the prior content.

    Sets the list of children, replacing the prior content. If you want append to current content, use add or similar.

    c

    list of children to replace prior content.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.2.75-R11) Will be removed due to name conflicts with JavaFX 8u40. Use children instead.

Inherited from Parent

Inherited from Node

Inherited from SFXDelegate[javafx.scene.Group]

Inherited from EventHandlerDelegate

Inherited from AnyRef

Inherited from Any

Ungrouped