Pro JavaFX 2 [electronic resource] : A Definitive Guide to Rich Clients with Java Technology /
Weaver, James.author.
Gao, Weiqi.author.
Chin, Stephen.author.
Iverson, Dean.author.
Vos, Johan.author.
In Pro JavaFX 2: A Definitive Guide to Rich Clients with Java Technology, Jim Weaver, Weiqi Gao, Stephen Chin, Dean Iverson, and Johan Vos show you how you can use the JavaFX platform to create rich-client Java applications. You'll see how JavaFX provides a powerful Java-based UI platform capable of handling large-scale data-driven business applications. Covering the JavaFX API, development tools, and best practices, this book provides code examples that explore the exciting new features provided with JavaFX 2. It contains engaging tutorials that cover virtually every facet of JavaFX development and reference materials on JavaFX that augment the JavaFX API documentation. Written in an engaging and friendly style, Pro JavaFX 2 is an essential guide to JavaFX 2.
User level: Intermediate.
Description based upon print version of record.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; Foreword; About the Authors; About the Technical Reviewer; Acknowledgments; Chapter 1: Getting a Jump Start in JavaFX; JavaFX Can't Bring Rich-Client Java Back by Itself; A Brief History of JavaFX; Going to the Source: Oracle's JavaFX Web Site; Accessing the JavaFX SDK API; Obtaining the JavaFX SDK; Other Available Tools; Developing Your First JavaFX Program: "Hello Earthrise"; Compiling and Running from the Command-Line; Understanding the Hello Earthrise Program; Building and Running the Program with NetBeans
Developing Your Second JavaFX Program: "More Cowbell!"Building and Running the Audio Configuration Program; The Behavior of the Audio Configuration Program; Understanding the Audio Configuration Program; Creating an Instance of the Model, and the Magic of Binding; Colors and Gradients; The Model Class for the Audio Configuration Example; Defining Change Listeners in the Model class; Surveying JavaFX Features; Summary; Resources; Chapter 2: Creating a User Interface in JavaFX; Introduction to Node-Centric UIs; Setting the Stage; Understanding the Stage Class
Using the Stage Class: The StageCoach ExampleUnderstanding the StageCoach Program; Obtaining Program Arguments; Setting the Style of the Stage; Controlling Whether a Stage Is Resizable; Making a Stage Full Screen; Working with the Bounds of the Stage; Drawing Rounded Rectangles; Dragging the Stage on the Desktop When a Title Bar Isn't Available; Using UI Layout Containers; Ascertaining Whether the Stage Is in Focus; Controlling the Z-Order of the Stage; Closing the Stage and Detecting When It Is closed; Making a Scene; Using the Scene Class: The OnTheScene Example
Understanding the OnTheScene ProgramPainting the Scene's Background; Populating the Scene with Nodes; Finding a Scene Node by ID; Accessing the Stage from the Scene; Inserting a Node into the Scene's Content Sequence; CSS Styling the Nodes in a Scene; Handling Input Events; Surveying Mouse and Keyboard Events and Handlers; Understanding the KeyEvent Class; Understanding the MouseEvent Class; Animating Nodes in the Scene; Using a Timeline for Animation; The Metronome1 Example; Understanding the Metronome1 program; Understanding the Timeline Class; Inserting Key Frames into the Timeline
Controlling and Monitoring the TimelineUsing the Transition Classes for Animation; The MetronomeTransition Example; The Behavior of the MetronomeTransition Program; Understanding the MetronomeTransition Program; Using the TranslateTransition Class; Controlling and Monitoring the Transition; The MetronomePathTransition Example; The Behavior of the MetronomePathTransition Program; Understanding the MetronomePathTransition Program; Using the PathTransition Class; Drawing an Ellipse; The Zen of Node Collision Detection; Understanding the ZenPong Program; Using the KeyFrame Action Event Handler
Using the Node intersects() Method to Detect Collisions
Includes bibliographical references and index.
In Pro JavaFX 2: A Definitive Guide to Rich Clients with Java Technology, Jim Weaver, Weiqi Gao, Stephen Chin, Dean Iverson, and Johan Vos show you how you can use the JavaFX platform to create rich-client Java applications. You'll see how JavaFX provides a powerful Java-based UI platform capable of handling large-scale data-driven business applications. Covering the JavaFX API, development tools, and best practices, this book provides code examples that explore the exciting new features provided with JavaFX 2. It contains engaging tutorials that cover virtually every facet of JavaFX development and reference materials on JavaFX that augment the JavaFX API documentation. Written in an engaging and friendly style, Pro JavaFX 2 is an essential guide to JavaFX 2.
User level: Intermediate.
JavaFX (Electronic resource)
Java (Computer program language).
Software engineering.
Java.
Software Engineering/Programming and Operating Systems.