FXML

From HandWiki - Reading time: 3 min

Short description: XML-based user interface markup language intended for use with JavaFX
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] FXML presents an alternative to designing user interfaces using procedural code, and allows for abstracting program design from program logic.[3]

<?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. 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. โ†‘ "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





Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/FXML
5 views | Status: cached on October 06 2024 16:02:35
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF