O'Reilly logo

Essential JavaFX™ by Paul Anderson, Gail Anderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3. JavaFX Language

Now that you’ve seen JavaFX code in the overview application example, let’s discuss the JavaFX scripting language in more detail. This chapter covers the essential aspects of the JavaFX language.

What You Will Learn

•   Declaring variables and defining their types

•   Using operators and expressions

•   Using sequences

•   Writing functions with arguments and return values

•   Using function types

•   Defining classes, instance variables, and instance functions

•   Creating objects from classes with object literals

•   Using inheritance and overriding functions

•   Writing init and postinit blocks

•   Using abstract classes and mixin inheritance

•   Using binding and triggers

•   Packaging classes and writing script files ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required