JavaFX Essentials
eBook - ePub

JavaFX Essentials

Mohamed Taman

Partager le livre
  1. 224 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

JavaFX Essentials

Mohamed Taman

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

About This Book

  • Develop amazing gestures –based applications and an interactive JavaFX application powered by leap motion devices
  • Get in touch with the right tools to rapidly develop your JavaFX application and give you essential hands-on experience with JavaFX 8
  • A step-by-step guide with examples to help you develop applications

Who This Book Is For

If you are a Java developer, an experienced Java Swing, Flash/Flex, SWT, or web developer looking to take your client-side applications to the next level, this book is for you.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que JavaFX Essentials est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  JavaFX Essentials par Mohamed Taman en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatik et Programmierung in Java. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2015
ISBN
9781784393533
Édition
1

JavaFX Essentials


Table of Contents

JavaFX Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Started with JavaFX 8
JavaFX goals
Getting started
JavaFX history
When is JavaFX 8 available?
JavaFX features
What's new in JavaFX 8
Installing the required software
Installing Java SE 8 JDK
Setting environment variables
Installing the NetBeans IDE
Creating "Hello World" JavaFX-style applications
Using the Netbeans IDE
How it works
Summary
2. JavaFX 8 Essentials and Creating a Custom UI
Quick review of the JavaFX 8 architecture
Scene graphs
Java public APIs for JavaFX features
Graphics System
Glass Windowing Toolkit
JavaFX threads
Media and images
Web component
Layout components
JavaFX controls
Java SE 8 features
Lambda expressions
Syntax
Functional interfaces
Theming
CSS
Applying CSS theme
Scene Builder
Downloading and launching
FXML
Loading FXML into JavaFX applications
Developing a custom UI
The Login dialog custom UI
Structure of the Login dialog custom UI
Coding the Login dialog custom UI
Summary
3. Developing a JavaFX Desktop and Web Application
Developing a note-taking application
Building the UI prototype
Bringing your application to life – adding interactions
Power application change synchronization with properties
Filtering the TableView data list
Note-taking as a desktop application
Deploying the application for desktop distribution
JavaFX on the Web
WebEngine
WebView
WebView and engine in action
Note-taking as a web application
Running the application for the Web
Java Web Start
Deploying the application for a web distribution
Summary
4. Developing a JavaFX Application for Android
Why port JavaFX into the mobile environment?
How it works
Who is maintaining it?
Getting started
Preparing and installing the prerequisite software
Java SE 8 JDK8 u45
Gradle
Android SDK
Preparing the project for Android
Project structure
Using Gradle
The application
Developing and styling an application UI with CSS
Adding some logic
Making your project ready for mobile devices
Interoperability with low-level Android APIs
Building the application
Building the final .apk Android package
Deploying the application
Deploying on Android-based devices
Deploying on the Google Play Store
Signing the APK
Testing tips
Summary
5. Developing a JavaFX Application for iOS
Using RoboVM to run JavaFX on iOS
Features
Limitations
How it works
Getting started
Prerequisites
Preparing a project for iOS
Project structure
The application
Interoperability with low-level iOS APIs
Gradle build files
Building the application
Generating the iOS .ipa package file
Deploying the application
Deploying to a simulator
Deploying to an Apple device
Summary
6. Running JavaFX Applications on the Raspberry Pi
What is the Raspberry Pi?
What can you do with it?
Why is the Raspberry Pi a perfect fit for JavaFX?
Which module should you buy?
Buying the Raspberry Pi
Related websites and documentation
Preparing the Raspberry Pi for JavaFX 8
Creating a bootable SD card
Using NOOBS
Configuring the Raspberry Pi
Connecting to the Raspberry Pi remotely
Installing VNC on the Raspberry Pi
Setting up VNC to start at boot
Setting up a static IP address
Auto login in the Raspberry Pi
Connecting to VNC with a client
JavaFX 8 development prerequisites
Installing Java SE 8 on the Raspberry Pi
Installing Java SE 8
Adding JavaFX
Configuring NetBeans for the Raspberry Pi
The switch application
What is the Pi4J library?
Circuit setup
The application
Using NetBeans with the Pi
Summary
7. Monitoring and Controlling Arduino with JavaFX
What is an Arduino board?
What can you do with it?
Related websites and documentation
Setting up your Arduino
Buying an Arduino
Other components you will need
The Arduino IDE
Downloading the IDE
Installing the drivers
Windows Setup
Mac OS X and Linux setup
Exploring the IDE and sketches
The blood meter project
Tinkering with the circuit
The sketch
How it works
Testing, verifying, and uploading the sketch into the Arduino
Reading data from serial ports
The JavaFX blood meter monitoring application
Serial communication in Java
Application logic and charting API
Running the application
Summary
8. Interactive Leap Motion Apps with JavaFX
The Leap Motion controller
How it works
The coordinate system
Getting the device
Package contents
Getting started with the Leap SDK
Installing the controller driver and software
Verifying whether it works
Supported languages
The Leap JavaFX application
The JavaFX 3D API at a glance
More learning resources
The basic application structure
The JavaFX 8 3D application
How it works
Running the application
More examples
Summary
A. Become a JavaFX Guru
Resources and references
Official documentation
JavaFX samples
Java SE 8
The Java SE 8 API documentation and tutorials
Project Lambda
Nashorn
JavaFX properties and bindings
JavaFX communities
Java SE / JavaFX books and magazines
Index

JavaFX Essentials

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission o...

Table des matiĂšres