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"
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"
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"
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"
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.
Event class
the type of the events to receive by the filter
the filter to register that will filter event
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.
Event class
the type of the events to receive by the handler
the handler to register that will manipulate event
Pseudo-property that indicates this Node position inside its respective parent.
Pseudo-property that indicates this Node position inside its respective parent.
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.
New node's Position
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.
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.
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.
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.
The rectangular bounds of this Node which include its transforms.
The rectangular bounds of this Node which include its transforms.
Construct an event dispatch chain for this target.
Construct an event dispatch chain for this target.
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.
Additional hint for controlling bitmap caching.
Additional hint for controlling bitmap caching.
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.
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.
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.
The ContextMenu to show for this control.
The ContextMenu to show for this control.
Defines the mouse cursor for this Node and subnodes.
Defines the mouse cursor for this Node and subnodes.
JavaFX object to be wrapped.
JavaFX object to be wrapped.
Indicates whether depth testing is used when rendering this node.
Indicates whether depth testing is used when rendering this node.
Sets the individual disabled state of this Node.
Sets the individual disabled state of this Node.
Indicates whether or not this Node is disabled.
Indicates whether or not this Node is disabled.
Returns an array of double containing the position of each divider.
Returns an unmodifiable list of all the dividers in this SplitPane.
Specifies an effect to apply to this Node.
Specifies an effect to apply to this Node.
Verifies if a object is equals to this delegate.
Verifies if a object is equals to this delegate.
Object to be compared.
if the other object is equals to this delegate or not.
Specifies the event dispatcher for this node.
Specifies the event dispatcher for this node.
Returns a object that implements scalafx.event.EventHandlerDelegate.EventHandled.
Returns a object that implements scalafx.event.EventHandlerDelegate.EventHandled.
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") }
type JavaFX delegate of the event
ScalaFX type for J
type wrapper.
type of events that will be handled.
code handling the event, see examples above.
Fires the specified event.
Fires the specified event.
Specifies whether this Node should be a part of focus traversal cycle.
Specifies whether this Node should be a part of focus traversal cycle.
Indicates whether this Node currently has the input focus.
Indicates whether this Node currently has the input focus.
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") }
type JavaFX delegate of the event
ScalaFX type for J
type wrapper.
type of events that will be handled.
code handling the event, see examples above.
Returns a subscription that can be used to cancel/remove this event handler
The delegate hashcode
The height of this control.
The height of this control.
Pseudo-property that returns this Node's hgrow constraint if set.
Pseudo-property that returns this Node's hgrow constraint if set.
the horizontal grow priority for the child or null
if no priority was set
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.
the horizontal grow priority for this Node
Whether or not this Node is being hovered over.
Whether or not this Node is being hovered over.
The id of this Node.
The id of this Node.
Property holding InputMethodRequests.
Property holding InputMethodRequests.
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.
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.
Returns an ObservableList which can be use to modify the contents of the SplitPane.
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.
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.
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.
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.
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.
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.
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.
2.2
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.
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.
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.
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.
2.2
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.
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.
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.
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.
this Node's margin constraint inside its Parent or null
if no margin was set.
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.
The margin of space around this Node inside its parent.
Property for overriding the control's computed maximum height.
Property for overriding the control's computed maximum height.
Returns the node's maximum height for use in layout calculations.
Returns the node's maximum height for use in layout calculations.
Property for overriding the control's computed maximum width.
Property for overriding the control's computed maximum width.
Returns the node's maximum width for use in layout calculations.
Returns the node's maximum width for use in layout calculations.
Property for overriding the control's computed minimum height.
Property for overriding the control's computed minimum height.
Returns the node's minimum height for use in layout calculations.
Returns the node's minimum height for use in layout calculations.
Property for overriding the control's computed minimum width.
Property for overriding the control's computed minimum width.
Returns the node's minimum width for use in layout calculations.
Returns the node's minimum width for use in layout calculations.
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.
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.
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.
Defines a function to be called when drag gesture has been detected.
Defines a function to be called when drag gesture has been detected.
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.
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.
Defines a function to be called when drag gesture enters this Node.
Defines a function to be called when drag gesture enters this Node.
Defines a function to be called when drag gesture exits this Node.
Defines a function to be called when drag gesture exits this Node.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Defines a function to be called when the mouse enters this Node.
Defines a function to be called when the mouse enters this Node.
Defines a function to be called when the mouse exits this Node.
Defines a function to be called when the mouse exits this Node.
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.
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.
Defines a function to be called when user performs a rotation action.
Defines a function to be called when user performs a rotation action.
2.2
Defines a function to be called when a rotation gesture ends.
Defines a function to be called when a rotation gesture ends.
2.2
Defines a function to be called when a rotation gesture starts.
Defines a function to be called when a rotation gesture starts.
2.2
Defines a function to be called when user performs a scrolling action.
Defines a function to be called when user performs a scrolling action.
Defines a function to be called when a Scroll gesture ends.
Defines a function to be called when a Scroll gesture ends.
2.2
Defines a function to be called when a Scroll gesture starts.
Defines a function to be called when a Scroll gesture starts.
2.2
Defines a function to be called when a Swipe Down gesture starts.
Defines a function to be called when a Swipe Down gesture starts.
2.2
Defines a function to be called when a Swipe Down gesture starts.
Defines a function to be called when a Swipe Down gesture starts.
2.2
Defines a function to be called when a Swipe Right gesture starts.
Defines a function to be called when a Swipe Right gesture starts.
2.2
Defines a function to be called when a Swipe Up gesture starts.
Defines a function to be called when a Swipe Up gesture starts.
2.2
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.
2.2
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.
2.2
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.
2.2
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.
2.2
Defines a function to be called when user performs a Touch action.
Defines a function to be called when user performs a Touch action.
2.2
Defines a function to be called when a Zoom gesture ends.
Defines a function to be called when a Zoom gesture ends.
2.2
Defines a function to be called when a Zoom gesture starts.
Defines a function to be called when a Zoom gesture starts.
2.2
Specifies how opaque (that is, solid) the Node appears.
Specifies how opaque (that is, solid) the Node appears.
The orientation for the SplitPane.
The parent of this Node.
The parent of this Node.
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.
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.
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.
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.
Property for overriding the control's computed preferred height.
Property for overriding the control's computed preferred height.
Property for overriding the control's computed preferred width.
Property for overriding the control's computed preferred width.
Whether or not the Node is pressed.
Whether or not the Node is pressed.
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.
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.
Event class
the event type from which to unregister
the filter to unregister
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.
Event class
the event type from which to unregister
the handler to unregister
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.
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.
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.
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.
Defines the axis of rotation of this Node.
Defines the axis of rotation of this Node.
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.
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.
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.
The Scene that this Node is part of.
The Scene that this Node is part of.
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.
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.
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.
Sets the position of the divider at the specified divider index.
Sets the position of the divider at the specified divider index.
Change to a Scala notation
Skin is responsible for rendering this Control
.
Skin is responsible for rendering this Control
.
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.
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.
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.
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.
A string representation of the CSS style associated with this specific Node.
A string representation of the CSS style associated with this specific Node.
CSS styles classes used by this Node.
CSS styles classes used by this Node.
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.
list of CSS styles classes to replace prior content.
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.
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.
list of stylesheets URLs to replace prior content.
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.
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.
Returns the original delegate's toString()
adding a [SFX]
prefix.
The ToolTip for this control.
The ToolTip for this control.
Defines the ObservableList of Transform objects to be applied to this Node.
Defines the ObservableList of Transform objects to be applied to this Node.
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.
list of transforms to replace prior content.
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.
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.
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.
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.
Pseudo-property that returns this Node's vgrow constraint if set.
Pseudo-property that returns this Node's vgrow constraint if set.
the vertical grow priority for the child or null
if no priority was set
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.
the vertical grow priority for this Node
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.
The width of this control.
The width of this control.