Table of Contents
- Table of Contents
- Chapter 1: Welcome to the future: introducing JavaFX
- Chapter 2: JavaFX Script: data and variables
- 2.1 Annotating code with comments
- 2.2 Data types
- 2.2.1 Static, not dynamic types
- 2.2.2 Value type declaration (var, Boolean, Integer, Number, String)
- 2.2.3 Initialize-only and reassignable variables (var, def)
- 2.2.4 Arithmetic on value types (+, -, etc.)
- 2.2.5 Logic operators (and, or, <, >, =, >=, <=, !=)
- 2.2.6 Translating and checking types (as, instanceof)
- 2.3 Working with text, via strings
- 2.3.1 String literals and embedded expressions
- 2.3.2 String formatting
- 2.3.3 String localization
- 2.4 Durations, using time literals
- 2.5 Sequences: not quite arrays
- 2.5.1 Basic sequence declaration and access (sizeof)
- 2.5.2 Sequence creation using ranges ([..], step)
- 2.5.3 Sequence creation using slices ( [..<] )
- 2.5.4 Sequence creation using a predicate
- 2.5.5 Sequence manipulation (insert, delete, reverse)
- 2.5.6 Sequences, behind the scenes
- 2.6 Auto-updating related data, with binds
- 2.6.1 Binding to variables (bind)
- 2.6.2 Binding to bound variables
- 2.6.3 Binding to a sequence element
- 2.6.4 Binding to an entire sequence (for)
- 2.6.5 Binding to code
- 2.6.6 Bidirectional binds (with inverse)
- 2.6.6 The mechanics behind bindings
- 2.6.7 Bound functions (bound)
- 2.6.8 Bound object literals
- 2.7 Avoiding naming conflicts, with quoted identifiers
- 2.8 Summary
- Chapter 3: JavaFX Script: code and structure
- 0B3.1 Imposing order and control, with packages (package, import)
- 1B3.2 Developing classes
- 8B3.2.1 Scripts
- 9B3.2.2 Class definition (class, def, var, function, this)
- 10B3.2.3 Object declaration (init, postinit, isInitialized(), new)
- 11B3.2.4 Object declaration and sequences
- 12B3.2.5 Class inheritance (abstract, extends, override)
- 13B3.2.6 Multiple inheritance: compound and plain classes
- 14B3.2.7 Function types
- 15B3.2.8 Anonymous functions
- 16B3.2.9 Access modifiers (package, protected, public, public-read, public-init)
- 2B3.3 Flow control, using conditions
- 17B3.3.1 Basic conditions (if, else)
- 18B3.3.2. Conditions as expressions
- 19B3.3.3 Ternary expressions, and beyond
- 3B3.4 Sequence based loops
- 20B3.4.1 Basic sequence loops (for)
- 21B3.4.2 For loops as expressions (indexof)
- 22B3.4.3 Rolling nested loops into one expression
- 23B3.4.4 Controlling flow within for loops (break, continue)
- 24B3.4.5 Filtering for expressions (where)
- 4B3.5 Repeating code, with while loops (while, break, continue)
- 5B3.6 Act on variable and sequence changes, using triggers
- 25B3.6.1 Single value triggers (on replace)
- 26B3.6.2 Sequence triggers (on replace [..])
- 6B3.7 Trap problems using exceptions (try, catch, any, finally)
- 7B3.8 Summary
- Chapter 4: Swing by numbers
- Chapter 5: Behind the scene graph
- Chapter 6: Moving pictures
- Chapter 7: Web services with style
- Chapter 8: Web coding
- Chapter 9: Getting mobile
- <436861707465722031303A2042657374206F6620626F746820776F726C64733A207573696E67204A61766146582066726F6D204A6176610D496E>
- Appendix A: Getting started
- Appendix B: JavaFX Script: A very quick reference
- B1 Comments
- B2 Variables and data types – the basics
- B2.1 Variable declaration (def, var, Boolean, Integer, Number, String)
- B2.2 Arithmetic (+, -, etc.)
- B2.3 Logic operators (and, or, <, >, =, >=, <=, !=)
- B2.4 Casting (as)
- B3 Strings
- B3.1 String literals and embedded expressions
- B3.2 String formating
- B3.3 String localization
- B4 Durations
- B5 Sequences: JavaFX arrays
- B5.1 Basic sequence declaration and access (sizeof)
- B5.2 Sequence creation using ranges ( [..], step)
- B5.3 Sequence creation using slices ( [..<] )
- B5.4 Sequence creation using a predicate
- B5.5 Sequence manipulation (insert, delete, reverse)
- B6 Binds
- B6.1 Binding to variables (bind)
- B6.2 Binding to a sequence
- B6.3 Binding to code
- B6.4 Bidirectional binds (with inverse)
- B6.5 Bound functions (bound)
- B7 Quoted identifiers
- B8 Packages (package, import)
- B9 Developing classes
- B9.1 Scripts
- B9.2 Class definition (class, def ,var, function, this)
- B9.3 Object declaration (init, postinit, isInitialized(), new)
- B9.4 Class inheritance (abstract, extends, override)
- B9.5 Multiple inheritance and the diamond problem
- B9.6 Function types
- B9.7 Anonymous functions
- B9.8 Access modifiers (package, protected, public, public-read, public-init)
- B10 Conditions
- B10.1 Basic conditions (if, else)
- B10.2 Ternary expressions, and beyond
- B11 Loops
- B11.1 Basic sequence loops (for)
- B11.2 Rolling nested loops into one expression
- B11.3 Controlling flow within for loops (break, continue)
- B11.4 Filtering for expressions (where)
- B11.5 While loops (while, break, continue)
- B12 Triggers
- B12.1 Single value triggers (on replace)
- B12.2 Sequence triggers (on replace [..])
- B13 Exceptions (try, catch, any, finally)
- B14 Keywords
- B15 Operator Precedence
- B16 Pseudo variables
- Appendix C: Not familiar with Java?
- Appendix D: JavaFX and the Java platform