Book description
The open source JavaFX platform offers a Java-based approach to rich Internet application (RIA) development—an alternative to Adobe Flash/Flex and Microsoft Silverlight. At over 100 million downloads, the new JavaFX 2.x is poised to be a significant player now.
Written by a JavaFX engineer and developer, this book is one of the first on the new JavaFX 2.x platform to give you the following:
The fundamentals of JavaFX scripting on desktop and mobile platforms
Examples of RIAs using JavaFX Graphics
Media and animation using JavaFX
See how JavaFX gives you dynamic Java effects in your RIA application development.
Table of contents
- Copyright
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Introduction
- 1. Introduction to RIA
-
2. Introduction to JavaFX
- 2.1. Why JavaFX
- 2.2. Advantages of JavaFX
- 2.3. History of JavaFX
- 2.4. The JavaFX Platform
- 2.5. JavaFX Platform Integration: The Bigger Picture
- 2.6. JavaFX Mobile: An Introduction
- 2.7. Deployment and Distribution
- 2.8. Getting Started
-
2.9. Writing Your First JavaFX Application
- 2.9.1. Running Your Application Using NetBeans
-
2.9.2. Running the Application from the Command Line
- 2.9.2.1. Compiling the Application for Standalone Execution
- 2.9.2.2. Compiling the Application for Browser/Java Web Start Execution with JavaFX Packager
- 2.9.2.3. Building and Running the Application Using JavaFX Packager for the DESKTOP Profile
- 2.9.2.4. Building and Running the Application Using JavaFXPackager for the MOBILE Profile
- 2.10. Comments
- 2.11. Summary
- 3. Data Types
-
4. Operators and Expressions
- 4.1. The Assignment Operator
- 4.2. The as Operator
-
4.3. Arithmetic Operators
- 4.3.1. The Modulus or Remainder Operator
- 4.3.2. The Arithmetic Assignment Operator
- 4.3.3. Operator Precedence
- 4.3.4. Unary Operators
- 4.3.5. The Increment and Decrement Operators: ++ and --
- 4.3.6. The Unary + and − Operators
- 4.3.7. The not Operator
- 4.3.8. Relational Operators
- 4.3.9. Logical Operators
- 4.3.10. Range Expressions
- 4.3.11. Block Expressions
- 4.4. Looping Expressions
- 4.5. Break Expressions
- 4.6. Summary
- 5. Functions
-
6. Class Definitions
- 6.1. Classes and Objects
- 6.2. Features of OOP
- 6.3. The Class Definition
- 6.4. Modifying Class Objects
- 6.5. Objects as Function Arguments
- 6.6. Static Members
- 6.7. Sharing a Function Name Between Script-Level and Member Functions
- 6.8. Calling a Java Method That Is a JavaFX Reserved Word
- 6.9. The abstract Class
- 6.10. Summary
- 7. Access Specifiers
- 8. Inheritance
-
9. Data Binding
- 9.1. What Does Binding Mean?
- 9.2. Recalculation of Expressions
- 9.3. Binding with Conditional Expressions
- 9.4. Binding with for Expressions
- 9.5. Binding Block Expressions
- 9.6. Binding Functions
- 9.7. Bound Functions
- 9.8. Binding with Object Literals
- 9.9. Bidirectional Binding
- 9.10. Lazy vs. Eager Binding
- 9.11. Summary
-
10. Sequences
- 10.1. The sizeof Operator
- 10.2. Accessing the Elements of a Sequence
- 10.3. Nested Sequences
- 10.4. Creating a Sequence Using a Range Expression
- 10.5. Excluding the End Value in the Sequence
- 10.6. Sequence Slicing
- 10.7. Using a Predicate to Create a Subset of a Sequence
- 10.8. Working with Sequences
- 10.9. Sequences as Function Parameters
- 10.10. Binding with Sequences
- 10.11. javafx.util.Sequences Utility Functions
- 10.12. Summary
- 11. Triggers
-
12. Introduction to JavaFX UI Elements
- 12.1. Rendering Model: Immediate Mode vs. Retained Mode Rendering
- 12.2. Coordinate System
- 12.3. Graphical API Summary
- 12.4. Node – The Base UI Element
- 12.5. Geometries
- 12.6. Writing your First UI
- 12.7. Paints
- 12.8. Input Handling
- 12.9. Text Rendering
- 12.10. Image Rendering
- 12.11. Transformations
- 12.12. Controls & Layouts
- 12.13. StyleSheets
- 12.14. Charts
- 12.15. Effects
- 12.16. Bounds
- 12.17. Summary
- 13. Introduction to Animation
Product information
- Title: Beginning JavaFX™
- Author(s):
- Release date: October 2010
- Publisher(s): Apress
- ISBN: 9781430271994
You might also like
book
Moodle® For Dummies®
The fun and friendly guide to the world's most popular online learning management system Modular Object …
book
Prezi™ For Dummies®
A one-stop resource for an exciting new Web-based, slide-free presentation tool! People who have been seeking …
book
Creating Effective JavaHelp
Effective, instantly available online help is a requirement for today's interactive applications. Until now, Java application …
book
Essential JavaFX™
A complete introduction for beginners to Sun's powerful JavaFX scripting language JavaFX is a scripting language …