00 Days 00 hours 00 minutes 00 seconds

Your last chance! Enjoy 30% off with promo code 'Lituz'!

Frontend Development with Javafx and Kotlin: Build State-Of-The-Art Kotlin GUI Applications – Peter Späth

25990 UZS

-Do'stlaringizga tafsiya etish!

Description

«Frontend Development with JavaFX and Kotlin: Build State-Of-The-Art Kotlin GUI Applications» by Peter Späth offers a comprehensive guide to leveraging the powerful combination of JavaFX and Kotlin for crafting modern graphical user interfaces (GUIs).

This book delves into the intricacies of frontend development, focusing on the dynamic duo of JavaFX and Kotlin, two technologies renowned for their versatility and efficiency. Peter Späth navigates readers through a hands-on journey, equipping them with the skills needed to create cutting-edge GUI applications with ease.

Throughout the book, Späth combines theoretical insights with practical examples, ensuring a holistic understanding of both the underlying principles and real-world application scenarios. Readers learn how to harness the robust features of Kotlin, a concise and expressive programming language, to streamline frontend development workflows.

Key topics covered include UI design principles, event handling, data binding, animation, and responsive layouts. By following Späth’s expert guidance, developers can unlock the full potential of JavaFX and Kotlin to build sophisticated, visually stunning GUI applications that meet the demands of modern software development.

Whether you’re a seasoned developer looking to expand your skill set or a newcomer eager to dive into frontend development, «Frontend Development with JavaFX and Kotlin» serves as an invaluable resource for mastering the art of crafting state-of-the-art GUI applications. With its clear explanations, practical examples, and insightful tips, this book empowers developers to elevate their frontend development projects to new heights.

Additional information

Number of pages:

145

Mundarija

1 Getting Started ……………………………………………………… 1
Introduction …………………………………………………………. 1
Gradle for JavaFX and Kotlin ……………………………………………. 2
A HelloWorld Project ………………………………………………….. 4
Setting Up for Eclipse …………………………………………………. 5
Setting Up for IntelliJ ………………………………………………….. 10
Kotlin and Java Interoperability ………………………………………….. 13
A Note About Kotlin Utilities for JavaFX …………………………………… 14
A Note About FXML ………………………………………………….. 16
A Note About Downloading JavaFX Releases ……………………………….. 18
Build Setup for This Book ………………………………………………. 18
2 Properties ………………………………………………………….. 19
Why you Should use Properties…………………………………………… 19
One-Way and Two-Way Bindings …………………………………………. 22
Custom Bindings……………………………………………………… 26
About Observable Collections ……………………………………………. 26
Summary …………………………………………………………… 30
3 Stages and Scenes ……………………………………………………. 33
About Screens ……………………………………………………….. 33
Using Stages and the Application Class …………………………………….. 35
Dialog-Like Stages ……………………………………………………. 38
The JavaFX Application Thread ………………………………………….. 39
About Scenes………………………………………………………… 39
Position and Size …………………………………………………. 40
Camera ………………………………………………………… 41
Cursor …………………………………………………………. 41
Mnemonic and Accelerators…………………………………………. 42
Focus………………………………………………………….. 43
Node Lookup ……………………………………………………. 43
Snapshots ………………………………………………………. 44
Fill and Other Styles ………………………………………………. 45
Keyboard ………………………………………………………. 46
Mouse Events……………………………………………………. 48
Mouse Event Handling …………………………………………….. 50
Mouse Drag Event Handling ………………………………………… 52
Gestures ……………………………………………………….. 53
Summary …………………………………………………………… 57
4 Containers …………………………………………………………. 59
StackPane …………………………………………………………… 61
VBox and HBox ……………………………………………………… 63
FlowPane …………………………………………………………… 65
GridPane …………………………………………………………… 67
TilePane ……………………………………………………………. 69
BorderPane …………………………………………………………. 71
AnchorPane …………………………………………………………. 72
Styling Panes ………………………………………………………… 73
Adding Stylesheets to the Whole Scene ………………………………… 73
Adding Stylesheets to Individual Panes ………………………………… 73
JavaFX CSS Selectors for Panes ……………………………………… 74
JavaFX CSS Properties for Panes …………………………………….. 75
Summary …………………………………………………………… 78
5 Visual Nodes………………………………………………………… 79
Node Coordinate Systems ………………………………………………. 79
Shapes …………………………………………………………….. 81
Canvas …………………………………………………………….. 83
Image Nodes ………………………………………………………… 84
Controls ……………………………………………………………. 84
Text Fields and Text Areas ………………………………………….. 84
Action Buttons…………………………………………………… 86
Button Bars …………………………………………………….. 87
Menus …………………………………………………………. 88
Toolbars ……………………………………………………….. 89
Checkboxes …………………………………………………….. 89
Radio Buttons …………………………………………………… 90
Combo Boxes……………………………………………………. 91
Sliders …………………………………………………………. 92
Miscellaneous Controls…………………………………………….. 93
Control Panes ……………………………………………………….. 93
Scroll Panes …………………………………………………….. 93
Accordions ……………………………………………………… 96
Tab Panes ………………………………………………………. 96
Split Panes ……………………………………………………… 97
Styling Visual Nodes ………………………………………………….. 97
Summary …………………………………………………………… 99
6 Lists and Tables ……………………………………………………… 101
Lists with ListView ……………………………………………………. 101
Tables with TableView …………………………………………………. 104
Trees with TreeView …………………………………………………… 109
Summary …………………………………………………………… 112
7 Events …………………………………………………………….. 113
What Events Are and Event Processing …………………………………….. 113
Event Handlers and Filters ………………………………………………. 114
Drag and Drop Procedures ………………………………………………. 116
Summary …………………………………………………………… 119
8 Effects and Animation ………………………………………………… 121
About Effects………………………………………………………… 121
Animating Your Scenes ………………………………………………… 122
Transitions ……………………………………………………… 124
Timeline Animations………………………………………………. 125
Summary …………………………………………………………… 126
9 Concurrency ……………………………………………………….. 127
The JavaFX Concurrency Framework ……………………………………… 127
About Kotlin Coroutines for JavaFX ………………………………………. 131
Summary …………………………………………………………… 134
Index ………………………………………………………………… 135

Reviews

There are no reviews yet.

Be the first to review “Frontend Development with Javafx and Kotlin: Build State-Of-The-Art Kotlin GUI Applications – Peter Späth”

Your email address will not be published. Required fields are marked *

Similar books

Home
Ebooks
0
Cart
My Account