B4J Programming Press on the image to return to the main documentation page.

jFX

List of types:

Accordion
AnchorPane
Button
Canvas
CheckBox
CheckboxTreeItem
CheckMenuItem
ChoiceBox
Clipboard
ColorPicker
Colors
ComboBox
ContextMenu
Control
Cursors
DatePicker
DirectoryChooser
Event
FileChooser
Font
Form
HTMLEditor
Image
ImageView
JFX
Label
LayoutValues
ListView
MediaPlayer
Menu
MenuBar
MenuItem
MouseEvent
Node
Pagination
Paint
Pane
ProgressBar
ProgressIndicator
RadioButton
Screen
ScrollPane
Slider
Spinner
SplitPane
TableView
TabPage
TabPane
TextArea
TextField
TitledPane
ToggleButton
TreeItem
TreeTableItem
TreeTableView
TreeView
WebView

Accordion

A container of TitledPanes. These are panes with title. It is similar to TabPane.

Events:

PaneChanged (ExpandedPane As TitledPane)
Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  ContextMenu As ContextMenu

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  LoadLayout (LayoutFile As String, Title As String) As TitledPane

  MouseCursor As javafx.scene.Cursor

  Panes As List [read only]

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SelectedIndex As Int

  SelectedItem As TitledPane [read only]

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
LoadLayout (LayoutFile As String, Title As String) As TitledPane
Creates a new TitledPane. The LayoutFile is loaded to the pane.
LayoutFile - The layout file will be loaded to the page content.
Title - The tab page header text.
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Panes As List [read only]
Gets a list with the TitledPanes.
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SelectedIndex As Int
Gets or sets the expanded pane.
Returns -1 if no pane is expanded. Pass -1 to close the expanded pane.
SelectedItem As TitledPane [read only]
Gets the expanded TitledPane. Returns an uninitialized object if no pane is expanded.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

AnchorPane

A pane with an anchoring feature. Child views can be anchored to one or more of the pane boundaries.
The anchored distances will not change when the parent is resized.

Events:

Resize (Width As Double, Height As Double)
Touch (Action As Int, X As Float, Y As Float)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  AddNode (Node As javafx.scene.Node, Left As Double, Top As Double, Width As Double, Height As Double)

  Alpha As Double

  Enabled As Boolean

  FillHorizontally (Child As javafx.scene.Node, DistanceFromLeft As Double, DistanceFromRight As Double)

  FillVertically (Child As javafx.scene.Node, DistanceFromTop As Double, DistanceFromBottom As Double)

  GetAllViewsRecursive As IterableList

  GetBottomAnchor (Child As javafx.scene.Node) As Double

  GetLeftAnchor (Child As javafx.scene.Node) As Double

  GetNode (Index As Int) As Node

  GetRightAnchor (Child As javafx.scene.Node) As Double

  GetTopAnchor (Child As javafx.scene.Node) As Double

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  InsertNode (Index As Int, Node As javafx.scene.Node, Left As Double, Top As Double, Width As Double, Height As Double)

  IsInitialized As Boolean

  Left As Double

  LoadLayout (LayoutFile As String) As LayoutValues

  MouseCursor As javafx.scene.Cursor

  NumberOfNodes As Int [read only]

  Orientation As Object

  ORIENTATION_INHERIT As Object

  ORIENTATION_LEFT_TO_RIGHT As Object

  ORIENTATION_RIGHT_TO_LEFT As Object

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveAllNodes

  RemoveNodeAt (Index As Int)

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetAnchors (Child As javafx.scene.Node, Left As Double, Top As Double, Right As Double, Bottom As Double)

  SetBottomAnchor (Child As javafx.scene.Node, Offset As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetLeftAnchor (Child As javafx.scene.Node, Offset As Double)

  SetRightAnchor (Child As javafx.scene.Node, Offset As Double)

  SetSize (Width As Double, Height As Double)

  SetTopAnchor (Child As javafx.scene.Node, Offset As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

AddNode (Node As javafx.scene.Node, Left As Double, Top As Double, Width As Double, Height As Double)
Adds a Node to this pane.
Node - The node to add.
Left - The x coordinate of the top-left corner.
Top - The y coordinate of the top-left corner.
Width - The node's width. Setting this value to -1 means that the size will be calculated automatically.
Height - The node's height. Setting this value to -1 means that the size will be calculated automatically.
Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
Enabled As Boolean
Gets or sets whether the node is enabled.
FillHorizontally (Child As javafx.scene.Node, DistanceFromLeft As Double, DistanceFromRight As Double)
A utility method that anchors the child node left and right distances.
FillVertically (Child As javafx.scene.Node, DistanceFromTop As Double, DistanceFromBottom As Double)
A utility method that anchors the child node top and bottom distances.
GetAllViewsRecursive As IterableList
Returns an iterator that iterates over all the child nodes including nodes that were added to other child nodes.
Example:
For Each n As Node In MainForm.RootPane.GetAllViewsRecursive

Next
GetBottomAnchor (Child As javafx.scene.Node) As Double
Gets the bottom anchor constraint or -1 if not set.
GetLeftAnchor (Child As javafx.scene.Node) As Double
Gets the left anchor constraint or -1 if not set.
GetNode (Index As Int) As Node
Returns the node at the given index.
GetRightAnchor (Child As javafx.scene.Node) As Double
Gets the right anchor constraint or -1 if not set.
GetTopAnchor (Child As javafx.scene.Node) As Double
Gets the top anchor constraint or -1 if not set.
Height As Double [read only]
Gets the pane height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
InsertNode (Index As Int, Node As javafx.scene.Node, Left As Double, Top As Double, Width As Double, Height As Double)
Inserts a node at the specified index.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
LoadLayout (LayoutFile As String) As LayoutValues
Loads a layout file.
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
NumberOfNodes As Int [read only]
Gets the number of child nodes.
Orientation As Object
Gets or sets the pane orientation (left to right or right to left).
The default value is ORIENTATION_INHERIT which means that it inherits the orientation of its parent.
ORIENTATION_INHERIT As Object
ORIENTATION_LEFT_TO_RIGHT As Object
ORIENTATION_RIGHT_TO_LEFT As Object
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the pane preferred height.
PrefWidth As Double
Gets or sets the pane preferred width.
RemoveAllNodes
Removes all child nodes.
RemoveNodeAt (Index As Int)
Removes the node at the specified index.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetAnchors (Child As javafx.scene.Node, Left As Double, Top As Double, Right As Double, Bottom As Double)
Sets the child anchors. A value of -1 means that an anchor will not be set.
SetBottomAnchor (Child As javafx.scene.Node, Offset As Double)
Sets the bottom anchor constraint (distance from the node bottom edge to the container edge). Pass -1 to clear this constraint.
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetLeftAnchor (Child As javafx.scene.Node, Offset As Double)
Sets the left anchor constraint (distance from the node left edge to the container edge). Pass -1 to clear this constraint.
SetRightAnchor (Child As javafx.scene.Node, Offset As Double)
Sets the right anchor constraint (distance from the node right edge to the container edge). Pass -1 to clear this constraint.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
SetTopAnchor (Child As javafx.scene.Node, Offset As Double)
Sets the top anchor constraint (distance from the node top edge to the container edge). Pass -1 to clear this constraint.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the pane width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

Button


Events:

Click
Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alignment As String

  Alpha As Double

  build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node

  ContextMenu As ContextMenu

  Enabled As Boolean

  Font As Font

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  Text As String

  TextColor As javafx.scene.paint.Paint

  TextSize As Double

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

  WrapText As Boolean

Members description:

Alignment As String
Gets or sets the content alignment.
The possible values are: TOP_LEFT, TOP_CENTER, TOP_RIGHT,
CENTER_LEFT, CENTER, CENTER_RIGHT,
BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT,
BASELINE_LEFT, BASELINE_CENTER and BASELINE_RIGHT.
Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Font As Font
Gets or sets the control font.
Example:
Button1.Font = fx.DefaultFont(14)
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
Text As String
Gets or sets the control text.
TextColor As javafx.scene.paint.Paint
Gets or sets the text color.
TextSize As Double
Gets or sets the text size.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.
WrapText As Boolean
Gets or sets whether the text will be wrapped if it exceeds the node's width.

Canvas

A special node that can be drawn on.
The Canvas node will not be resized automatically when its parent is resized.

Events:

MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  ClearRect (x As Double, y As Double, Width As Double, Height As Double)

  ClipPath (Points As List)

  DrawCircle (x As Double, y As Double, Radius As Double, Paint As javafx.scene.paint.Paint, Filled As Boolean, StrokeWidth As Double)

  DrawImage (Image As javafx.scene.image.Image, x As Double, y As Double, Width As Double, Height As Double)

  DrawImage2 (Image As javafx.scene.image.Image, SourceX As Double, SourceY As Double, SourceWidth As Double, SourceHeight As Double, DestX As Double, DestY As Double, DestWidth As Double, DestHeight As Double)

  DrawImageRotated (Image As javafx.scene.image.Image, x As Double, y As Double, Width As Double, Height As Double, Degree As Double)

  DrawLine (x1 As Double, y1 As Double, x2 As Double, y2 As Double, Paint As javafx.scene.paint.Paint, StrokeWidth As Double)

  DrawRect (x As Double, y As Double, Width As Double, Height As Double, Paint As javafx.scene.paint.Paint, Filled As Boolean, StrokeWidth As Double)

  DrawRectRotated (x As Double, y As Double, Width As Double, Height As Double, Paint As javafx.scene.paint.Paint, Filled As Boolean, StrokeWidth As Double, Degree As Double)

  DrawText (Text As String, x As Double, y As Double, Font As javafx.scene.text.Font, Paint As javafx.scene.paint.Paint, Alignment As javafx.scene.text.TextAlignment)

  DrawText2 (Text As String, x As Double, y As Double, Font As javafx.scene.text.Font, Paint As javafx.scene.paint.Paint, Alignment As javafx.scene.text.TextAlignment, MaxWidth As Double)

  DrawTextRotated (Text As String, x As Double, y As Double, Font As javafx.scene.text.Font, Paint As javafx.scene.paint.Paint, Alignment As javafx.scene.text.TextAlignment, Degree As Double)

  Enabled As Boolean

  Height As Double

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveClip

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  Top As Double

  Visible As Boolean

  Width As Double

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ClearRect (x As Double, y As Double, Width As Double, Height As Double)
Clears the drawings in the given rectangle.
ClipPath (Points As List)
Clips the drawings to a closed path.
Points - A list with the path points. Each item in the list should be an array of doubles with the X and Y coordinates.
For example:
Dim Path As List
Path.Initialize
Path.Add(Array As Double(100, 100))
Path.Add(Array As Double(100, 200))
Path.Add(Array As Double(200, 200))
cvs.ClipPath(Path)
DrawCircle (x As Double, y As Double, Radius As Double, Paint As javafx.scene.paint.Paint, Filled As Boolean, StrokeWidth As Double)
Draws a circle.
x - The center X coordinate.
y - The center Y coordinate.
Radius - The circle radius.
Paint - The circle fill or stroke paint.
Filled - Whether the circle will be filled or not.
StrokeWidth - The circle stroke width (when Filled is False).
DrawImage (Image As javafx.scene.image.Image, x As Double, y As Double, Width As Double, Height As Double)
Draws an image on the canvas.
Image - The image that will be drawn.
x - The top left corner x coordinate.
y - The top left corner y coordinate.
Width - The width of the destination rectangle.
Height - The height of the destination rectangle.
Example:
cvs.DrawImage(image1, 10dip, 10dip, image1.Width, image1.Height)
DrawImage2 (Image As javafx.scene.image.Image, SourceX As Double, SourceY As Double, SourceWidth As Double, SourceHeight As Double, DestX As Double, DestY As Double, DestWidth As Double, DestHeight As Double)
Similar to DrawImage. Allows you to set both the source rectangle dimensions (in the image) and the destination rectangle dimensions.
DrawImageRotated (Image As javafx.scene.image.Image, x As Double, y As Double, Width As Double, Height As Double, Degree As Double)
Similar to DrawImage. Rotates the image before it is drawn.
Degree - Angle of rotation (measured in degrees).
DrawLine (x1 As Double, y1 As Double, x2 As Double, y2 As Double, Paint As javafx.scene.paint.Paint, StrokeWidth As Double)
Draws a line from (x1, y1) to (x2, y2).
DrawRect (x As Double, y As Double, Width As Double, Height As Double, Paint As javafx.scene.paint.Paint, Filled As Boolean, StrokeWidth As Double)
Draws a rectangle.
x - Top left corner X coordinate.
y - Top left corner Y coordinate.
Width - The rectangle width.
Height - The rectangle height.
Paint - The rectangle fill or stroke paint.
Filled - Whether the rectangle should be filled.
StrokeWidth - The rectangle stroke (when Filled is False).
DrawRectRotated (x As Double, y As Double, Width As Double, Height As Double, Paint As javafx.scene.paint.Paint, Filled As Boolean, StrokeWidth As Double, Degree As Double)
Similar to DrawRect. Draws a rotated rectangle.
DrawText (Text As String, x As Double, y As Double, Font As javafx.scene.text.Font, Paint As javafx.scene.paint.Paint, Alignment As javafx.scene.text.TextAlignment)
Draws the text.
Text - The text that will be drawn.
x - The origin X coordinate.
y - The origin Y coordinate.
Font - The text font.
Paint - Drawing color.
TextAlignment - Sets the alignment relative to the origin. One of the following values: LEFT, CENTER, RIGHT.
DrawText2 (Text As String, x As Double, y As Double, Font As javafx.scene.text.Font, Paint As javafx.scene.paint.Paint, Alignment As javafx.scene.text.TextAlignment, MaxWidth As Double)
Similar to DrawText. MaxWidth defines the text bounds. The text will be wrapped if it is longer.
DrawTextRotated (Text As String, x As Double, y As Double, Font As javafx.scene.text.Font, Paint As javafx.scene.paint.Paint, Alignment As javafx.scene.text.TextAlignment, Degree As Double)
Similar to DrawText. Rotates the text before it is drawn.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double
Gets or sets the canvas height.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the node's preferred height.
PrefWidth As Double
Gets or sets the node's preferred width.
RemoveClip
Removes a previously set clip region.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double
Gets or sets the canvas width.

CheckBox

Checkbox control. The CheckedChange event will be raised when the Checkbox is checked or unchecked.

Events:

CheckedChange(Checked As Boolean)

Members:


  Alignment As String

  Alpha As Double

  build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node

  Checked As Boolean

  ContextMenu As ContextMenu

  Enabled As Boolean

  Font As Font

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  Text As String

  TextColor As javafx.scene.paint.Paint

  TextSize As Double

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

  WrapText As Boolean

Members description:

Alignment As String
Gets or sets the content alignment.
The possible values are: TOP_LEFT, TOP_CENTER, TOP_RIGHT,
CENTER_LEFT, CENTER, CENTER_RIGHT,
BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT,
BASELINE_LEFT, BASELINE_CENTER and BASELINE_RIGHT.
Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node
Checked As Boolean
Gets or sets the checked state.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Font As Font
Gets or sets the control font.
Example:
Button1.Font = fx.DefaultFont(14)
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
Text As String
Gets or sets the control text.
TextColor As javafx.scene.paint.Paint
Gets or sets the text color.
TextSize As Double
Gets or sets the text size.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.
WrapText As Boolean
Gets or sets whether the text will be wrapped if it exceeds the node's width.

CheckboxTreeItem


Events:

CheckedChange(Checked As Boolean)
ExpandedChanged(Expanded As Boolean)

Members:


  Checked As Boolean

  Children As List [read only]

  Expanded As Boolean

  Image As Image

  Initialize (EventName As String, Text As String)

  IsInitialized As Boolean

  Parent As TreeItem [read only]

  Root As Boolean [read only]

  Text As String

Members description:

Checked As Boolean
Gets or sets the checked state.
Children As List [read only]
Returns a list with the TreeItem children.
Expanded As Boolean
Gets or sets whether the tree item is expanded.
Image As Image
Gets or sets the image that is displayed before the text.
Initialize (EventName As String, Text As String)
Initializes the item. Make sure to call TreeView.ChangeToCheckBoxesMode.
Otherwise the checkboxes will not be visible.
IsInitialized As Boolean
Parent As TreeItem [read only]
Returns the TreeItem parent. Will return an uninitialized TreeItem if this is a root item.
Root As Boolean [read only]
Tests whether this TreeItem is a root item.
Text As String
Gets or sets the TreeItem text.

CheckMenuItem

A checked menu item.

Events:

SelectedChange (Selected As Boolean)
Action

Members:


  Enabled As Boolean

  Image As Image

  Initialize (Text As String, EventName As String)

  IsInitialized As Boolean

  ParentMenu As Menu [read only]

  Selected As Boolean

  Tag As Object

  Text As String

  Visible As Boolean

Members description:

Enabled As Boolean
Gets or sets whether the menu item is enabled.
Image As Image
Gets or sets the image that is displayed before the text.
The image size is typically 16x16.
Initialize (Text As String, EventName As String)
Initializes a menu item with the given text.
IsInitialized As Boolean
ParentMenu As Menu [read only]
Returns the menu item parent. The object returned will be uninitialized if there is no parent.
Selected As Boolean
Gets or sets whether the menu item is checked.
Tag As Object
Gets or sets the tag object tied to this menu item.
Text As String
Gets or sets the menu text.
Visible As Boolean
Gets or sets whether the menu item is visible.

ChoiceBox

ChoiceBox is a simplified version of ComboBox.
It is optimized for a small number of options.
It can only show string items.

Events:

SelectedIndexChanged(Index As Int, Value As Object)

Members:


  Alpha As Double

  build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node

  ContextMenu As ContextMenu

  Enabled As Boolean

  Height As Double [read only]

  HideChoices

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Items As List [read only]

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SelectedIndex As Int

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  ShowChoices

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
HideChoices
Closes the list of choices.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Items As List [read only]
Returns a List with the items.
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SelectedIndex As Int
Gets or sets the selected index. A value of -1 means that there is no selected item.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
ShowChoices
Opens the list of choices.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

Clipboard

Allows you to get or set items from the system clipboard.
Use fx.Clipboard to access this object.

Events:

None

Members:


  GetFiles As List

  GetImage As Image

  GetString As String

  HasFiles As Boolean

  HasImage As Boolean

  HasString As Boolean

  SetFiles (Files As List)

  SetImage (Img As javafx.scene.image.Image)

  SetString (Text As String)

Members description:

GetFiles As List
Returns a list with the files paths.
Each item in the list is a full path to a file.
GetImage As Image
Gets an image from the system clipboard.
GetString As String
Gets a string from the system clipboard.
HasFiles As Boolean
Checks whether there are files in the system clipboard.
HasImage As Boolean
Checks whether there is an image in the system clipboard.
HasString As Boolean
Checks whether there is a string set in the system clipboard.
SetFiles (Files As List)
Puts the files in the system clipboard.
Example:
fx.Clipboard.SetFiles(Array As String(File.Combine(File.DirApp, "readme.txt")))
SetImage (Img As javafx.scene.image.Image)
Copies the image to the system clipboard.
SetString (Text As String)
Copies the given string to the system clipboard.

ColorPicker

A clickable field that opens a color picker dialog.

Events:

ValueChanged (Value As Paint)

Members:


  Alpha As Double

  ContextMenu As ContextMenu

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SelectedColor As javafx.scene.paint.Paint

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SelectedColor As javafx.scene.paint.Paint
Gets or sets the current value.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

Colors


Events:

None

Members:


  ARGB (Alpha As Int, R As Int, G As Int, B As Int) As javafx.scene.paint.Color

  Black As javafx.scene.paint.Paint

  Blue As javafx.scene.paint.Paint

  Cyan As javafx.scene.paint.Paint

  DarkGray As javafx.scene.paint.Paint

  From32Bit (Color As Int) As javafx.scene.paint.Color

  Gray As javafx.scene.paint.Paint

  Green As javafx.scene.paint.Paint

  LightGray As javafx.scene.paint.Paint

  Magenta As javafx.scene.paint.Paint

  Red As javafx.scene.paint.Paint

  RGB (R As Int, G As Int, B As Int) As javafx.scene.paint.Color

  To32Bit (Color As javafx.scene.paint.Paint) As Int

  Transparent As javafx.scene.paint.Paint

  White As javafx.scene.paint.Paint

  Yellow As javafx.scene.paint.Paint

Members description:

ARGB (Alpha As Int, R As Int, G As Int, B As Int) As javafx.scene.paint.Color
Creates a new color from the three components and alpha level.
Values should be between 0 to 255.
Black As javafx.scene.paint.Paint
Blue As javafx.scene.paint.Paint
Cyan As javafx.scene.paint.Paint
DarkGray As javafx.scene.paint.Paint
From32Bit (Color As Int) As javafx.scene.paint.Color
Creates a new color from a 32 bit number(1 byte for Alpha, R , G and B channels).
Gray As javafx.scene.paint.Paint
Green As javafx.scene.paint.Paint
LightGray As javafx.scene.paint.Paint
Magenta As javafx.scene.paint.Paint
Red As javafx.scene.paint.Paint
RGB (R As Int, G As Int, B As Int) As javafx.scene.paint.Color
Creates a new color from the three color components.
Values should be between 0 to 255.
To32Bit (Color As javafx.scene.paint.Paint) As Int
Converts the color to a 32 bit number (1 byte for Alpha, R, G and B channels).
Transparent As javafx.scene.paint.Paint
White As javafx.scene.paint.Paint
Yellow As javafx.scene.paint.Paint

ComboBox

ComboBox control. Allows the user to select a value from a dropdown list.
If the ComboBox is editable then the user can also write any value instead of selecting a predefined value.
SelectedIndexChanged event is raised when the selected index is changed. The Index will be -1 if there is no selection.
ValueChanged event is raised when the current value has changed. This event will be raised when the selected item has changed or
if the ComboBox is editable then it will be raised when the user has edited the value.

Events:

ValueChanged (Value As Object)
SelectedIndexChanged(Index As Int, Value As Object)

Members:


  Alpha As Double

  build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node

  ContextMenu As ContextMenu

  Editable As Boolean

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Items As List [read only]

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SelectedIndex As Int

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Value As Object

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Editable As Boolean
Gets or sets whether the ComboBox is editable. The default value is False.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Items As List [read only]
Returns a List with the items.
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SelectedIndex As Int
Gets or sets the selected index. A value of -1 means that there is no selected item.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Value As Object
Gets or sets the current value.
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

ContextMenu

A special Menu that is tied to a control and appears when the user "right clicks" on the control.

Events:

None

Members:


  Initialize (EventName As String)

  IsInitialized As Boolean

  MenuItems As List [read only]

Members description:

Initialize (EventName As String)
IsInitialized As Boolean
MenuItems As List [read only]
Returns a List with the menu items.

Control

A special type that can hold any type of control object.

Events:

Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  ContextMenu As ContextMenu

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

Cursors


Events:

None

Members:


  CLOSED_HAND As javafx.scene.Cursor

  CROSSHAIR As javafx.scene.Cursor

  DEFAULT As javafx.scene.Cursor

  DISAPPEAR As javafx.scene.Cursor

  HAND As javafx.scene.Cursor

  MOVE As javafx.scene.Cursor

  NONE As javafx.scene.Cursor

  OPEN_HAND As javafx.scene.Cursor

  TEXT As javafx.scene.Cursor

  WAIT As javafx.scene.Cursor

Members description:

CLOSED_HAND As javafx.scene.Cursor
CROSSHAIR As javafx.scene.Cursor
DEFAULT As javafx.scene.Cursor
DISAPPEAR As javafx.scene.Cursor
HAND As javafx.scene.Cursor
MOVE As javafx.scene.Cursor
NONE As javafx.scene.Cursor
OPEN_HAND As javafx.scene.Cursor
TEXT As javafx.scene.Cursor
WAIT As javafx.scene.Cursor

DatePicker


Events:

ValueChanged (Value As Long)

Members:


  Alpha As Double

  ContextMenu As ContextMenu

  DateFormat As String [write only]

  DateTicks As Long

  Editable As Boolean

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
DateFormat As String [write only]
Sets the date format. The default value is the same as DateTime.DateFormat.
DateTicks As Long
Gets or sets the date (as ticks). Pass 0 to clear the value;
Editable As Boolean
Gets or sets whether the field is editable. The default value is True.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

DirectoryChooser

A dialog that allows the user to choose a directory.

Events:

None

Members:


  InitialDirectory As String

  Initialize

  IsInitialized As Boolean

  Show (Owner As Form) As String

  Title As String

Members description:

InitialDirectory As String
Gets or sets the initial directory.
Initialize
Initializes the object.
IsInitialized As Boolean
Show (Owner As Form) As String
Shows the modal dialog. Returns the selected directory or an empty string.
Title As String
Gets or sets the dialog title.

Event


Events:

None

Members:


  Consume

  IsInitialized As Boolean

Members description:

Consume
Consumes the current event and prevent it from being handled by the nodes parent.
IsInitialized As Boolean

FileChooser

A dialog that allows the user to choose one or more files.

Events:

None

Members:


  InitialDirectory As String

  InitialFileName As String

  Initialize

  IsInitialized As Boolean

  SetExtensionFilter (Description As String, Extensions As List)

  ShowOpen (Owner As Form) As String

  ShowOpenMultiple (Owner As Form) As List

  ShowSave (Owner As Form) As String

  Title As String

Members description:

InitialDirectory As String
Gets or sets the initial directory.
InitialFileName As String
Gets or sets the initial file name.
Relevant only in "save" dialogs.
Initialize
Initializes the object.
IsInitialized As Boolean
SetExtensionFilter (Description As String, Extensions As List)
Sets an extension filter. The chooser will only accept files that end with one of the specified extensions.
Example:
fc.setExtensionFilter("Image", Array As String("*.jpg", "*.png"))
ShowOpen (Owner As Form) As String
Shows the dialog. The user will be asked to choose a single, existing file.
Returns an empty string if no file was chosen.
ShowOpenMultiple (Owner As Form) As List
Shows the dialog. The user can choose one or more files.
Returns an uninitialized list if the user has not chosen any file.
ShowSave (Owner As Form) As String
Shows the dialog. The user can either choose an existing or non-existing file.
Title As String
Gets or sets the dialog title.

Font


Events:

None

Members:


  FamilyName As String [read only]

  IsInitialized As Boolean

  Size As Double [read only]

Members description:

FamilyName As String [read only]
Gets the font family name.
IsInitialized As Boolean
Size As Double [read only]
Gets the font size.

Form

A form or window. Form.RootPane returns the root container. You can add or remove nodes from this container.
Forms can be either modal or non-modal.
The main form 'EventName' is MainForm.

Events:

CloseRequest (EventData As Event)
Closed
FocusChanged (HasFocus As Boolean)
IconifiedChanged (Iconified As Boolean)

Members:


  AlwaysOnTop As Boolean

  BackColor As javafx.scene.paint.Paint

  Close

  Height As Double [read only]

  Icon As Image

  Initialize (EventName As String, Width As Double, Height As Double)

  IsInitialized As Boolean

  Resizable As Boolean

  RootPane As AnchorPane [read only]

  SetFormStyle (Style As String)

  SetOwner (Owner As Form)

  SetWindowSizeLimits (MinWidth As Double, MinHeight As Double, MaxWidth As Double, MaxHeight As Double)

  Show

  ShowAndWait

  Showing As Boolean [read only]

  Stylesheets As List [read only]

  Title As String

  Visible As Boolean [read only]

  Width As Double [read only]

  WindowHeight As Double

  WindowLeft As Double

  WindowTop As Double

  WindowWidth As Double

Members description:

AlwaysOnTop As Boolean
Gets or sets whether the form will be kept above all other windows.
BackColor As javafx.scene.paint.Paint
Gets or sets the form background fill.
Example:
frm.BackColor = fx.Colors.White
Close
Closes the form.
Height As Double [read only]
Gets the form internal height (without the title bar).
Icon As Image
Gets or sets the form icon.
Example:
MainForm.Icon = fx.LoadImage(File.DirAssets, "image.png")
Initialize (EventName As String, Width As Double, Height As Double)
Initializes the form and set the subs that will handle the form events (including the RootPane events).
Pass -1 to the Width or Height if you want the form size to be calculated automatically based on its contents.
IsInitialized As Boolean
Tests whether the Form was initialized.
Resizable As Boolean
Gets or sets whether this form is resizable by the user.
RootPane As AnchorPane [read only]
Return the form root container, which is an AnchorPane.
SetFormStyle (Style As String)
Sets the form style.
The possible values are:
DECORATED - Default style.
UNDECORATED - Window without decorations.
TRANSPARENT - Transparent window without decorations.
UTILITY - Window with minimal decorations.
SetOwner (Owner As Form)
Sets the form owner. This method should be called before the form is shown.
A form with an owner will appear above its owner.
SetWindowSizeLimits (MinWidth As Double, MinHeight As Double, MaxWidth As Double, MaxHeight As Double)
Sets the window maximum and minimum dimensions.
Show
Shows the form.
ShowAndWait
Shows the form as a modal form. The current code execution will wait until the form is closed.
Note that you cannot call this method if the form was shown before as a non-modal form.
Showing As Boolean [read only]
Returns true if the form is showing (open).
Stylesheets As List [read only]
Returns a List with the stylesheets files attached to this form.
Title As String
Gets or sets the form title.
Visible As Boolean [read only]
Returns true if the stage is visible.
Width As Double [read only]
Gets the form internal width.
WindowHeight As Double
Gets or sets the window height.
WindowLeft As Double
Gets or sets the window left position.
WindowTop As Double
Gets or sets the window top position.
WindowWidth As Double
Gets or sets the window width.

HTMLEditor

HTMLEditor is a built-in text editor that is based on a Html engine.
HTMLEditor makes it easy for the user to format their text.

Events:

Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node

  ContextMenu As ContextMenu

  Enabled As Boolean

  Height As Double [read only]

  HtmlText As String

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
HtmlText As String
Gets or sets the Html formatted text.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

Image

Image represents a graphical image.

Events:

None

Members:


  GetPixel (x As Int, y As Int) As Int

  Height As Double [read only]

  Initialize (Dir As String, FileName As String)

  Initialize2 (In As java.io.InputStream)

  InitializeSample (Dir As String, FileName As String, Width As Double, Height As Double)

  InitializeSample2 (In As java.io.InputStream, Width As Double, Height As Double)

  IsInitialized As Boolean

  Width As Double [read only]

  WriteToStream (Out As java.io.OutputStream)

Members description:

GetPixel (x As Int, y As Int) As Int
Height As Double [read only]
Returns the image height.
Initialize (Dir As String, FileName As String)
Loads the image from the given directory.
Initialize2 (In As java.io.InputStream)
Loads the image from the given InputStream.
InitializeSample (Dir As String, FileName As String, Width As Double, Height As Double)
Loads a resized image.
InitializeSample2 (In As java.io.InputStream, Width As Double, Height As Double)
Loads a resized image from the given InputStream.
IsInitialized As Boolean
Width As Double [read only]
Returns the image width.
WriteToStream (Out As java.io.OutputStream)
Writes the image to the OutputStream formatted as a PNG image.
The OutputStream will not be closed automatically.
Example:Dim Out As OutputStream = File.OpenOutput(File.DirApp, "1.png")
Image1.WriteToStream(Out)
Out.Close

ImageView

A node that displays an image.

Events:

MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  Enabled As Boolean

  GetImage As Image

  Height As Double

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  PreserveRatio As Boolean

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetImage (Image As javafx.scene.image.Image)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, Width As Double, Height As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  Top As Double

  Visible As Boolean

  Width As Double

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
Enabled As Boolean
Gets or sets whether the node is enabled.
GetImage As Image
Gets the image.
Height As Double
Gets or sets the ImageView height.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the node's preferred height.
PrefWidth As Double
Gets or sets the node's preferred width.
PreserveRatio As Boolean
Gets or sets whether ImageView should preserve the image ratio.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetImage (Image As javafx.scene.image.Image)
Sets the image.
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, Width As Double, Height As Double)
Changes the node Top, Left, Width and Height properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double
Gets or sets the ImageView width.

JFX


Events:

None

Members:


  Clipboard As Clipboard

  Colors As Colors

  CreateFont (FamilyName As String, Size As Double, Bold As Boolean, Italic As Boolean) As Font

  CreateFontAwesome (Size As Double) As Font

  CreateMaterialIcons (Size As Double) As Font

  Cursors As Cursors

  DefaultFont (Size As Double) As Font

  DialogResponse As DialogResponse

  GetAllFontFamilies As List

  InputList (Owner As Form, Items As List, Message As String, Title As String, DefaultItem As Int) As Int

  LoadFont (Dir As String, FileName As String, Size As Double) As Font

  LoadImage (Dir As String, FileName As String) As Image

  LoadImageSample (Dir As String, FileName As String, Width As Double, Height As Double) As Image

  Msgbox (Owner As Form, Message As String, Title As String)

  MSGBOX_CONFIRMATION As Object

  MSGBOX_ERROR As Object

  MSGBOX_INFORMATION As Object

  MSGBOX_NONE As Object

  MSGBOX_WARNING As Object

  Msgbox2 (Owner As Form, Message As String, Title As String, Positive As String, Cancel As String, Negative As String, Style As Object) As Int

  PrimaryScreen As Screen [read only]

  Screens As List [read only]

  ShowExternalDocument (DocUri As String)

Members description:

Clipboard As Clipboard
Provides access to the OS Clipboard.
Colors As Colors
CreateFont (FamilyName As String, Size As Double, Bold As Boolean, Italic As Boolean) As Font
Creates a new Font object.
CreateFontAwesome (Size As Double) As Font
Returns the FontAwesome font.
CreateMaterialIcons (Size As Double) As Font
Returns the Material Icons font.
Cursors As Cursors
Returns the available mouse cursors.
DefaultFont (Size As Double) As Font
Returns the system default font.
DialogResponse As DialogResponse
Dialogs related constants.
GetAllFontFamilies As List
Returns a list with all the installed font family names.
InputList (Owner As Form, Items As List, Message As String, Title As String, DefaultItem As Int) As Int
Shows a modal dialog with a list of items. The user can choose one of the items.
Owner - The Form that will be set as the window owner. Pass Null if there is no owner.
List - Items to display.
Message - Dialog message.
Title - Dialog title.
DefaultItem - The index of the default item. Pass -1 for no default.
Example:
Dim items As List = Array("Red", "Green", "Blue")
Dim res As Int = fx.InputList(MainForm, items, "Choose favorite color", "", -1)
If res <> fx.DialogResponse.CANCEL Then
  Log($"Favorite color: ${items.Get(res)}"$)
End If
LoadFont (Dir As String, FileName As String, Size As Double) As Font
Loads a font resource from the given file. Returns an uninitialized font if loading has failed.
After the font was loaded you can call CreateFont with the font family name to create other variants of the given font.
LoadImage (Dir As String, FileName As String) As Image
Loads an image (similar to Image.Initialize).
LoadImageSample (Dir As String, FileName As String, Width As Double, Height As Double) As Image
Loads a resized image (similar to Image.InitializeSample).
Msgbox (Owner As Form, Message As String, Title As String)
Shows a modal message box.
Owner - The Form that will be set as the window owner. Pass Null if there is no owner.
Message - The dialog message.
Title - The dialog title.
Example:fx.Msgbox(MainForm, "Message", "Title")
MSGBOX_CONFIRMATION As Object
MSGBOX_ERROR As Object
MSGBOX_INFORMATION As Object
MSGBOX_NONE As Object
MSGBOX_WARNING As Object
Msgbox2 (Owner As Form, Message As String, Title As String, Positive As String, Cancel As String, Negative As String, Style As Object) As Int
Shows a modal message box that returns a value.
Owner - The Form that will be set as the window owner. Pass Null if there is no owner.
Message - The dialog message.
Title - The dialog title.
Positive - The text to show for the "positive" button. Pass "" if you don't want to show the button.
Cancel - The text to show for the "cancel" button. Pass "" if you don't want to show the button.
Negative - The text to show for the "negative" button. Pass "" if you don't want to show the button.
Style - One of the MSGBOX constants.
Example:
If fx.Msgbox2(MainForm, "Do you want to save changes?", "Example", "Yes", "Cancel", "No", _
  fx.MSGBOX_CONFIRMATION) = fx.DialogResponse.POSITIVE Then
  Log("saving file...")
End If  
PrimaryScreen As Screen [read only]
Returns a Screen object that represents the primary screen.
Screens As List [read only]
Returns a List with all the screens. Each element in the list is a Screen object.
ShowExternalDocument (DocUri As String)
Tries to open the given Uri with the default app.
No error will be raised if the file cannot be opened.
Note that you cannot use this method with asset files. It will fail in release mode.
Example:
fx.ShowExternalDocument(File.GetUri("C:\Users\H\Documents", "Document.pdf"))
fx.ShowExternalDocument("http://www.basic4ppc.com")

Label


Events:

Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alignment As String

  Alpha As Double

  ContextMenu As ContextMenu

  Enabled As Boolean

  Font As Font

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  Text As String

  TextColor As javafx.scene.paint.Paint

  TextSize As Double

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

  WrapText As Boolean

Members description:

Alignment As String
Gets or sets the content alignment.
The possible values are: TOP_LEFT, TOP_CENTER, TOP_RIGHT,
CENTER_LEFT, CENTER, CENTER_RIGHT,
BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT,
BASELINE_LEFT, BASELINE_CENTER and BASELINE_RIGHT.
Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Font As Font
Gets or sets the control font.
Example:
Button1.Font = fx.DefaultFont(14)
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
Text As String
Gets or sets the control text.
TextColor As javafx.scene.paint.Paint
Gets or sets the text color.
TextSize As Double
Gets or sets the text size.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.
WrapText As Boolean
Gets or sets whether the text will be wrapped if it exceeds the node's width.

LayoutValues

Holds values related to the display.

Events:

None

Members:


  ApproximateScreenSize As Double [read only]

  Height As Int

  Scale As Float

  toString As String

  Width As Int

Members description:

ApproximateScreenSize As Double [read only]
Returns the approximate screen size.
Height As Int
The display height (pixels).
Scale As Float
The device scale value which is equal to 'dots per inch' / 96.
toString As String
Width As Int
The display width (pixels).

ListView

A control that shows a list of items.
ListView supports multiple selection.
ListView.Items returns a List with the items. This list can be modified.
SelectedIndexChanged event is raised when the selected index changes. A value of -1 means that there is no selection.

Events:

SelectedIndexChanged(Index As Int)
Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node

  ClearSelection

  ContextMenu As ContextMenu

  Enabled As Boolean

  GetSelectedIndices As List

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Items As List [read only]

  Left As Double

  MouseCursor As javafx.scene.Cursor

  MultipleSelection As Boolean [write only]

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  ScrollTo (Index As Int)

  SelectedIndex As Int

  SelectedItem As Object [read only]

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSelectedIndices (Indices As List)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node
ClearSelection
Clears selection.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
GetSelectedIndices As List
Returns a List with the selected indices.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Items As List [read only]
Returns a List with the ListView items. You can add or remove items from this list.
If the item added is a Node (any type of Node) then the Node will be used to visualize the item.
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
MultipleSelection As Boolean [write only]
Sets whether multiple selection is enabled.
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
ScrollTo (Index As Int)
Scrolls the list to the specified index.
SelectedIndex As Int
Gets or sets the selected index.
SelectedItem As Object [read only]
Gets the selected item.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSelectedIndices (Indices As List)
Sets the selected indices.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

MediaPlayer

MediaPlayer allows you to play audio media files.
The file is set once when you MediaPlayer is initialized.
Note that wav files in the assets folder will not work in Release mode.
The Complete event is raised when the playback reaches the end of the media. The player is still consider playing.
You can restart playback by setting the position to 0.

Events:

Complete

Members:


  CycleCount As Int

  Duration As Double [read only]

  Initialize (EventName As String, MediaUri As String)

  IsInitialized As Boolean

  Pause

  Play

  Position As Double

  Stop

  Volume As Double

Members description:

CycleCount As Int
Gets or sets the number of times the playback will repeat. The default value is 1.
Setting this value to -1 means that the playback will repeat indefinitely.
Duration As Double [read only]
Gets the total duration, measured in milliseconds.
Initialize (EventName As String, MediaUri As String)
Initializes the object, sets the subs that will handle the events and loads the media resource.
IsInitialized As Boolean
Pause
Pauses the playback.
Play
Starts (or resumes) playing the media file.
Position As Double
Gets or sets the playback position, measured in milliseconds.
Stop
Stops the playback. Calling Play will start from the beginning.
Volume As Double
Gets or sets the volume (between 0 to 1).

Menu

Menu holds a List of MenuItems. A Menu can also hold other Menu objects.

Events:

None

Members:


  Initialize (Text As String, EventName As String)

  IsInitialized As Boolean

  MenuItems As List [read only]

  ParentMenu As Menu [read only]

  Tag As Object

  Text As String

Members description:

Initialize (Text As String, EventName As String)
IsInitialized As Boolean
MenuItems As List [read only]
Returns a List with the child items. You can modify this list and add new items.
ParentMenu As Menu [read only]
Returns the menu parent. The object returned will be uninitialized if there is no parent.
Tag As Object
Gets or sets the tag object tied to this menu.
Text As String
Gets or sets the menu text.

MenuBar

A bar that holds Menus.
The two events are raised by menu items added with the internal designer.

Events:

Action
SelectedChange (Selected As Boolean)

Members:


  Alpha As Double

  ContextMenu As ContextMenu

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  Menus As List [read only]

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
Menus As List [read only]
Returns a List with the Menus.
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

MenuItem


Events:

Action

Members:


  Enabled As Boolean

  Image As Image

  Initialize (Text As String, EventName As String)

  IsInitialized As Boolean

  ParentMenu As Menu [read only]

  Tag As Object

  Text As String

  Visible As Boolean

Members description:

Enabled As Boolean
Gets or sets whether the menu item is enabled.
Image As Image
Gets or sets the image that is displayed before the text.
The image size is typically 16x16.
Initialize (Text As String, EventName As String)
Initializes a menu item with the given text.
IsInitialized As Boolean
ParentMenu As Menu [read only]
Returns the menu item parent. The object returned will be uninitialized if there is no parent.
Tag As Object
Gets or sets the tag object tied to this menu item.
Text As String
Gets or sets the menu text.
Visible As Boolean
Gets or sets whether the menu item is visible.

MouseEvent

Holds the information related to the current mouse event.

Events:

None

Members:


  ClickCount As Int [read only]

  Consume

  IsInitialized As Boolean

  MiddleButtonDown As Boolean [read only]

  MiddleButtonPressed As Boolean [read only]

  PrimaryButtonDown As Boolean [read only]

  PrimaryButtonPressed As Boolean [read only]

  SecondaryButtonDown As Boolean [read only]

  SecondaryButtonPressed As Boolean [read only]

  X As Double [read only]

  Y As Double [read only]

Members description:

ClickCount As Int [read only]
Returns the number of clicks associated with this event.
Consume
Consumes the current event and prevent it from being handled by the nodes parent.
IsInitialized As Boolean
MiddleButtonDown As Boolean [read only]
Returns true if the middle button is currently down.
MiddleButtonPressed As Boolean [read only]
Returns true if the primary button was responsible for raising the current click event.
PrimaryButtonDown As Boolean [read only]
Returns true if the primary button is currently down.
PrimaryButtonPressed As Boolean [read only]
Returns true if the primary button was responsible for raising the current click event.
SecondaryButtonDown As Boolean [read only]
Returns true if the secondary button is currently down.
SecondaryButtonPressed As Boolean [read only]
Returns true if the secondary button was responsible for raising the current click event.
X As Double [read only]
Returns the X coordinate related to the node bounds.
Y As Double [read only]
Returns the Y coordinate related to the node bounds.

Node

A special type that can hold any type of node.

Events:

MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  Enabled As Boolean

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  Top As Double

  Visible As Boolean

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
Enabled As Boolean
Gets or sets whether the node is enabled.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the node's preferred height.
PrefWidth As Double
Gets or sets the node's preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.

Pagination

A container of pages (panes). Includes a ruler of page indicators.

Events:

PageChanged (PageIndex As Int)
Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  ContextMenu As ContextMenu

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  LoadLayout (LayoutFile As String) As Pane

  MouseCursor As javafx.scene.Cursor

  PageIndicatorCount As Int

  Panes As List [read only]

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SelectedIndex As Int

  SelectedItem As Pane [read only]

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
LoadLayout (LayoutFile As String) As Pane
Creates a new page. The LayoutFile is loaded to the pane.
LayoutFile - The layout file will be loaded to the page content.
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
PageIndicatorCount As Int
Gets or sets the maximum number of indicators that will be displayed.
Panes As List [read only]
Gets a list with the panes.
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SelectedIndex As Int
Gets or sets the selected pane.
SelectedItem As Pane [read only]
Gets the current visible pane.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

Paint

Paint object usually represent a color. It can however also represent other types of Paints.

Events:

None

Members:


  IsInitialized As Boolean

Members description:

IsInitialized As Boolean

Pane

Pane is an object that can hold any type of Pane.

Events:

Resize (Width As Double, Height As Double)
Touch (Action As Int, X As Float, Y As Float)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  AddNode (Node As javafx.scene.Node, Left As Double, Top As Double, Width As Double, Height As Double)

  Alpha As Double

  Enabled As Boolean

  GetAllViewsRecursive As IterableList

  GetNode (Index As Int) As Node

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  InsertNode (Index As Int, Node As javafx.scene.Node, Left As Double, Top As Double, Width As Double, Height As Double)

  IsInitialized As Boolean

  Left As Double

  LoadLayout (LayoutFile As String) As LayoutValues

  MouseCursor As javafx.scene.Cursor

  NumberOfNodes As Int [read only]

  Orientation As Object

  ORIENTATION_INHERIT As Object

  ORIENTATION_LEFT_TO_RIGHT As Object

  ORIENTATION_RIGHT_TO_LEFT As Object

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveAllNodes

  RemoveNodeAt (Index As Int)

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

AddNode (Node As javafx.scene.Node, Left As Double, Top As Double, Width As Double, Height As Double)
Adds a Node to this pane.
Node - The node to add.
Left - The x coordinate of the top-left corner.
Top - The y coordinate of the top-left corner.
Width - The node's width. Setting this value to -1 means that the size will be calculated automatically.
Height - The node's height. Setting this value to -1 means that the size will be calculated automatically.
Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
Enabled As Boolean
Gets or sets whether the node is enabled.
GetAllViewsRecursive As IterableList
Returns an iterator that iterates over all the child nodes including nodes that were added to other child nodes.
Example:
For Each n As Node In MainForm.RootPane.GetAllViewsRecursive

Next
GetNode (Index As Int) As Node
Returns the node at the given index.
Height As Double [read only]
Gets the pane height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
InsertNode (Index As Int, Node As javafx.scene.Node, Left As Double, Top As Double, Width As Double, Height As Double)
Inserts a node at the specified index.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
LoadLayout (LayoutFile As String) As LayoutValues
Loads a layout file.
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
NumberOfNodes As Int [read only]
Gets the number of child nodes.
Orientation As Object
Gets or sets the pane orientation (left to right or right to left).
The default value is ORIENTATION_INHERIT which means that it inherits the orientation of its parent.
ORIENTATION_INHERIT As Object
ORIENTATION_LEFT_TO_RIGHT As Object
ORIENTATION_RIGHT_TO_LEFT As Object
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the pane preferred height.
PrefWidth As Double
Gets or sets the pane preferred width.
RemoveAllNodes
Removes all child nodes.
RemoveNodeAt (Index As Int)
Removes the node at the specified index.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the pane width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

ProgressBar

A horizontal progress bar. A progress value of -1 means that the indicator is in indeterminate mode.

Events:

Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  ContextMenu As ContextMenu

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  Progress As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
Progress As Double
Gets or sets the progress. The value should be between 0 to 1. A value of -1 means that the indicator is in indeterminate mode.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

ProgressIndicator

A circular progress indicator. A progress value of -1 means that the indicator is in indeterminate mode.

Events:

Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  ContextMenu As ContextMenu

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  Progress As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
Progress As Double
Gets or sets the progress. The value should be between 0 to 1. A value of -1 means that the indicator is in indeterminate mode.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

RadioButton

RadioButtons can be either selected or not selected. When the RadioButtons are grouped then only one item can be selected at any time.
Call GroupRadioButtons to group a list of RadioButtons.

Events:

SelectedChange(Selected As Boolean)

Members:


  Alignment As String

  Alpha As Double

  ContextMenu As ContextMenu

  Enabled As Boolean

  Font As Font

  GroupRadioButtons (RadioButtons As List)

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  Selected As Boolean

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  Text As String

  TextColor As javafx.scene.paint.Paint

  TextSize As Double

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

  WrapText As Boolean

Members description:

Alignment As String
Gets or sets the content alignment.
The possible values are: TOP_LEFT, TOP_CENTER, TOP_RIGHT,
CENTER_LEFT, CENTER, CENTER_RIGHT,
BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT,
BASELINE_LEFT, BASELINE_CENTER and BASELINE_RIGHT.
Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Font As Font
Gets or sets the control font.
Example:
Button1.Font = fx.DefaultFont(14)
GroupRadioButtons (RadioButtons As List)
Creates a group from the RadioButtons that are stored in the list.
Only one of the group buttons can be selected at any time.
Note that RadioButtons added with the internal designer are grouped based on their parent.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
Selected As Boolean
Gets or sets whether the button is selected (pressed).
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
Text As String
Gets or sets the control text.
TextColor As javafx.scene.paint.Paint
Gets or sets the text color.
TextSize As Double
Gets or sets the text size.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.
WrapText As Boolean
Gets or sets whether the text will be wrapped if it exceeds the node's width.

Screen

Represents a connected monitor.

Events:

None

Members:


  IsInitialized As Boolean

  MaxX As Double [read only]

  MaxY As Double [read only]

  MinX As Double [read only]

  MinY As Double [read only]

Members description:

IsInitialized As Boolean
MaxX As Double [read only]
Returns the screen right boundary X coordinate.
MaxY As Double [read only]
Returns the screen bottom boundary Y coordinate.
MinX As Double [read only]
Returns the screen left boundary X coordinate.
MinY As Double [read only]
Returns the screen top boundary Y coordinate.

ScrollPane

ScrollPane is a scrollable container. The InnerNode will return the node that actually holds content node which is scrolled.
By default the inner node is an AnchorPane.
The Position parameter in VScrollChanged and HScrollChanged events is a value between 0 (minimum) to 1 (maximum).

Events:

VScrollChanged (Position As Double)
HScrollChanged (Position As Double)
Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node

  ContextMenu As ContextMenu

  Enabled As Boolean

  FitToHeight As Boolean

  FitToWidth As Boolean

  Height As Double [read only]

  HPosition As Double

  Id As String

  Initialize (EventName As String)

  InnerNode As Node

  IsInitialized As Boolean

  Left As Double

  LoadLayout (LayoutFile As String, Width As Double, Height As Double)

  MouseCursor As javafx.scene.Cursor

  Pannable As Boolean

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetHScrollVisibility (Policy As javafx.scene.control.ScrollPane.ScrollBarPolicy)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  SetVScrollVisibility (Policy As javafx.scene.control.ScrollPane.ScrollBarPolicy)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  VPosition As Double

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
FitToHeight As Boolean
Gets or sets whether the inner node should be resized to match the ScrollPane height.
This property only affects resizable nodes.
FitToWidth As Boolean
Gets or sets whether the inner node should be resized to match the ScrollPane width.
This property only affects resizable nodes.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
HPosition As Double
Gets or sets the horizontal scroll position. Value between 0 to 1.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
InnerNode As Node
Gets or sets the inner node.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
LoadLayout (LayoutFile As String, Width As Double, Height As Double)
Sets the inner node to be a Pane and loads the layout file to the pane.
Layout - Layout file.
Width - The inner pane width. Set to -1 to fill the ScrollPane.
Height - The inner pane height. Set to -1 to fill the ScrollPane.
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Pannable As Boolean
Gets or sets whether the ScrollPane can be scrolled using the mouse.
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetHScrollVisibility (Policy As javafx.scene.control.ScrollPane.ScrollBarPolicy)
Sets the horizontal scroll bar visibility.
Policy - One of the following string values: NEVER, ALWAYS, AS_NEEDED.
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
SetVScrollVisibility (Policy As javafx.scene.control.ScrollPane.ScrollBarPolicy)
Sets the vertical scroll bar visibility.
Policy - One of the following string values: NEVER, ALWAYS, AS_NEEDED.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
VPosition As Double
Gets or sets the vertical scroll position. Value between 0 to 1.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

Slider

A slider control that allows the user to choose a value by dragging the "thumb".
The default minimum and maximum values are 0 and 100.

Events:

ValueChange (Value As Double)

Members:


  Alpha As Double

  ContextMenu As ContextMenu

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MaxValue As Double

  MinValue As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Value As Double

  Vertical As Boolean

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MaxValue As Double
Gets or sets the maximum value. The default value is 100.
MinValue As Double
Gets or sets the minimum value. The default value is 0.
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Value As Double
Gets or sets the slider value.
Vertical As Boolean
Gets or sets the slider orientation. The default value is False (horizontal).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

Spinner

A control that shows a range of numbers or string items. The user can switch between the values with the up and down arrows.
You can use SetNumericItems to set the range of numbers or SetListItems to explicitly set the items (can be text or numbers).
If the spinner is editable then the user can manually enter values. Only existing values will be accepted.

Events:

ValueChanged (Value As Object)

Members:


  Alpha As Double

  build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node

  ContextMenu As ContextMenu

  Editable As Boolean

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetListItems (Items As List)

  SetNumericItems (MinValue As Double, MaxValue As Double, Step As Double, InitialValue As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Value As Object

  Visible As Boolean

  Width As Double [read only]

  WrapAround As Boolean

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Editable As Boolean
Gets or sets whether the user can edit the text field. Only valid values will be accepted.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetListItems (Items As List)
Sets the items from the provided list. The items can be numbers or strings.
Example: Spinner1.SetListItems(Array ("Item #1", "Item #2"))
SetNumericItems (MinValue As Double, MaxValue As Double, Step As Double, InitialValue As Double)
Sets the items. If all values are integers then only integers will be allowed.
MinValue - Minimum value.
MaxValue - Maximum value.
Step - Increment step.
InitialValue - Initial value.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Value As Object
Gets or sets the spinner value.
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.
WrapAround As Boolean
Gets or sets whether the values wrap around (circular).

SplitPane


Events:

Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  ContextMenu As ContextMenu

  DividerPositions() As Double

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  LoadLayout (LayoutFile As String)

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  SetSizeLimits (LayoutIndex As Int, MinSize As Double, MaxSize As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Vertical As Boolean

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
DividerPositions() As Double
Gets or sets the dividers positions. The positions are stored in an array of doubles.
Each value should be between 0 to 1.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
LoadLayout (LayoutFile As String)
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
SetSizeLimits (LayoutIndex As Int, MinSize As Double, MaxSize As Double)
Sets the layout minimum and maximum sizes.
MinSize - The layout minimum size (width for horizontal orientation and height for vertical orientation).
MaxSize - The layout maximum size. Pass 0 for no limit.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Vertical As Boolean
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

TableView

A control that shows data in a table.
The table data is stored in a List. Each item in the list (which represents a row) is an array of objects. One object for each column.
Changing the data in the list will change the data in the table.
Set SingleCellSelection to True if you want to allow selection of single cells instead of rows.

Events:

SelectedRowChanged(Index As Int, Row() As Object)
SelectedCellChanged (RowIndex As Int, ColIndex As Int, Cell As Object)
Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node

  ClearSelection

  ColumnsCount As Int [read only]

  ContextMenu As ContextMenu

  Enabled As Boolean

  GetColumnHeader (Index As Int) As String

  GetColumnVisible (Index As Int) As Boolean

  GetColumnWidth (Index As Int) As Double

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Items As List

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  ScrollTo (Index As Int)

  SelectCell (Row As Int, Column As Int)

  SelectedRow As Int

  SelectedRowValues() As Object

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetColumnHeader (Index As Int, Header As String)

  SetColumns (Columns As List)

  SetColumnSortable (Index As Int, Sortable As Boolean)

  SetColumnVisible (Index As Int, Visible As Boolean)

  SetColumnWidth (Index As Int, Width As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  SingleCellSelection As Boolean

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node
ClearSelection
Clears selection.
ColumnsCount As Int [read only]
Returns the number of columns.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
GetColumnHeader (Index As Int) As String
Gets the column header.
Index - Column index (first column index is 0).
GetColumnVisible (Index As Int) As Boolean
Gets whether the column is visible.
GetColumnWidth (Index As Int) As Double
Gets the column width.
Index - Column index (first column index is 0).
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Items As List
Gets or sets the list that holds the table data.
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
ScrollTo (Index As Int)
Scrolls to the given row index.
SelectCell (Row As Int, Column As Int)
Selects a single cell. Make sure to first set SingleCellSelection to True.
SelectedRow As Int
Gets or sets the index of the selected row.
SelectedRowValues() As Object
Gets the values of the selected row or sets the selected row based on the given values.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetColumnHeader (Index As Int, Header As String)
Sets the column header.
Index - Column index (first column index is 0).
SetColumns (Columns As List)
Sets the table columns.
Columns - A List (or array) with the columns titles.
SetColumnSortable (Index As Int, Sortable As Boolean)
Sets whether the column is sortable. Sortable means that the user can click on the header to sort it.
SetColumnVisible (Index As Int, Visible As Boolean)
Sets whether the column is visible.
SetColumnWidth (Index As Int, Width As Double)
Sets the column width.
Index - Column index (first column index is 0).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
SingleCellSelection As Boolean
Gets or sets whether single cell selection is enabled.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

TabPage


Events:

None

Members:


  Content As Pane

  ContextMenu As ContextMenu

  Id As String

  Image As Image

  Initialize

  IsInitialized As Boolean

  Tag As Object

  Text As String

Members description:

Content As Pane
Gets or sets the tab content pane.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Id As String
Gets or sets the tab id. Returns an empty string if the id was not set.
Image As Image
Gets or sets the image that is displayed in the tab.
Initialize
IsInitialized As Boolean
Tag As Object
Gets or sets the tab's tag. This is a placeholder for any object you need to tie to the node.
Text As String
Gets or sets the tab text.

TabPane


Events:

TabChanged (SelectedTab As TabPage)
Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  ContextMenu As ContextMenu

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  LoadLayout (LayoutFile As String, TabText As String) As TabPage

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SelectedIndex As Int

  SelectedItem As TabPage [read only]

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSide (Side As javafx.geometry.Side)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tabs As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
LoadLayout (LayoutFile As String, TabText As String) As TabPage
Creates a new tab page with a pane as its content. The LayoutFile is loaded to the pane.
LayoutFile - The layout file will be loaded to the page content.
TabText - The tab page header text.
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SelectedIndex As Int
Gets or sets the selected index.
SelectedItem As TabPage [read only]
Gets the selected tab page.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSide (Side As javafx.geometry.Side)
Sets the tabs position. The possible values are: "TOP", "LEFT", "RIGHT", "BOTTOM".
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tabs As List [read only]
Gets a list with the TabPane tabs.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

TextArea

Multiline editable text field.

Events:

TextChanged (Old As String, New As String)
MouseClicked (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)

Members:


  Alpha As Double

  ContextMenu As ContextMenu

  Editable As Boolean

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  PromptText As String

  RemoveNodeFromParent

  RequestFocus

  ScrollLeftPosition As Double

  ScrollTopPosition As Double

  SelectAll

  SelectionEnd As Int [read only]

  SelectionStart As Int [read only]

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSelection (StartIndex As Int, EndIndex As Int)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  Text As String

  TooltipText As String

  Top As Double

  toString As String

  Visible As Boolean

  Width As Double [read only]

  WrapText As Boolean

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Editable As Boolean
Gets or sets whether the text control is editable.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
PromptText As String
Gets or sets the prompt text. This text appears when there is no text set.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
ScrollLeftPosition As Double
Gets or sets the horizontal left position.
ScrollTopPosition As Double
Gets or sets the vertical scroll top position.
SelectAll
Selects all the text.
SelectionEnd As Int [read only]
Return the selection end index.
SelectionStart As Int [read only]
Returns the selection start index.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSelection (StartIndex As Int, EndIndex As Int)
Sets the selection.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
Text As String
Gets or sets the text.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
toString As String
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.
WrapText As Boolean
Gets or sets whether the text will wrap if needed.

TextField

A single line editable text field.

Events:

Action
TextChanged (Old As String, New As String)
MouseClicked (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)

Members:


  Alpha As Double

  ContextMenu As ContextMenu

  Editable As Boolean

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  InitializePassword (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  PromptText As String

  RemoveNodeFromParent

  RequestFocus

  SelectAll

  SelectionEnd As Int [read only]

  SelectionStart As Int [read only]

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSelection (StartIndex As Int, EndIndex As Int)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  Text As String

  TooltipText As String

  Top As Double

  toString As String

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Editable As Boolean
Gets or sets whether the text control is editable.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
InitializePassword (EventName As String)
Creates a new password field.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
PromptText As String
Gets or sets the prompt text. This text appears when there is no text set.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SelectAll
Selects all the text.
SelectionEnd As Int [read only]
Return the selection end index.
SelectionStart As Int [read only]
Returns the selection start index.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSelection (StartIndex As Int, EndIndex As Int)
Sets the selection.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
Text As String
Gets or sets the text.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
toString As String
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

TitledPane

A pane with a title.
Use Accordion.LoadLayout to create new TitledPanes.

Events:

None

Members:


  Content As Pane

  ContextMenu As ContextMenu

  Id As String

  Image As Image

  Initialize

  IsInitialized As Boolean

  Tag As Object

  Text As String

Members description:

Content As Pane
Gets or sets the tab content pane.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Id As String
Gets or sets the tab id. Returns an empty string if the id was not set.
Image As Image
Gets or sets the image that is displayed in the tab.
Initialize
IsInitialized As Boolean
Tag As Object
Gets or sets the tab's tag. This is a placeholder for any object you need to tie to the node.
Text As String
Gets or sets the tab text.

ToggleButton


Events:

SelectedChange(Selected As Boolean)

Members:


  Alignment As String

  Alpha As Double

  build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node

  ContextMenu As ContextMenu

  Enabled As Boolean

  Font As Font

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  Selected As Boolean

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  Text As String

  TextColor As javafx.scene.paint.Paint

  TextSize As Double

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

  WrapText As Boolean

Members description:

Alignment As String
Gets or sets the content alignment.
The possible values are: TOP_LEFT, TOP_CENTER, TOP_RIGHT,
CENTER_LEFT, CENTER, CENTER_RIGHT,
BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT,
BASELINE_LEFT, BASELINE_CENTER and BASELINE_RIGHT.
Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Font As Font
Gets or sets the control font.
Example:
Button1.Font = fx.DefaultFont(14)
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
Selected As Boolean
Gets or sets whether the button is selected (pressed).
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
Text As String
Gets or sets the control text.
TextColor As javafx.scene.paint.Paint
Gets or sets the text color.
TextSize As Double
Gets or sets the text size.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.
WrapText As Boolean
Gets or sets whether the text will be wrapped if it exceeds the node's width.

TreeItem


Events:

ExpandedChanged(Expanded As Boolean)

Members:


  Children As List [read only]

  Expanded As Boolean

  Image As Image

  Initialize (EventName As String, Text As String)

  IsInitialized As Boolean

  Parent As TreeItem [read only]

  Root As Boolean [read only]

  Text As String

Members description:

Children As List [read only]
Returns a list with the TreeItem children.
Expanded As Boolean
Gets or sets whether the tree item is expanded.
Image As Image
Gets or sets the image that is displayed before the text.
Initialize (EventName As String, Text As String)
Initializes the TreeItem.
IsInitialized As Boolean
Parent As TreeItem [read only]
Returns the TreeItem parent. Will return an uninitialized TreeItem if this is a root item.
Root As Boolean [read only]
Tests whether this TreeItem is a root item.
Text As String
Gets or sets the TreeItem text.

TreeTableItem


Events:

ExpandedChanged(Expanded As Boolean)

Members:


  Children As List [read only]

  Expanded As Boolean

  GetValue (Column As Int) As Object

  Image As Image

  Initialize (EventName As String, Values() As Object)

  IsInitialized As Boolean

  Parent As TreeTableItem [read only]

  Root As Boolean [read only]

  SetValue (Column As Int, Value As Object)

Members description:

Children As List [read only]
Returns a list with the TreeTableItem children.
Expanded As Boolean
Gets or sets whether the tree item is expanded.
GetValue (Column As Int) As Object
Gets the value of the given column (first column index is 0).
Image As Image
Gets or sets the image that is displayed before the text in the first column.
Initialize (EventName As String, Values() As Object)
Initializes the TreeTableItem.
EventName - Sets the subs that will handle the events.
Values - Array of objects with the column values. The values can be strings, numbers or Nodes.
IsInitialized As Boolean
Parent As TreeTableItem [read only]
Returns the TreeTableItem parent. Will return an uninitialized TreeTableItem if this is a root item.
Root As Boolean [read only]
Tests whether this TreeItem is a root item.
SetValue (Column As Int, Value As Object)
Sets the value of the given column (first column index is 0).

TreeTableView

A combination of TreeView and TableView. Similar to TreeView where each item shows additional columns.
Each value can be a string, number or a Node.

Events:

SelectedItemChanged (SelectedItem As TreeTableItem)
Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node

  ClearSelection

  ColumnsCount As Int [read only]

  ContextMenu As ContextMenu

  Enabled As Boolean

  GetColumnHeader (Index As Int) As String

  GetColumnVisible (Index As Int) As Boolean

  GetColumnWidth (Index As Int) As Double

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  Root As TreeTableItem [read only]

  RowHeight As Double

  SelectedItem As TreeTableItem

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetColumnHeader (Index As Int, Header As String)

  SetColumns (Columns As List)

  SetColumnSortable (Index As Int, Sortable As Boolean)

  SetColumnVisible (Index As Int, Visible As Boolean)

  SetColumnWidth (Index As Int, Width As Double)

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node
ClearSelection
Clears selection.
ColumnsCount As Int [read only]
Returns the number of columns.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
GetColumnHeader (Index As Int) As String
Gets the column header.
Index - Column index (first column index is 0).
GetColumnVisible (Index As Int) As Boolean
Gets whether the column is visible.
GetColumnWidth (Index As Int) As Double
Gets the column width.
Index - Column index (first column index is 0).
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
Root As TreeTableItem [read only]
Gets root item. This item is not visible.
RowHeight As Double
Gets or sets the fixed row height. -1 = automatic height.
SelectedItem As TreeTableItem
Gets or sets the selected item.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetColumnHeader (Index As Int, Header As String)
Sets the column header.
Index - Column index (first column index is 0).
SetColumns (Columns As List)
Sets the table columns.
Columns - A List (or array) with the columns titles.
SetColumnSortable (Index As Int, Sortable As Boolean)
Sets whether the column is sortable. Sortable means that the user can click on the header to sort it.
Columns are not sortable by default.
SetColumnVisible (Index As Int, Visible As Boolean)
Sets whether the column is visible.
SetColumnWidth (Index As Int, Width As Double)
Sets the column width.
Index - Column index (first column index is 0).
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

TreeView


Events:

SelectedItemChanged (SelectedItem As TreeItem)
Resize (Width As Double, Height As Double)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node

  ClearSelection

  ContextMenu As ContextMenu

  Enabled As Boolean

  Height As Double [read only]

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  Root As TreeItem [read only]

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetCheckBoxesMode

  SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  TooltipText As String

  Top As Double

  Visible As Boolean

  Width As Double [read only]

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node
ClearSelection
Clears selection.
ContextMenu As ContextMenu
Gets or sets the context menu that will appear when the user right clicks on the control.
Enabled As Boolean
Gets or sets whether the node is enabled.
Height As Double [read only]
Gets the node height. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefHeight instead.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
Root As TreeItem [read only]
Gets root item. This item is not visible.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetCheckBoxesMode
Shows a checkbox before each item in the TreeView.
Items should be CheckboxTreeItems.
SetLayoutAnimated (Duration As Int, Left As Double, Top As Double, PrefWidth As Double, PrefHeight As Double)
Changes the node Top, Left, PrefWidth and PrefHeight properties with an animation effect.
Duration - Animation duration in milliseconds.
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
TooltipText As String
Gets or sets the tooltip text that will appear when the mouse hovers over the control.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Width As Double [read only]
Gets the node width. This value will only be available after the node's parent has finished measuring and drawing the node.
Consider using PrefWidth instead.

WebView

WebView is an embedded browser.
LocationChanged event is raised whenever the current location changes.
PageFinished event is raised after the page is completely loaded.

Events:

LocationChanged (Location As String)
PageFinished (Url As String)
MouseClicked (EventData As MouseEvent)
MouseMoved (EventData As MouseEvent)
MouseDragged (EventData As MouseEvent)
MousePressed (EventData As MouseEvent)
MouseReleased (EventData As MouseEvent)
MouseEntered (EventData As MouseEvent)
MouseExited (EventData As MouseEvent)
FocusChanged (HasFocus As Boolean)
AnimationCompleted

Members:


  Alpha As Double

  build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node

  Enabled As Boolean

  Id As String

  Initialize (EventName As String)

  IsInitialized As Boolean

  Left As Double

  LoadHtml (HtmlString As String)

  LoadUrl (Url As String)

  MouseCursor As javafx.scene.Cursor

  Parent As Node [read only]

  PickOnBounds As Boolean

  PrefHeight As Double

  PrefWidth As Double

  RemoveNodeFromParent

  RequestFocus

  SetAlphaAnimated (Duration As Int, Alpha As Double)

  SetSize (Width As Double, Height As Double)

  Snapshot As Image

  Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image

  Style As String

  StyleClasses As List [read only]

  Tag As Object

  Top As Double

  Visible As Boolean

  Zoom As Double

Members description:

Alpha As Double
Gets or sets the node alpha level: 0 - transparent, 1 (default) fully opaque.
build (prev As Object, props As java.util.HashMap, designer As Boolean, tag As Object) As javafx.scene.Node
Enabled As Boolean
Gets or sets whether the node is enabled.
Id As String
Gets or sets the node id. Returns an empty string if the id was not set.
Initialize (EventName As String)
Initializes the object and sets the subs that will handle the events.
Nodes added with the designer should NOT be initialized. These views are initialized when the layout is loaded.
IsInitialized As Boolean
Left As Double
Gets or sets the Left property of the node (related to its parent).
LoadHtml (HtmlString As String)
Asynchronously loads the given html string.
LoadUrl (Url As String)
Asynchronously loads the given url.
MouseCursor As javafx.scene.Cursor
Gets or sets the mouse cursor that will be used when the mouse is in the node's bounds.
Example:
MainForm.RootPane.MouseCursor = fx.Cursors.HAND
Parent As Node [read only]
Returns the node's parent. The object returned will be uninitialized if there is no parent.
PickOnBounds As Boolean
Gets or sets whether mouse events are intercepted in transparent parts of the node.
Default value is False.
PrefHeight As Double
Gets or sets the control preferred height.
PrefWidth As Double
Gets or sets the control preferred width.
RemoveNodeFromParent
Removes the node from its parent.
RequestFocus
Requests the focus to be set on this node.
SetAlphaAnimated (Duration As Int, Alpha As Double)
Animates the nodes alpha level.
Duration - Animation duration in milliseconds.
Alpha - Value between 0 to 1 (transparent to opaque).
SetSize (Width As Double, Height As Double)
Sets the width and height of the node.
Snapshot As Image
Captures the node appearance and returns the rendered image.
Snapshot2 (BackgroundColor As javafx.scene.paint.Paint) As Image
Similar to Snapshot. Allows you to set the background color.
Style As String
Gets or sets the node inline style.
StyleClasses As List [read only]
Returns a List with the node's style classes.
Tag As Object
Gets or sets the node's tag. This is a placeholder for any object you need to tie to the node.
Top As Double
Gets or sets the Top property of the node (related to its parent).
Visible As Boolean
Gets or sets whether the node is visible.
Zoom As Double
Gets or sets the zoom factor. Default is 1.
Top