FXML

FXMLDeveloped by| Oracle Corporation

|

Initial release| October 2011 (2011-10)
Type of format| User interface markup language
Extended from| XML

FXML is an XML-based user interface markup language created by Oracle Corporation for defining the user interface of a JavaFX application.[1][2][3][4] FXML presents an alternative to designing user interfaces using procedural code, and allows for abstracting program design from program logic.[5]

<?import javafx.scene.control.Label?>
<Label text="Hello, World!"/>

## See also

* Comparison of user interface markup languages
* List of user interface markup languages § Java

## References

1. ↑ Meyer, David (2011-10-06). "JavaFX 2.0 arrives and heads for open source". ZDNet. http://www.zdnet.co.uk/news/application-development/2011/10/06/javafx-20-arrives-and-heads-for-open-source-40094121/. "The update introduces a new XML-based markup language called FXML, which is aimed at defining user interfaces. Other scripting languages, such as Groovy, JRuby and Scala, can also be used to write apps in JavaFX 2.0, as can the Java development tools NetBeans and Eclipse."
2. ↑ Greg Brown (2011-08-15). "Introducing FXML". http://fxexperience.com/wp-content/uploads/2011/08/Introducing-FXML.pdf.
3. ↑ Sharan, Kishori (2015-04-02) (in en). Learn JavaFX 8: Building User Experience and Interfaces with Java 8. Apress. pp. 1120. ISBN 978-1-4842-1142-7. https://www.google.com/books/edition/Learn_JavaFX_8/Wb8ICAAAQBAJ?hl=en&gbpv=1&dq=FXML&pg=PA1120&printsec=frontcover.
4. ↑ Chin, Stephen; Vos, Johan; Weaver, James (2019-11-12) (in en). The Definitive Guide to Modern Java Clients with JavaFX: Cross-Platform Mobile and Cloud Development. Apress. pp. 382. ISBN 978-1-4842-4926-0. https://www.google.com/books/edition/The_Definitive_Guide_to_Modern_Java_Clie/Ge69DwAAQBAJ?hl=en&gbpv=1&dq=FXML&pg=PA382&printsec=frontcover.
5. ↑ "Introduction to FXML" (in en). 9 October 2013. https://docs.oracle.com/javase/8/javafx/api/javafx/fxml/doc-files/introduction_to_fxml.html. "FXML is a scriptable, XML-based markup language for constructing Java object graphs. It provides a convenient alternative to constructing such graphs in procedural code, and is ideally suited to defining the user interface of a JavaFX application, since the hierarchical structure of an XML document closely parallels the structure of the JavaFX scene graph."

## External links

* FXML tutorial
* Introduction to FXML

* v
* t
* e

List of widget toolkits

Low-level|

| On AmigaOS|

* Intuition

|

On Classic Mac OS,
macOS|

| Unknown, native|

* Macintosh Toolbox

|

* Carbon

On Windows|

* Windows API

On Unix,
under X11|

* Xlib
* XCB
* X Toolkit Intrinsics, Xt, X-Toolkit

On BeOS, Haiku|

* BeOS, ZETA, Haiku

On cross-platform|

| CLI|

* OpenTK

|

* GDK
* SDL

Java|

* JOGL

On Android|

| CLI|

* Xamarin.Android

|

High-level|

| On AmigaOS|

* BOOPSI
* MUI
* ReAction GUI
* Zune

|

On Classic Mac OS,
macOS|

| Object Pascal|

* MacApp (v1, v2)

|

Objective-C,
Swift|

| Desktop|

* Cocoa

|

Mobile|

* Cocoa Touch

C++|

* MacApp (v3)
* PowerPlant
* THINK Class Library

CLI|

| Desktop|

* Xamarin.Mac

|

Mobile|

* Xamarin.iOS

On Windows|

| CLI|

| Desktop|

* Windows Forms
* XAML (Silverlight, WinRT XAML, WPF)
* XNA Framework

|

Web|

* XAML (Silverlight)

Mobile|

* XNA Framework

C++|

* MFC
* ATL
* WTL
* OWL

Object Pascal|

* VCL

On Unix,
under X11|

* Athena (Xaw)
* LessTif
* Motif
* OLIT
* XForms

On Android|

| C++|

* Qt for Android

|

Cross-platform,
by language|

| C|

* GTK
* IUP
* Tk
* wxC
* XForms
* XVT

|

C++|

* CEGUI
* CLX
* FLTK
* FOX toolkit
* GLUI
* Gtkmm
* JUCE
* Nana
* Qt
* Rogue Wave Views
* TnFOX
* Ultimate++
* VCF
* Wt
* wxWidgets
* YAAF
* SFML

Objective-C|

* GNUstep

CLI|

| Desktop|

* Gtk#
* Tao (OpenTK, TaoClassic)
* wx.NET
* UIML.NET
* MonoGame

|

Web|

* Moonlight

Mobile|

* MonoGame
* Xamarin.Forms

* DFL
* DlangUI
* DWT
* GtkD
* QtD
* wxD

Flash|

* Apache Flex (MXML)

Haskell|

* Gtk2Hs
* wxHaskell

Java|

| Desktop|

* AWT
* FXML (JavaFX)
* Qt Jambi
* Swing
* SWT
* wx4j
* jUIML

|

Web|

* GWT
* FXML (JavaFX)

Mobile|

* LWUIT

JavaScript|

* Dojo Toolkit
* Echo
* Ext JS
* Google Closure
* jQuery UI
* Qooxdoo
* YUI

Common Lisp|

* CAPI
* CLIM
* Common Graphics
* Ltk
* McCLIM

Lua|

* IUP
* wxLua

Pascal|

| Desktop|

* LCL

|

Mobile|

* LCL

Object Pascal|

| Desktop|

* CLX
* fpGUI
* IP Pascal
* LCL

|

Mobile|

* LCL

Perl|

* Perl/Tk
* wxPerl

PHP|

* PHP-GTK
* PHP-Qt
* wxPHP

Python|

* PyGObject
* PyGTK
* Pyjs
* PyQt
* PySide
* Tkinter
* wxPython

Ruby|

* Shoes
* FXRuby
* Ruby-GNOME2
* qtbindings
* QtRuby
* wxRuby

Tcl|

* Tcl/Tk

XML|

* GladeXML
* Lively Kernel
* Pyjs
* Rialto Toolkit
* XAML
* XUL
* UXP
* Wt

shell|

* whiptail
* dialog

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/FXML. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=FXML&oldid=3982306"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template