JavaFX has four primitive data types:
- String
- Boolean
- Number
- Integer
The JavaFX types correspond to the following Java types:
JavaFX | Java |
---|---|
String | java.lang.String |
Boolean | java.lang.Boolean |
Number | java.lang.Number |
Integer | byte, short, int, long, BigInteger |
For more information see https://openjfx.dev.java.net/JavaFX_Programming_Language.html#basic_types