Class/Object

scalafx.scene.control

ChoiceBox

Related Docs: object ChoiceBox | package control

Permalink

class ChoiceBox[J] extends Control with SFXDelegate[javafx.scene.control.ChoiceBox[J]]

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

Source
ChoiceBox.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChoiceBox
  2. Control
  3. Skinnable
  4. Region
  5. Parent
  6. Node
  7. Styleable
  8. SFXDelegate
  9. EventHandlerDelegate
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ChoiceBox(items: ObservableBuffer[J])

    Permalink

    Create a new ChoiceBox with the given set of items.

  2. new ChoiceBox(delegate: javafx.scene.control.ChoiceBox[J] = new jfxsc.ChoiceBox[J])

    Permalink

Type Members

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

    Permalink

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

    Permalink

    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

    Permalink

    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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object FilterMagnet

    Permalink

    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

    Permalink

    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 accessibleHelp: ObjectProperty[String]

    Permalink

    The accessible help text for this Node.

    The accessible help text for this Node.

    The help text provides a more detailed description of the accessible text for a node. By default, if the node has a tool tip, this text is used.

    Default value is null.

    Definition Classes
    Node
    Since

    JavaFX 8u40

  7. def accessibleHelp_=(v: String): Unit

    Permalink
    Definition Classes
    Node
  8. def accessibleRole: ObjectProperty[javafx.scene.AccessibleRole]

    Permalink

    The accessible role for this Node.

    The accessible role for this Node.

    The screen reader uses the role of a node to determine the attributes and actions that are supported.

    Definition Classes
    Node
    Since

    JavaFX 8u40

  9. def accessibleRoleDescription: ObjectProperty[String]

    Permalink

    The role description of this Node.

    The role description of this Node.

    Noramlly, when a role is provided for a node, the screen reader speaks the role as well as the contents of the node. When this value is set, it is possbile to override the default. This is useful because the set of roles is predefined. For example, it is possible to set the role of a node to be a button, but have the role description be arbitrary text.

    Default value is null.

    Definition Classes
    Node
    Since

    JavaFX 8u40

  10. def accessibleRoleDescription_=(v: String): Unit

    Permalink
    Definition Classes
    Node
  11. def accessibleRole_=(v: AccessibleRole): Unit

    Permalink
    Definition Classes
    Node
  12. def accessibleText: ObjectProperty[String]

    Permalink

    The accessible text for this Node.

    The accessible text for this Node.

    This property is used to set the text that the screen reader will speak. If a node normally speaks text, that text is overriden. For example, a button usually speaks using the text in the control but will no longer do this when this value is set.

    Default value is null.

    Definition Classes
    Node
    Since

    JavaFX 8u40

  13. def accessibleText_=(v: String): Unit

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

    Permalink

    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
  15. def addEventHandler[E <: Event](eventType: EventType[E], eventHandler: EventHandler[_ >: E]): Unit

    Permalink

    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
  16. def alignmentInParent: Pos

    Permalink

    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
  17. def alignmentInParent_=(p: Pos): Unit

    Permalink

    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
  18. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  19. def autosize(): Unit

    Permalink

    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
  20. def background: ObjectProperty[Background]

    Permalink

    The background of the Region, which is made up of zero or more BackgroundFills, and zero or more BackgroundImages.

    The background of the Region, which is made up of zero or more BackgroundFills, and zero or more BackgroundImages.

    Definition Classes
    Region
  21. def background_=(v: Background): Unit

    Permalink
    Definition Classes
    Region
  22. def baselineOffset: Double

    Permalink

    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
  23. def blendMode: ObjectProperty[BlendMode]

    Permalink

    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
  24. def blendMode_=(v: BlendMode): Unit

    Permalink
    Definition Classes
    Node
  25. def border: ObjectProperty[Border]

    Permalink

    The border of the Region, which is made up of zero or more BorderStrokes, and zero or more BorderImages.

    The border of the Region, which is made up of zero or more BorderStrokes, and zero or more BorderImages.

    Definition Classes
    Region
  26. def border_=(v: Border): Unit

    Permalink
    Definition Classes
    Region
  27. def boundsInLocal: ReadOnlyObjectProperty[Bounds]

    Permalink

    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
  28. def boundsInParent: ReadOnlyObjectProperty[Bounds]

    Permalink

    The rectangular bounds of this Node which include its transforms.

    The rectangular bounds of this Node which include its transforms.

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

    Permalink

    Construct an event dispatch chain for this target.

    Construct an event dispatch chain for this target.

    Definition Classes
    EventHandlerDelegate
  30. def cache: BooleanProperty

    Permalink

    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
  31. def cacheHint: ObjectProperty[javafx.scene.CacheHint]

    Permalink

    Additional hint for controlling bitmap caching.

    Additional hint for controlling bitmap caching.

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

    Permalink
    Definition Classes
    Node
  33. def cacheShape: BooleanProperty

    Permalink

    Defines a hint to the system indicating that the Shape used to define the region's background is stable and would benefit from caching.

    Defines a hint to the system indicating that the Shape used to define the region's background is stable and would benefit from caching.

    Definition Classes
    Region
  34. def cacheShape_=(v: Boolean): Unit

    Permalink
    Definition Classes
    Region
  35. def cache_=(v: Boolean): Unit

    Permalink
    Definition Classes
    Node
  36. def centerShape: BooleanProperty

    Permalink

    Defines whether the shape is centered within the Region's width or height.

    Defines whether the shape is centered within the Region's width or height.

    Definition Classes
    Region
  37. def centerShape_=(v: Boolean): Unit

    Permalink
    Definition Classes
    Region
  38. def clip: ObjectProperty[javafx.scene.Node]

    Permalink

    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
  39. def clip_=(v: Node): Unit

    Permalink
    Definition Classes
    Node
  40. def clone(): AnyRef

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

    Permalink

    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
  42. def contains(localX: Double, localY: Double): Boolean

    Permalink

    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
  43. def contentBias: Orientation

    Permalink

    Returns the orientation of a node's resizing bias for layout purposes.

    Returns the orientation of a node's resizing bias for layout purposes. If the node type has no bias, returns null. If the node is resizable and it's height depends on its width, returns HORIZONTAL, else if its width depends on its height, returns VERTICAL.

    Resizable subclasses should override this method to return an appropriate value.

    returns

    orientation of width/height dependency or null if there is none

    Definition Classes
    Node
  44. def contextMenu: ObjectProperty[javafx.scene.control.ContextMenu]

    Permalink

    The ContextMenu to show for this control.

    The ContextMenu to show for this control.

    Definition Classes
    Control
  45. def contextMenu_=(v: ContextMenu): Unit

    Permalink
    Definition Classes
    Control
  46. def converter: ObjectProperty[StringConverter[J]]

    Permalink

    Allows a way to specify how to represent objects in the items list.

  47. def converter_=(v: StringConverter[J]): Unit

    Permalink
  48. def cssMetaData: Seq[CssMetaData[_ <: Styleable, _]]

    Permalink

    The CssMetaData of this Styleable.

    The CssMetaData of this Styleable.

    Definition Classes
    Styleable
  49. def cursor: ObjectProperty[javafx.scene.Cursor]

    Permalink

    Defines the mouse cursor for this Node and subnodes.

    Defines the mouse cursor for this Node and subnodes.

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

    Permalink
    Definition Classes
    Node
  51. val delegate: javafx.scene.control.ChoiceBox[J]

    Permalink

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

    Definition Classes
    ChoiceBoxControlRegionParentNodeSFXDelegate
  52. def depthTest: ObjectProperty[javafx.scene.DepthTest]

    Permalink

    Indicates whether depth testing is used when rendering this node.

    Indicates whether depth testing is used when rendering this node.

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

    Permalink
    Definition Classes
    Node
  54. def disable: BooleanProperty

    Permalink

    Sets the individual disabled state of this Node.

    Sets the individual disabled state of this Node.

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

    Permalink
    Definition Classes
    Node
  56. def disabled: ReadOnlyBooleanProperty

    Permalink

    Indicates whether or not this Node is disabled.

    Indicates whether or not this Node is disabled.

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

    Permalink

    Specifies an effect to apply to this Node.

    Specifies an effect to apply to this Node.

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

    Permalink
    Definition Classes
    Node
  59. def effectiveNodeOrientation: ReadOnlyObjectProperty[NodeOrientation]

    Permalink

    The effective orientation of a node resolves the inheritance of node orientation, returning either left-to-right or right-to-left.

    The effective orientation of a node resolves the inheritance of node orientation, returning either left-to-right or right-to-left.

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

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

    Permalink

    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
  62. def eventDispatcher: ObjectProperty[EventDispatcher]

    Permalink

    Specifies the event dispatcher for this node.

    Specifies the event dispatcher for this node.

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

    Permalink
    Definition Classes
    Node
  64. def eventHandlerDelegate: EventHandled

    Permalink

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

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

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

    Permalink

    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
  66. def finalize(): Unit

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

    Permalink

    Fires the specified event.

    Fires the specified event.

    Definition Classes
    Node
  68. def focusTraversable: BooleanProperty

    Permalink

    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
  69. def focusTraversable_=(v: Boolean): Unit

    Permalink
    Definition Classes
    Node
  70. def focused: ReadOnlyBooleanProperty

    Permalink

    Indicates whether this Node currently has the input focus.

    Indicates whether this Node currently has the input focus.

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

    Permalink
    Definition Classes
    AnyRef → Any
  72. def getId: String

    Permalink

    The id of this Styleable.

    The id of this Styleable.

    IMPLEMENTATION NOTE: For this method was adopted the name getId instead id to not conflict with its subclasses already have a method with this name which returns a StringProperty.

    Definition Classes
    Styleable
  73. def getStyle: String

    Permalink

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

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

    IMPLEMENTATION NOTE: For this method was adopted the name getStyle instead style to not conflict with its subclasses already have a method with this name which returns a StringProperty.

    Definition Classes
    Styleable
  74. def handleEvent[J <: Event, S <: Event with SFXDelegate[J]](eventType: EventType[J])(handler: HandlerMagnet[J, S]): Subscription

    Permalink

    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
  75. def hashCode(): Int

    Permalink

    returns

    The delegate hashcode

    Definition Classes
    SFXDelegate → AnyRef → Any
  76. def height: ReadOnlyDoubleProperty

    Permalink

    The height of this resizable node.

    The height of this resizable node.

    Definition Classes
    Region
  77. def hgrow: Priority

    Permalink

    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
  78. def hgrow_=(p: Priority): Unit

    Permalink

    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
  79. def hover: ReadOnlyBooleanProperty

    Permalink

    Whether or not this Node is being hovered over.

    Whether or not this Node is being hovered over.

    Definition Classes
    Node
  80. def id: StringProperty

    Permalink

    The id of this Node.

    The id of this Node.

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

    Permalink
    Definition Classes
    Node
  82. def inputMethodRequests: ObjectProperty[InputMethodRequests]

    Permalink

    Property holding InputMethodRequests.

    Property holding InputMethodRequests.

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

    Permalink
    Definition Classes
    Node
  84. def insets: Insets

    Permalink

    Gets the space around content, which will include any borders plus padding if set.

    Gets the space around content, which will include any borders plus padding if set.

    Definition Classes
    Region
  85. def intersects(localX: Double, localY: Double, localWidth: Double, localHeight: Double): Boolean

    Permalink

    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
  86. def intersects(localBounds: Bounds): Boolean

    Permalink

    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
  87. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  88. def items: ObjectProperty[ObservableList[J]]

    Permalink

    The items to display in the choice box.

  89. def items_=(v: ObservableBuffer[J]): Unit

    Permalink
  90. def layoutBounds: ReadOnlyObjectProperty[Bounds]

    Permalink

    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
  91. def layoutX: DoubleProperty

    Permalink

    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
  92. def layoutX_=(v: Double): Unit

    Permalink
    Definition Classes
    Node
  93. def layoutY: DoubleProperty

    Permalink

    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
  94. def layoutY_=(v: Double): Unit

    Permalink
    Definition Classes
    Node
  95. def localToParent(localPoint: Point2D): Point2D

    Permalink

    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
  96. def localToParent(localX: Double, localY: Double): Point2D

    Permalink

    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
  97. def localToParent(localBounds: Bounds): Bounds

    Permalink

    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
  98. def localToParentTransform: Transform

    Permalink

    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

  99. def localToScene(localPoint: Point2D): Point2D

    Permalink

    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
  100. def localToScene(localX: Double, localY: Double): Point2D

    Permalink

    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
  101. def localToScene(localBounds: Bounds): Bounds

    Permalink

    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
  102. def localToSceneTransform: Transform

    Permalink

    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

  103. def lookup(selector: String): Node

    Permalink

    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
  104. def lookupAll(selector: String): Set[javafx.scene.Node]

    Permalink

    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
  105. def managed: BooleanProperty

    Permalink

    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
  106. def managed_=(v: Boolean): Unit

    Permalink
    Definition Classes
    Node
  107. def margin: Insets

    Permalink

    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
  108. def margin_=(i: Insets): Unit

    Permalink

    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
  109. def maxHeight: DoubleProperty

    Permalink

    Property for overriding the region's computed maximum height.

    Property for overriding the region's computed maximum height.

    Definition Classes
    Region
  110. def maxHeight(width: Double): Double

    Permalink

    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
  111. def maxHeight_=(v: Double): Unit

    Permalink
    Definition Classes
    Region
  112. def maxWidth: DoubleProperty

    Permalink

    Property for overriding the region's computed maximum width.

    Property for overriding the region's computed maximum width.

    Definition Classes
    Region
  113. def maxWidth(height: Double): Double

    Permalink

    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
  114. def maxWidth_=(v: Double): Unit

    Permalink
    Definition Classes
    Region
  115. def minHeight: DoubleProperty

    Permalink

    Property for overriding the region's computed minimum height.

    Property for overriding the region's computed minimum height.

    Definition Classes
    Region
  116. def minHeight(width: Double): Double

    Permalink

    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
  117. def minHeight_=(v: Double): Unit

    Permalink
    Definition Classes
    Region
  118. def minWidth: DoubleProperty

    Permalink

    Property for overriding the region's computed minimum width.

    Property for overriding the region's computed minimum width.

    Definition Classes
    Region
  119. def minWidth(height: Double): Double

    Permalink

    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
  120. def minWidth_=(v: Double): Unit

    Permalink
    Definition Classes
    Region
  121. def mouseTransparent: BooleanProperty

    Permalink

    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
  122. def mouseTransparent_=(v: Boolean): Unit

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

    Permalink
    Definition Classes
    AnyRef
  124. def needsLayout: ReadOnlyBooleanProperty

    Permalink

    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
  125. def nodeOrientation: ObjectProperty[NodeOrientation]

    Permalink

    Node orientation describes the flow of visual data within a node.

    Node orientation describes the flow of visual data within a node.

    Definition Classes
    Node
  126. def nodeOrientation_=(v: NodeOrientation): Unit

    Permalink
    Definition Classes
    Node
  127. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  128. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  129. def onAction: ObjectProperty[EventHandler[ActionEvent]]

    Permalink

    The ChoiceBox action, which is invoked whenever the ChoiceBox value property is changed.

  130. def onAction_=(implicit aeh: EventHandler[ActionEvent]): Unit

    Permalink
  131. def onContextMenuRequested: ObjectProperty[EventHandler[_ >: ContextMenuEvent]]

    Permalink

    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
  132. def onContextMenuRequested_=(v: EventHandler[_ >: ContextMenuEvent]): Unit

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

    Permalink

    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
  134. def onDragDetected_=(v: EventHandler[_ >: MouseEvent]): Unit

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

    Permalink

    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
  136. def onDragDone_=(v: EventHandler[_ >: DragEvent]): Unit

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

    Permalink

    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
  138. def onDragDropped_=(v: EventHandler[_ >: DragEvent]): Unit

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

    Permalink

    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
  140. def onDragEntered_=(v: EventHandler[_ >: DragEvent]): Unit

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

    Permalink

    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
  142. def onDragExited_=(v: EventHandler[_ >: DragEvent]): Unit

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

    Permalink

    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
  144. def onDragOver_=(v: EventHandler[_ >: DragEvent]): Unit

    Permalink
    Definition Classes
    Node
  145. def onHidden: ObjectProperty[EventHandler[Event]]

    Permalink

    Called just after the ChoiceBox popup has been hidden.

  146. def onHidden_=(implicit aeh: EventHandler[Event]): Unit

    Permalink
  147. def onHiding: ObjectProperty[EventHandler[Event]]

    Permalink

    Called just prior to the ChoiceBox popup being hidden.

  148. def onHiding_=(implicit aeh: EventHandler[Event]): Unit

    Permalink
  149. def onInputMethodTextChanged: ObjectProperty[EventHandler[_ >: InputMethodEvent]]

    Permalink

    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
  150. def onInputMethodTextChanged_=(v: EventHandler[_ >: InputMethodEvent]): Unit

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

    Permalink

    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
  152. def onKeyPressed_=(v: EventHandler[_ >: KeyEvent]): Unit

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

    Permalink

    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
  154. def onKeyReleased_=(v: EventHandler[_ >: KeyEvent]): Unit

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

    Permalink

    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
  156. def onKeyTyped_=(v: EventHandler[_ >: KeyEvent]): Unit

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

    Permalink

    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
  158. def onMouseClicked_=(v: EventHandler[_ >: MouseEvent]): Unit

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

    Permalink

    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
  160. def onMouseDragEntered_=(v: EventHandler[_ >: MouseDragEvent]): Unit

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

    Permalink

    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
  162. def onMouseDragExited_=(v: EventHandler[_ >: MouseDragEvent]): Unit

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

    Permalink

    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
  164. def onMouseDragOver_=(v: EventHandler[_ >: MouseDragEvent]): Unit

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

    Permalink

    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
  166. def onMouseDragReleased_=(v: EventHandler[_ >: MouseDragEvent]): Unit

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

    Permalink

    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
  168. def onMouseDragged_=(v: EventHandler[_ >: MouseEvent]): Unit

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

    Permalink

    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
  170. def onMouseEntered_=(v: EventHandler[_ >: MouseEvent]): Unit

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

    Permalink

    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
  172. def onMouseExited_=(v: EventHandler[_ >: MouseEvent]): Unit

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

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

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

    Permalink

    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
  176. def onMousePressed_=(v: EventHandler[_ >: MouseEvent]): Unit

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

    Permalink

    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
  178. def onMouseReleased_=(v: EventHandler[_ >: MouseEvent]): Unit

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

    Permalink

    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

  180. def onRotate_=(v: EventHandler[_ >: RotateEvent]): Unit

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

    Permalink

    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

  182. def onRotationFinished_=(v: EventHandler[_ >: RotateEvent]): Unit

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

    Permalink

    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

  184. def onRotationStarted_=(v: EventHandler[_ >: RotateEvent]): Unit

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

    Permalink

    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
  186. def onScrollFinished: ObjectProperty[EventHandler[_ >: ScrollEvent]]

    Permalink

    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

  187. def onScrollFinished_=(v: EventHandler[_ >: ScrollEvent]): Unit

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

    Permalink

    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

  189. def onScrollStarted_=(v: EventHandler[_ >: ScrollEvent]): Unit

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

    Permalink
    Definition Classes
    Node
  191. def onShowing: ObjectProperty[EventHandler[Event]]

    Permalink

    Called just prior to the ChoiceBox popup being shown.

  192. def onShowing_=(implicit aeh: EventHandler[Event]): Unit

    Permalink
  193. def onShown: ObjectProperty[EventHandler[Event]]

    Permalink

    Called just after the ChoiceBox popup is shown.

  194. def onShown_=(implicit aeh: EventHandler[Event]): Unit

    Permalink
  195. def onSwipeDown: ObjectProperty[EventHandler[_ >: SwipeEvent]]

    Permalink

    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

  196. def onSwipeDown_=(v: EventHandler[_ >: SwipeEvent]): Unit

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

    Permalink

    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

  198. def onSwipeLeft_=(v: EventHandler[_ >: SwipeEvent]): Unit

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

    Permalink

    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

  200. def onSwipeRight_=(v: EventHandler[_ >: SwipeEvent]): Unit

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

    Permalink

    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

  202. def onSwipeUp_=(v: EventHandler[_ >: SwipeEvent]): Unit

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

    Permalink

    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

  204. def onTouchMoved_=(v: EventHandler[_ >: TouchEvent]): Unit

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

    Permalink

    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

  206. def onTouchPressed_=(v: EventHandler[_ >: TouchEvent]): Unit

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

    Permalink

    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

  208. def onTouchReleased_=(v: EventHandler[_ >: TouchEvent]): Unit

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

    Permalink

    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

  210. def onTouchStationary_=(v: EventHandler[_ >: TouchEvent]): Unit

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

    Permalink

    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

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

    Permalink

    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

  213. def onZoomFinished_=(v: EventHandler[_ >: ZoomEvent]): Unit

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

    Permalink

    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

  215. def onZoomStarted_=(v: EventHandler[_ >: ZoomEvent]): Unit

    Permalink
    Definition Classes
    Node
  216. def onZoom_=(v: EventHandler[_ >: ZoomEvent]): Unit

    Permalink
    Definition Classes
    Node
  217. def opacity: DoubleProperty

    Permalink

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

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

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

    Permalink
    Definition Classes
    Node
  219. def opaqueInsets: ObjectProperty[Insets]

    Permalink

    Defines the area of the region within which completely opaque pixels are drawn.

    Defines the area of the region within which completely opaque pixels are drawn.

    Definition Classes
    Region
  220. def opaqueInsets_=(v: Insets): Unit

    Permalink
    Definition Classes
    Region
  221. def padding: ObjectProperty[Insets]

    Permalink

    The top,right,bottom,left padding around the region's content.

    The top,right,bottom,left padding around the region's content.

    Definition Classes
    Region
  222. def padding_=(v: Insets): Unit

    Permalink
    Definition Classes
    Region
  223. def parent: ReadOnlyObjectProperty[javafx.scene.Parent]

    Permalink

    The parent of this Node.

    The parent of this Node.

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

    Permalink

    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
  225. def parentToLocal(parentX: Double, parentY: Double): Point2D

    Permalink

    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
  226. def parentToLocal(parentBounds: Bounds): Bounds

    Permalink

    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
  227. def pickOnBounds: BooleanProperty

    Permalink

    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
  228. def pickOnBounds_=(v: Boolean): Unit

    Permalink
    Definition Classes
    Node
  229. def prefHeight: DoubleProperty

    Permalink

    Property for overriding the region's computed preferred height.

    Property for overriding the region's computed preferred height.

    Definition Classes
    Region
  230. def prefHeight_=(v: Double): Unit

    Permalink
    Definition Classes
    Region
  231. def prefWidth: DoubleProperty

    Permalink

    Property for overriding the region's computed preferred width.

    Property for overriding the region's computed preferred width.

    Definition Classes
    Region
  232. def prefWidth_=(v: Double): Unit

    Permalink
    Definition Classes
    Region
  233. def pressed: ReadOnlyBooleanProperty

    Permalink

    Whether or not the Node is pressed.

    Whether or not the Node is pressed.

    Definition Classes
    Node
  234. def pseudoClassStates: ObservableSet[PseudoClass]

    Permalink

    The pseudo-class state of this Styleable.

    The pseudo-class state of this Styleable.

    Definition Classes
    Styleable
  235. def relocate(x: Double, y: Double): Unit

    Permalink

    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
  236. def removeEventFilter[E <: Event](eventType: EventType[E], eventHandler: EventHandler[_ >: E]): Unit

    Permalink

    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
  237. def removeEventHandler[E <: Event](eventType: EventType[E], eventHandler: EventHandler[_ >: E]): Unit

    Permalink

    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
  238. def requestFocus(): Unit

    Permalink

    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
  239. def resize(width: Double, height: Double): Unit

    Permalink

    Invoked by the region's parent during layout to set the region's width and height.

    Invoked by the region's parent during layout to set the region's width and height.

    Definition Classes
    RegionNode
  240. def resize: Boolean

    Permalink

    Returns true since all Regions are resizable.

    Returns true since all Regions are resizable.

    Definition Classes
    Region
  241. def resizeRelocate(x: Double, y: Double, width: Double, height: Double): Unit

    Permalink

    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
  242. def rotate: DoubleProperty

    Permalink

    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
  243. def rotate_=(v: Double): Unit

    Permalink
    Definition Classes
    Node
  244. def rotationAxis: ObjectProperty[Point3D]

    Permalink

    Defines the axis of rotation of this Node.

    Defines the axis of rotation of this Node.

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

    Permalink
    Definition Classes
    Node
  246. def scaleShape: BooleanProperty

    Permalink

    Specifies whether the shape, if defined, is scaled to match the size of the Region.

    Specifies whether the shape, if defined, is scaled to match the size of the Region.

    Definition Classes
    Region
  247. def scaleShape_=(v: Boolean): Unit

    Permalink
    Definition Classes
    Region
  248. def scaleX: DoubleProperty

    Permalink

    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
  249. def scaleX_=(v: Double): Unit

    Permalink
    Definition Classes
    Node
  250. def scaleY: DoubleProperty

    Permalink

    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
  251. def scaleY_=(v: Double): Unit

    Permalink
    Definition Classes
    Node
  252. def scaleZ: DoubleProperty

    Permalink

    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
  253. def scaleZ_=(v: Double): Unit

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

    Permalink

    The Scene that this Node is part of.

    The Scene that this Node is part of.

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

    Permalink

    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
  256. def sceneToLocal(sceneX: Double, sceneY: Double): Point2D

    Permalink

    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
  257. def sceneToLocal(sceneBounds: Bounds): Bounds

    Permalink

    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
  258. def selectionModel: ObjectProperty[javafx.scene.control.SingleSelectionModel[J]]

    Permalink

    The selection model for the ChoiceBox.

  259. def selectionModel_=(v: SingleSelectionModel[J]): Unit

    Permalink
  260. def shape: ObjectProperty[Shape]

    Permalink

    When specified, the shape will cause the region to be rendered as the specified shape rather than as a rounded rectangle.

    When specified, the shape will cause the region to be rendered as the specified shape rather than as a rounded rectangle.

    Definition Classes
    Region
  261. def shape_=(v: Shape): Unit

    Permalink
    Definition Classes
    Region
  262. def showing: ReadOnlyBooleanProperty

    Permalink

    Indicates whether the drop down is displaying the list of choices to the user.

    Indicates whether the drop down is displaying the list of choices to the user. Although showing be a ReadOnlyBooleanProperty, a setter method is implemented using show() and hide() method from ChoiceBox JavaFX.

  263. def showing_=(show: Boolean): Unit

    Permalink
  264. def skin: ObjectProperty[javafx.scene.control.Skin[_]]

    Permalink

    Skin is responsible for rendering this Control.

    Skin is responsible for rendering this Control.

    Definition Classes
    Skinnable
  265. def skin_=(v: Skin[_]): Unit

    Permalink
    Definition Classes
    Skinnable
  266. def snapToPixel: BooleanProperty

    Permalink

    Defines whether this region rounds position/spacing and cell size values to pixel boundaries when laying out its children.

    Defines whether this region rounds position/spacing and cell size values to pixel boundaries when laying out its children.

    Definition Classes
    Region
  267. def snapToPixel_=(v: Boolean): Unit

    Permalink
    Definition Classes
    Region
  268. def snapshot(callback: (SnapshotResult) ⇒ Unit, params: SnapshotParameters, image: WritableImage): Unit

    Permalink

    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. Arguments params and image can be null.

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

    Permalink

    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
  270. def startDragAndDrop(transferModes: TransferMode*): Dragboard

    Permalink

    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
  271. def startFullDrag(): Unit

    Permalink

    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
  272. def style: StringProperty

    Permalink

    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
  273. def styleClass: ObservableBuffer[String]

    Permalink

    A list of String identifiers which can be used to logically group Nodes, specifically for an external style engine.

    A list of String identifiers which can be used to logically group Nodes, specifically for an external style engine.

    Definition Classes
    Styleable
  274. def styleClass_=(c: Iterable[String]): Unit

    Permalink

    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
  275. def style_=(v: String): Unit

    Permalink
    Definition Classes
    Node
  276. def styleableParent: Styleable

    Permalink

    The parent of this Styleable, or null if there is no parent.

    The parent of this Styleable, or null if there is no parent.

    Definition Classes
    Styleable
  277. def stylesheets: ObservableList[String]

    Permalink

    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
  278. def stylesheets_=(c: Iterable[String]): Unit

    Permalink

    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
  279. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  280. def toBack(): Unit

    Permalink

    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
  281. def toFront(): Unit

    Permalink

    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
  282. def toString(): String

    Permalink

    returns

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

    Definition Classes
    SFXDelegate → AnyRef → Any
  283. def tooltip: ObjectProperty[javafx.scene.control.Tooltip]

    Permalink

    The ToolTip for this control.

    The ToolTip for this control.

    Definition Classes
    Control
  284. def tooltip_=(v: Tooltip): Unit

    Permalink
    Definition Classes
    Control
  285. def transforms: ObservableList[Transform]

    Permalink

    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
  286. def transforms_=(c: Iterable[Transform]): Unit

    Permalink

    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
  287. def translateX: DoubleProperty

    Permalink

    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
  288. def translateX_=(v: Double): Unit

    Permalink
    Definition Classes
    Node
  289. def translateY: DoubleProperty

    Permalink

    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
  290. def translateY_=(v: Double): Unit

    Permalink
    Definition Classes
    Node
  291. def translateZ: DoubleProperty

    Permalink

    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
  292. def translateZ_=(v: Double): Unit

    Permalink
    Definition Classes
    Node
  293. def typeSelector: String

    Permalink

    The type of this Styleable that is to be used in selector matching.

    The type of this Styleable that is to be used in selector matching.

    Definition Classes
    Styleable
  294. def userData: AnyRef

    Permalink

    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
  295. def userData_=(v: AnyRef): Unit

    Permalink
    Definition Classes
    Node
  296. def value: ObjectProperty[J]

    Permalink

    The value of this ChoiceBox is defined as the selected item in the ChoiceBox selection model.

  297. def value_=(v: J): Unit

    Permalink
  298. def vgrow: Priority

    Permalink

    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
  299. def vgrow_=(p: Priority): Unit

    Permalink

    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
  300. def visible: BooleanProperty

    Permalink

    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
  301. def visible_=(v: Boolean): Unit

    Permalink
    Definition Classes
    Node
  302. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  305. def width: ReadOnlyDoubleProperty

    Permalink

    The width of this resizable node.

    The width of this resizable node.

    Definition Classes
    Region

Inherited from Control

Inherited from Skinnable

Inherited from Region

Inherited from Parent

Inherited from Node

Inherited from Styleable

Inherited from SFXDelegate[javafx.scene.control.ChoiceBox[J]]

Inherited from EventHandlerDelegate

Inherited from AnyRef

Inherited from Any

Ungrouped