FXML
{{short description|XML-based user interface markup language intended for use with JavaFX}}
{{Infobox file format
| name = FXML
| icon =
| logo =
| screenshot =
| caption =
| extension =
| mime =
| type code =
| uniform type =
| magic =
| owner = Oracle Corporation
| released = {{Start date|2011|10|df=yes}}
| latest release version =
| latest release date =
| genre = User interface markup language
| container for =
| contained by =
| extended from = XML
| extended to =
| standard =
| free =
| url =
}}
FXML is an XML-based user interface markup language created by Oracle Corporation for defining the user interface of a JavaFX application.{{cite web
| url=http://www.zdnet.co.uk/news/application-development/2011/10/06/javafx-20-arrives-and-heads-for-open-source-40094121/
| title = JavaFX 2.0 arrives and heads for open source
| last=Meyer|first=David
| date = 2011-10-06
| publisher=ZDNet
| quote=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.
| access-date=2011-10-09}}{{cite web
| url=http://fxexperience.com/wp-content/uploads/2011/08/Introducing-FXML.pdf
| title = Introducing FXML
| author=Greg Brown
| date = 2011-08-15
| access-date=2011-10-09}}{{Cite book |last=Sharan |first=Kishori |url=https://www.google.com/books/edition/Learn_JavaFX_8/Wb8ICAAAQBAJ?hl=en&gbpv=1&dq=FXML&pg=PA1120&printsec=frontcover |title=Learn JavaFX 8: Building User Experience and Interfaces with Java 8 |date=2015-04-02 |publisher=Apress |isbn=978-1-4842-1142-7 |pages=1120 |language=en}}{{Cite book |last=Chin |first=Stephen |url=https://www.google.com/books/edition/The_Definitive_Guide_to_Modern_Java_Clie/Ge69DwAAQBAJ?hl=en&gbpv=1&dq=FXML&pg=PA382&printsec=frontcover |title=The Definitive Guide to Modern Java Clients with JavaFX: Cross-Platform Mobile and Cloud Development |last2=Vos |first2=Johan |last3=Weaver |first3=James |date=2019-11-12 |publisher=Apress |isbn=978-1-4842-4926-0 |pages=382 |language=en}}
FXML presents an alternative to designing user interfaces using procedural code, and allows for abstracting program design from program logic.{{cite web |title=Introduction to FXML |url=https://docs.oracle.com/javase/8/javafx/api/javafx/fxml/doc-files/introduction_to_fxml.html |website=docs.oracle.com |access-date=13 July 2020 |language=en |date=9 October 2013 |quote=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. }}
It stands for "JavaFX Markup Language."
See also
- Comparison of user interface markup languages
- {{slink|List of user interface markup languages|Java}}
References
{{Reflist}}
External links
- [http://download.oracle.com/javafx/2.0/fxml_get_started/jfxpub-fxml_get_started.htm FXML tutorial]
- [http://docs.oracle.com/javafx/2.0/api/javafx/fxml/doc-files/introduction_to_fxml.html Introduction to FXML]
{{Widget toolkits}}
Category:Java (programming language)
Category:Declarative markup languages
Category:Declarative programming languages
Category:User interface markup languages
Category:Vector graphics markup languages
{{Markup-languages-stub}}