FXML

FXML
Developed byOracle Corporation
Initial releaseOctober 2011 (2011-10)
Type of formatUser interface markup language
Extended fromXML

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

References

  1. ^ Meyer, David (2011-10-06). "JavaFX 2.0 arrives and heads for open source". ZDNet. Retrieved 2011-10-09. 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" (PDF). Retrieved 2011-10-09.
  3. ^ Sharan, Kishori (2015-04-02). Learn JavaFX 8: Building User Experience and Interfaces with Java 8. Apress. p. 1120. ISBN 978-1-4842-1142-7.
  4. ^ Chin, Stephen; Vos, Johan; Weaver, James (2019-11-12). The Definitive Guide to Modern Java Clients with JavaFX: Cross-Platform Mobile and Cloud Development. Apress. p. 382. ISBN 978-1-4842-4926-0.
  5. ^ "Introduction to FXML". docs.oracle.com. 9 October 2013. Retrieved 13 July 2020. 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.


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.