JavaFX Tutorial Slides.
Watch the video series here:
https://www.youtube.com/watch?v=kKKtgstZ5qM&list=PLje_ti-y5EoL6PDfH3x5d8FMOpEHgHYVF
K. N. Toosi University of Technology
This document provides an introduction and overview of JavaFX. It discusses that JavaFX is an API included in Java SE 7/8 for building rich internet applications with a familiar Java programming model. JavaFX allows developing cross-platform applications for Windows, Mac, and Linux. It highlights benefits like rapid application development using tools like NetBeans and SceneBuilder, CSS styling, and building user interfaces with FXML. The document provides examples of basic JavaFX components like containers, controls, shapes, and charts and recommends resources to get started with JavaFX.
This document provides an overview of object-oriented programming concepts including classes, objects, inheritance, abstraction, encapsulation, and polymorphism. It defines OOP as an engineering approach for building software systems based on modeling real-world entities as classes and objects that exchange messages. Key concepts are explained such as classes defining attributes and behaviors of objects, objects being instances of classes, and communication between objects occurring through messages. The four main principles of OOP - inheritance, abstraction, encapsulation, and polymorphism - are also summarized.
A class defines the data and behavior of a type by grouping together variables, methods, and events. It supports encapsulation by allowing fields and methods to be declared as instance or static members. A class is declared using the class keyword followed by the class name and body surrounded by curly braces. Objects are instances of a class that can access members using the dot operator. Constructors are special methods that initialize an object when created with the new operator.
JavaFX is a set of graphics and media packages that enables developers to design, create, test, debug, and deploy rich client applications that operate consistently across diverse platforms.
This document discusses generics in .NET. It introduces generics, generic classes, interfaces, structs and methods. Generics allow defining type-safe and reusable collection classes without compromising type safety or performance. Generic classes encapsulate operations that are not specific to a data type, commonly used for collections. Generic interfaces avoid boxing/unboxing for value types. Methods can also be generic with the ability to apply constraints.
This document discusses delegates and events in C#. It explains that a delegate is an object that can refer to a method. There are four steps to using delegates: declaration, defining delegate methods, instantiation, and invocation. Delegates can be singlecast or multicast. Events are declared using an event keyword and a delegate type, and allow an object to notify other objects when an event occurs. Multicast delegates can invoke multiple methods by adding delegate instances together using + operator and removing them using - operator.
This document provides an introduction and overview of JavaFX. It discusses that JavaFX is an API included in Java SE 7/8 for building rich internet applications with a familiar Java programming model. JavaFX allows developing cross-platform applications for Windows, Mac, and Linux. It highlights benefits like rapid application development using tools like NetBeans and SceneBuilder, CSS styling, and building user interfaces with FXML. The document provides examples of basic JavaFX components like containers, controls, shapes, and charts and recommends resources to get started with JavaFX.
This document provides an overview of object-oriented programming concepts including classes, objects, inheritance, abstraction, encapsulation, and polymorphism. It defines OOP as an engineering approach for building software systems based on modeling real-world entities as classes and objects that exchange messages. Key concepts are explained such as classes defining attributes and behaviors of objects, objects being instances of classes, and communication between objects occurring through messages. The four main principles of OOP - inheritance, abstraction, encapsulation, and polymorphism - are also summarized.
A class defines the data and behavior of a type by grouping together variables, methods, and events. It supports encapsulation by allowing fields and methods to be declared as instance or static members. A class is declared using the class keyword followed by the class name and body surrounded by curly braces. Objects are instances of a class that can access members using the dot operator. Constructors are special methods that initialize an object when created with the new operator.
JavaFX is a set of graphics and media packages that enables developers to design, create, test, debug, and deploy rich client applications that operate consistently across diverse platforms.
This document discusses generics in .NET. It introduces generics, generic classes, interfaces, structs and methods. Generics allow defining type-safe and reusable collection classes without compromising type safety or performance. Generic classes encapsulate operations that are not specific to a data type, commonly used for collections. Generic interfaces avoid boxing/unboxing for value types. Methods can also be generic with the ability to apply constraints.
This document discusses delegates and events in C#. It explains that a delegate is an object that can refer to a method. There are four steps to using delegates: declaration, defining delegate methods, instantiation, and invocation. Delegates can be singlecast or multicast. Events are declared using an event keyword and a delegate type, and allow an object to notify other objects when an event occurs. Multicast delegates can invoke multiple methods by adding delegate instances together using + operator and removing them using - operator.
Java Server Pages (JSP) allow Java code to be embedded within HTML pages to create dynamic web content. JSP pages are translated into servlets by the web server. This involves compiling the JSP page into a Java servlet class that generates the HTML response. The servlet handles each request by executing the jspService() method and produces dynamic content which is returned to the client browser.
What's LINQ, its advantages, its Operators and examples on some of them, Methods of Writing it.
LINQ to Objects and Collections and Data Source Transformation.
This lesson teaches ASP.NET Core MVC and Entity Framework Core with controllers and views.
The EMS sample web application demonstrates how to create ASP.NET Core 2.2 MVC web applications using Entity Framework (EF) Core 2.0 and Visual Studio 2017.
The document provides an introduction to React, a JavaScript library for building user interfaces. It discusses key React concepts like components, properties, state, one-way data flow, and JSX syntax. It also covers setting up a development environment with Create React App and shows how to create a basic React component with state. The target audience appears to be people new to React who want to learn the fundamentals.
This document provides an overview of Visual Basic and its evolution. It discusses:
1) The origins and early history of Visual Basic, from its beginnings as BASIC in the 1960s to the introduction of Visual Basic in 1991.
2) The major features of Visual Basic, including its integrated development environment, support for graphical user interfaces, event handling, object-oriented programming, and rapid application development capabilities.
3) The introduction and features of VB.NET in 2000, including enhanced language interoperability, support for internet features and web services, improved object orientation, and platform independence.
The document discusses key concepts in object-oriented programming including objects, classes, messages, and requirements for object-oriented languages. An object is a bundle of related variables and methods that can model real-world things. A class defines common variables and methods for objects of a certain kind. Objects communicate by sending messages to each other specifying a method name and parameters. For a language to be object-oriented, it must support encapsulation, inheritance, and dynamic binding.
Java is an object-oriented programming language initially developed by Sun Microsystems. It was released in 1995. Key points:
- Java can be used to develop client-side standalone applications, applets for webpages, and server-side applications.
- It introduced the Java Virtual Machine (JVM) which allows Java programs to run on any platform that supports the JVM.
- Java's use of bytecode makes it portable and able to run on any device with a JVM, earning it the label of "Write Once, Run Anywhere".
This document discusses ADO.NET, which is a data access technology that allows applications to connect to and manipulate data from various sources. It describes the core ADO.NET objects like Connection, Command, DataReader, DataAdapter, DataSet and DataTable. It also explains the differences between connected and disconnected data access models in ADO.NET, detailing the objects used in each approach and their advantages. Finally, it provides an overview of commonly used .NET data providers like SqlClient, OleDb and Odbc.
Abstract classes allow for incomplete implementations and common functionality to be shared among subclasses, interfaces define a contract for methods without implementations, and both are useful for abstraction and polymorphism by defining types independently of their concrete implementations.
Web forms are a vital part of ASP.NET applications and are used to create the web pages that clients request. Web forms allow developers to create web applications using a similar control-based interface as Windows applications. The ASP.NET page processing model includes initialization, validation, event handling, data binding, and cleanup stages. The page acts as a container for other server controls and includes elements like the page header.
Visual Studio .NET IDE is a customizable development environment for building .NET applications. It provides a single interface for developing all types of .NET projects using customizable toolbars and windows for code editing, debugging, and viewing solutions. Key features include support for multiple programming languages, a built-in browser, and windows for viewing solutions, properties, output, and more.
Name: Falgun Sorathiya
E-Mail: falgunsunita26@gmail.com
This is an animated power point presentation on topic flutter. Flutter is a programming framework for cross-platform application development. Which is supported with dart language.
This slide includes all the theoretical information related to flutter such as widgets of flutter, animations in flutter, Styling properties, competition with other languages and framework, etc.
The document provides an overview of Microsoft Visual C# and C# basics. It covers topics like getting started with a first C# program, data types, operators, control statements, namespaces, objects and types, methods, classes, structs, inheritance, interfaces, polymorphism, arrays, generics, collections, memory management, attributes, exceptions and more. It also discusses C# compiler options, console I/O formatting, comments, and directives.
The document discusses Java Database Connectivity (JDBC) which allows Java applications to connect to databases. It describes the JDBC architecture including drivers, loading drivers, connecting to databases, executing queries and updates using Statement and PreparedStatement objects, processing result sets, and handling exceptions. It also covers transactions, result set metadata, and cleaning up resources.
An abstract class is a class that is declared abstract —it may or may not include abstract methods. Abstract classes cannot be instantiated, but they can be subclassed. When an abstract class is subclassed, the subclass usually provides implementations for all of the abstract methods in its parent class.
Properties are named members of classes, structures, and interfaces. Member variables or methods in a class or structures are called Fields. Properties are an extension of fields and are accessed using the same syntax. They use accessors through which the values of the private fields can be read, written, or manipulated.
An indexer allows an object to be indexed such as an array. When you define an indexer for a class, this class behaves similar to a virtual array. You can then access the instance of this class using the array access operator ([ ]).
MVC (Model-View-Controller) is a software architectural pattern that divides an application into three interconnected parts: the model, the view, and the controller. The model manages the application's data logic and rules. The view displays the data from the model. The controller links the model and view by obtaining input and converting it to commands for the model or preferred views for the user.
A simple document emphasizing the reasons behind evolution of .Net technology and how it simplified the yester-decade's technology issues. This document is simplified and teaches a lame man as why & how .net framework gained importance and how it is ruling the roost.
This document provides an overview of Java servlets technology, including:
1. What Java servlets are and their main purposes and advantages such as portability, power, and integration with server APIs.
2. Key aspects of servlet architecture like the servlet lifecycle, the HttpServletRequest and HttpServletResponse objects, and how different HTTP methods map to servlet methods.
3. Examples of simple servlets that process parameters, maintain a session counter, and examples of deploying servlets in Eclipse IDE.
This document discusses event driven architecture and event processing. It defines key terms like events, event types, event processing styles, and event flows. Events are notable things that happen and can signify problems, opportunities, or deviations. Event types include ordinary and notable events. Event processing styles range from simple to complex event processing. The document outlines the common components of an event processing system including event generators, processors, channels, and reactions. It also discusses concepts like stateless and stateful event processing, event streams, and windows.
Java Server Pages (JSP) allow Java code to be embedded within HTML pages to create dynamic web content. JSP pages are translated into servlets by the web server. This involves compiling the JSP page into a Java servlet class that generates the HTML response. The servlet handles each request by executing the jspService() method and produces dynamic content which is returned to the client browser.
What's LINQ, its advantages, its Operators and examples on some of them, Methods of Writing it.
LINQ to Objects and Collections and Data Source Transformation.
This lesson teaches ASP.NET Core MVC and Entity Framework Core with controllers and views.
The EMS sample web application demonstrates how to create ASP.NET Core 2.2 MVC web applications using Entity Framework (EF) Core 2.0 and Visual Studio 2017.
The document provides an introduction to React, a JavaScript library for building user interfaces. It discusses key React concepts like components, properties, state, one-way data flow, and JSX syntax. It also covers setting up a development environment with Create React App and shows how to create a basic React component with state. The target audience appears to be people new to React who want to learn the fundamentals.
This document provides an overview of Visual Basic and its evolution. It discusses:
1) The origins and early history of Visual Basic, from its beginnings as BASIC in the 1960s to the introduction of Visual Basic in 1991.
2) The major features of Visual Basic, including its integrated development environment, support for graphical user interfaces, event handling, object-oriented programming, and rapid application development capabilities.
3) The introduction and features of VB.NET in 2000, including enhanced language interoperability, support for internet features and web services, improved object orientation, and platform independence.
The document discusses key concepts in object-oriented programming including objects, classes, messages, and requirements for object-oriented languages. An object is a bundle of related variables and methods that can model real-world things. A class defines common variables and methods for objects of a certain kind. Objects communicate by sending messages to each other specifying a method name and parameters. For a language to be object-oriented, it must support encapsulation, inheritance, and dynamic binding.
Java is an object-oriented programming language initially developed by Sun Microsystems. It was released in 1995. Key points:
- Java can be used to develop client-side standalone applications, applets for webpages, and server-side applications.
- It introduced the Java Virtual Machine (JVM) which allows Java programs to run on any platform that supports the JVM.
- Java's use of bytecode makes it portable and able to run on any device with a JVM, earning it the label of "Write Once, Run Anywhere".
This document discusses ADO.NET, which is a data access technology that allows applications to connect to and manipulate data from various sources. It describes the core ADO.NET objects like Connection, Command, DataReader, DataAdapter, DataSet and DataTable. It also explains the differences between connected and disconnected data access models in ADO.NET, detailing the objects used in each approach and their advantages. Finally, it provides an overview of commonly used .NET data providers like SqlClient, OleDb and Odbc.
Abstract classes allow for incomplete implementations and common functionality to be shared among subclasses, interfaces define a contract for methods without implementations, and both are useful for abstraction and polymorphism by defining types independently of their concrete implementations.
Web forms are a vital part of ASP.NET applications and are used to create the web pages that clients request. Web forms allow developers to create web applications using a similar control-based interface as Windows applications. The ASP.NET page processing model includes initialization, validation, event handling, data binding, and cleanup stages. The page acts as a container for other server controls and includes elements like the page header.
Visual Studio .NET IDE is a customizable development environment for building .NET applications. It provides a single interface for developing all types of .NET projects using customizable toolbars and windows for code editing, debugging, and viewing solutions. Key features include support for multiple programming languages, a built-in browser, and windows for viewing solutions, properties, output, and more.
Name: Falgun Sorathiya
E-Mail: falgunsunita26@gmail.com
This is an animated power point presentation on topic flutter. Flutter is a programming framework for cross-platform application development. Which is supported with dart language.
This slide includes all the theoretical information related to flutter such as widgets of flutter, animations in flutter, Styling properties, competition with other languages and framework, etc.
The document provides an overview of Microsoft Visual C# and C# basics. It covers topics like getting started with a first C# program, data types, operators, control statements, namespaces, objects and types, methods, classes, structs, inheritance, interfaces, polymorphism, arrays, generics, collections, memory management, attributes, exceptions and more. It also discusses C# compiler options, console I/O formatting, comments, and directives.
The document discusses Java Database Connectivity (JDBC) which allows Java applications to connect to databases. It describes the JDBC architecture including drivers, loading drivers, connecting to databases, executing queries and updates using Statement and PreparedStatement objects, processing result sets, and handling exceptions. It also covers transactions, result set metadata, and cleaning up resources.
An abstract class is a class that is declared abstract —it may or may not include abstract methods. Abstract classes cannot be instantiated, but they can be subclassed. When an abstract class is subclassed, the subclass usually provides implementations for all of the abstract methods in its parent class.
Properties are named members of classes, structures, and interfaces. Member variables or methods in a class or structures are called Fields. Properties are an extension of fields and are accessed using the same syntax. They use accessors through which the values of the private fields can be read, written, or manipulated.
An indexer allows an object to be indexed such as an array. When you define an indexer for a class, this class behaves similar to a virtual array. You can then access the instance of this class using the array access operator ([ ]).
MVC (Model-View-Controller) is a software architectural pattern that divides an application into three interconnected parts: the model, the view, and the controller. The model manages the application's data logic and rules. The view displays the data from the model. The controller links the model and view by obtaining input and converting it to commands for the model or preferred views for the user.
A simple document emphasizing the reasons behind evolution of .Net technology and how it simplified the yester-decade's technology issues. This document is simplified and teaches a lame man as why & how .net framework gained importance and how it is ruling the roost.
This document provides an overview of Java servlets technology, including:
1. What Java servlets are and their main purposes and advantages such as portability, power, and integration with server APIs.
2. Key aspects of servlet architecture like the servlet lifecycle, the HttpServletRequest and HttpServletResponse objects, and how different HTTP methods map to servlet methods.
3. Examples of simple servlets that process parameters, maintain a session counter, and examples of deploying servlets in Eclipse IDE.
This document discusses event driven architecture and event processing. It defines key terms like events, event types, event processing styles, and event flows. Events are notable things that happen and can signify problems, opportunities, or deviations. Event types include ordinary and notable events. Event processing styles range from simple to complex event processing. The document outlines the common components of an event processing system including event generators, processors, channels, and reactions. It also discusses concepts like stateless and stateful event processing, event streams, and windows.
The document discusses event handling in Java. It describes how events are generated from user interactions with GUI components and handled via the delegation event model. This model involves events, event sources that generate events, and event listeners that receive and process events. The document lists some important event classes like ActionEvent and MouseEvent, and listener interfaces. It also provides details on how to register listeners with sources and implement event handling in classes.
Two event handling mechanisms in Java are the delegation event model and event classes. The delegation event model involves an event source generating an event that is sent to registered listener objects. Event classes represent different types of events like mouse clicks or key presses. Swing is a GUI toolkit that improves on AWT by using lightweight components, separating component look from behavior, and allowing replacement of the look and feel. It defines common components like buttons, text fields and containers to hold other components.
The document discusses Java AWT event handling and graphics. It covers key concepts like events, event classes, event handling process, commonly used event listeners and adapter classes. It also covers AWT containers, layout managers, menu classes, graphics classes and how to work with frames and graphics in Java. The document is intended to teach programming in Java and is part of a larger unit on AWT.
Event handling in Java uses the delegation event model. There are two main types of events - foreground events which require direct user interaction, and background events which do not. The delegation model defines key participants in event handling - the source which generates the event, and the listener which processes the event. Common event classes in Java include ActionEvent, WindowEvent, AdjustmentEvent, and KeyEvent. Listener interfaces define callback methods for the different event types.
EventBus is a publish/subscribe event bus for Android that simplifies communication between components like activities, fragments, threads and services. It provides an alternative to traditional Android communication mechanisms like intents, handlers and broadcasts. With EventBus, components define events to publish, register as subscribers to receive events, and post events. This reduces the need for direct calls, callbacks and listener management between components.
Testing Event Driven Architecture PresentationKnoldus Inc.
Explore strategies and best practices for testing systems built on event-driven architecture. Learn how to ensure the reliability and responsiveness of event-driven applications through comprehensive testing methodologies.
Testing Event Driven Architecture PresentationKnoldus Inc.
Explore strategies and best practices for testing systems built on event-driven architecture. Learn step by step to how to ensure the reliability and responsiveness of event-driven applications through comprehensive testing methodologies. Explore use cases for Event Driven Architecture.
This document discusses Java's delegation event model for handling events. It describes the key concepts of event sources that generate events, event listeners that handle events, and event classes that represent specific events. It provides details on common event classes like MouseEvents and KeyEvents. It also explains the various event listener interfaces and the basic two-step process of using the delegation event model: 1) implementing the listener interface and 2) registering the listener with the appropriate source.
The document discusses Java event handling and various listener interfaces. It describes the delegation event model where an event source generates an event and sends it to registered listeners. It outlines common listener interfaces like ActionListener, ItemListener, KeyListener, MouseListener, and WindowListener. It provides details on the methods in each interface and how to write classes that implement the listener interfaces.
This document discusses event handling in Java. It describes the delegation event model, which defines standard mechanisms for generating and processing events. An event is an object that describes a state change in an event source, like a button click. Event sources generate events and send them to registered event listeners. Listeners implement interfaces that define methods for processing specific event types. Common event classes and interfaces are also outlined.
The document discusses activities, intents, and event listeners in Android. It defines an activity as a single focused thing the user can interact with and explains the activity lifecycle including methods like onCreate, onStart, onResume, etc. It describes intents as messages that allow communication between app components and how they are used to start activities. It also defines event listeners as a way to handle user interactions and collect data on events like button presses. It provides examples of registering different types of event listeners including anonymous inner classes and having the activity implement listener interfaces.
This chapter discusses the event emitter pattern in Node.js for simplifying event binding. The event emitter pattern involves two objects - an event emitter that emits events and one or more event listeners that listen for those events. Events always have a type and event emitters can have multiple listeners bound to the same event type. The chapter then covers using the event emitter API through methods like on(), once(), removeListener(), and removeAllListeners(). It concludes by explaining how to create a custom event emitter by inheriting from the EventEmitter class and using the emit() method.
This document discusses event handling in Java. It defines events as changes in the state of an object and categorizes them as foreground or background events. It explains that event handling uses a delegation model with sources that generate events and listeners that handle them. It provides an example of handling action events from buttons by implementing an ActionListener interface and attaching it to the buttons. The example displays text indicating which button was clicked.
This document discusses event handling in Java. It describes the delegation event model where a source generates an event and sends it to one or more listeners. It outlines several common listener interfaces like ActionListener, ItemListener, KeyListener, MouseListener, and WindowListener. For each interface it provides the listener methods and describes how to write an event handler class to implement the interface. It also discusses the classes for different event types like ActionEvent, ItemEvent, KeyEvent, and MouseEvent.
This document discusses event handling in Java. It describes the delegation event model where a source generates an event and sends it to one or more listeners. It outlines several common listener interfaces like ActionListener, ItemListener, KeyListener, MouseListener, and WindowListener. For each interface it provides the listener methods and describes how to write an event handler class to implement the interface. It also discusses the classes for different event types like ActionEvent, ItemEvent, KeyEvent, and MouseEvent.
This document discusses event handling in Java GUI programming. It defines an event as user interaction with a GUI component. Events have sources that trigger them and listeners that process them via event handlers. Common event listener interfaces include ActionListener, ComponentListener, and FocusListener. The event handling process involves determining the event source and type, creating an event object, and invoking the appropriate listener method. Examples are given of sources that can trigger events and assignments are provided to practice event handling.
This document discusses event handling in Java. It describes how events are generated when a user interacts with a component, how listener interfaces define callback methods that must be implemented, and how the source registers itself with listeners. It provides an example of using an adapter class to handle the windowClosing event in AWT.
This document discusses events in C# programming. Events allow applications to respond to user actions or system notifications. Events use delegates to associate event handlers with the class that raises the event. A publisher class declares and raises an event, while a subscriber class provides an event handler method that is invoked by the publisher's delegate. To declare an event, a delegate type is first defined, then the event itself is declared using the event keyword and referencing the delegate type.
Similar to 004 - JavaFX Tutorial - Event Handling (20)
JavaFX Tutorial Slides.
Watch the video series here:
https://www.youtube.com/watch?v=kKKtgstZ5qM&list=PLje_ti-y5EoL6PDfH3x5d8FMOpEHgHYVF
K. N. Toosi University of Technology
JavaFX Tutorial Slides.
Watch the video series here:
https://www.youtube.com/watch?v=kKKtgstZ5qM&list=PLje_ti-y5EoL6PDfH3x5d8FMOpEHgHYVF
K. N. Toosi University of Technology
Java 9 introduced several new features including JShell, modules, and services. JShell allows developers to test Java code interactively from the command line. Modules allow Java code to be modularized by defining explicit dependencies and encapsulating packages. Services allow modules to discover implementations of an interface at runtime through a service loader. The modularization of Java aims to improve maintainability, security, and performance of Java applications.
This document provides an overview of the Scala programming language. Scala was designed to be scalable by unifying object-oriented and functional programming. It runs on the Java Virtual Machine and interoperates with Java libraries. Scala code is more concise than Java due to features like type inference, immutable data structures, and support for functional programming patterns. Popular frameworks developed using Scala include Apache Spark, Kafka, and Akka. Scala sees widespread use in domains like big data, web development, and scientific computing.
This document discusses continuous integration and Jenkins. It begins with explaining the fundamentals of continuous integration, including that it involves automatically compiling and testing code changes. It then provides a brief history of Jenkins, originally called Hudson. Next, it outlines 9 benefits of continuous integration such as increasing code coverage and deploying code more reliably. The document concludes with information about getting started with Jenkins.
This was a short introduction to Scala programming language.
me and my colleague lectured these slides in Programming Language Design and Implementation course in K.N. Toosi University of Technology.
My lecture slides in Advanced Programming with Java course in K.N. Toosi University of Technology about JavaFX.
In this slides I described the basic concept of JavaFX like Shapes, Observer Pattern, Even-Driven Programming and more.
In the Part II I'll describe more advanced topic like FXML applications and CSS styling and more... .
Atelier - Innover avec l’IA Générative et les graphes de connaissancesNeo4j
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Allez au-delà du battage médiatique autour de l’IA et découvrez des techniques pratiques pour utiliser l’IA de manière responsable à travers les données de votre organisation. Explorez comment utiliser les graphes de connaissances pour augmenter la précision, la transparence et la capacité d’explication dans les systèmes d’IA générative. Vous partirez avec une expérience pratique combinant les relations entre les données et les LLM pour apporter du contexte spécifique à votre domaine et améliorer votre raisonnement.
Amenez votre ordinateur portable et nous vous guiderons sur la mise en place de votre propre pile d’IA générative, en vous fournissant des exemples pratiques et codés pour démarrer en quelques minutes.
Microservice Teams - How the cloud changes the way we workSven Peters
A lot of technical challenges and complexity come with building a cloud-native and distributed architecture. The way we develop backend software has fundamentally changed in the last ten years. Managing a microservices architecture demands a lot of us to ensure observability and operational resiliency. But did you also change the way you run your development teams?
Sven will talk about Atlassian’s journey from a monolith to a multi-tenanted architecture and how it affected the way the engineering teams work. You will learn how we shifted to service ownership, moved to more autonomous teams (and its challenges), and established platform and enablement teams.
Software Engineering, Software Consulting, Tech Lead, Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Transaction, Spring MVC, OpenShift Cloud Platform, Kafka, REST, SOAP, LLD & HLD.
Measures in SQL (SIGMOD 2024, Santiago, Chile)Julian Hyde
SQL has attained widespread adoption, but Business Intelligence tools still use their own higher level languages based upon a multidimensional paradigm. Composable calculations are what is missing from SQL, and we propose a new kind of column, called a measure, that attaches a calculation to a table. Like regular tables, tables with measures are composable and closed when used in queries.
SQL-with-measures has the power, conciseness and reusability of multidimensional languages but retains SQL semantics. Measure invocations can be expanded in place to simple, clear SQL.
To define the evaluation semantics for measures, we introduce context-sensitive expressions (a way to evaluate multidimensional expressions that is consistent with existing SQL semantics), a concept called evaluation context, and several operations for setting and modifying the evaluation context.
A talk at SIGMOD, June 9–15, 2024, Santiago, Chile
Authors: Julian Hyde (Google) and John Fremlin (Google)
https://doi.org/10.1145/3626246.3653374
8 Best Automated Android App Testing Tool and Framework in 2024.pdfkalichargn70th171
Regarding mobile operating systems, two major players dominate our thoughts: Android and iPhone. With Android leading the market, software development companies are focused on delivering apps compatible with this OS. Ensuring an app's functionality across various Android devices, OS versions, and hardware specifications is critical, making Android app testing essential.
Hand Rolled Applicative User ValidationCode KataPhilip Schwarz
Could you use a simple piece of Scala validation code (granted, a very simplistic one too!) that you can rewrite, now and again, to refresh your basic understanding of Applicative operators <*>, <*, *>?
The goal is not to write perfect code showcasing validation, but rather, to provide a small, rough-and ready exercise to reinforce your muscle-memory.
Despite its grandiose-sounding title, this deck consists of just three slides showing the Scala 3 code to be rewritten whenever the details of the operators begin to fade away.
The code is my rough and ready translation of a Haskell user-validation program found in a book called Finding Success (and Failure) in Haskell - Fall in love with applicative functors.
What is Master Data Management by PiLog Groupaymanquadri279
PiLog Group's Master Data Record Manager (MDRM) is a sophisticated enterprise solution designed to ensure data accuracy, consistency, and governance across various business functions. MDRM integrates advanced data management technologies to cleanse, classify, and standardize master data, thereby enhancing data quality and operational efficiency.
Most important New features of Oracle 23c for DBAs and Developers. You can get more idea from my youtube channel video from https://youtu.be/XvL5WtaC20A
Takashi Kobayashi and Hironori Washizaki, "SWEBOK Guide and Future of SE Education," First International Symposium on the Future of Software Engineering (FUSE), June 3-6, 2024, Okinawa, Japan
What is Augmented Reality Image Trackingpavan998932
Augmented Reality (AR) Image Tracking is a technology that enables AR applications to recognize and track images in the real world, overlaying digital content onto them. This enhances the user's interaction with their environment by providing additional information and interactive elements directly tied to physical images.
DDS Security Version 1.2 was adopted in 2024. This revision strengthens support for long runnings systems adding new cryptographic algorithms, certificate revocation, and hardness against DoS attacks.
Unveiling the Advantages of Agile Software Development.pdfbrainerhub1
Learn about Agile Software Development's advantages. Simplify your workflow to spur quicker innovation. Jump right in! We have also discussed the advantages.
Artificia Intellicence and XPath Extension FunctionsOctavian Nadolu
The purpose of this presentation is to provide an overview of how you can use AI from XSLT, XQuery, Schematron, or XML Refactoring operations, the potential benefits of using AI, and some of the challenges we face.
WhatsApp offers simple, reliable, and private messaging and calling services for free worldwide. With end-to-end encryption, your personal messages and calls are secure, ensuring only you and the recipient can access them. Enjoy voice and video calls to stay connected with loved ones or colleagues. Express yourself using stickers, GIFs, or by sharing moments on Status. WhatsApp Business enables global customer outreach, facilitating sales growth and relationship building through showcasing products and services. Stay connected effortlessly with group chats for planning outings with friends or staying updated on family conversations.
1. Brought to you by
Graphical User Interface in Java
Using JavaFX
Event Handling
1K. N. Toosi University of Technology
2. What is Event?
• An event represents an occurrence of something of interest to the application,
such as a mouse being moved or a key being pressed
• In JavaFX, an event is an instance of the javafx.event.Event class or any subclass of
Event.
• Every JavaFX event has:
• eventType
• source
• target
• JavaFX provides several events, including DragEvent, KeyEvent, MouseEvent,
ScrollEvent, and others. You can define your own event by extending the Event
class.
• Subclasses can define type specific properties:
• MouseEvent: x,y
• KeyEvent: code, character
2K. N. Toosi University of Technology
3. Event Properties:
3K. N. Toosi University of Technology
Property Description
Event Type Type of event that occurred.
Source Origin of the event, with respect to the location of the
event in the event dispatch chain.
The source changes as the event is passed along the chain.
Target Node on which the action occurred and the end node in
the event dispatch chain. The target does not change,
however if an event filter consumes the event during the
event capturing phase, the target will not receive the event.
4. Event Hierarchy:
4K. N. Toosi University of Technology
EventObject
Event
InputEvent
KeyEvent MouseEvent DragEvent TouchEvent SwipeEvent …
ActionEvent WindowEvent
https://docs.oracle.com/javafx/2/events/processing.htm
5. Event Type Hierarchy:
5K. N. Toosi University of Technology
Event.ANY
InputEvent.ANY
KeyEvent.ANY
KeyEvent.KEY_PRESSED
KeyEvent.KEY_RELEASED
KeyEvent.KEY_TYPED
MouseEvent.ANY MouseEvent.MOUSE_PRESSED
MouseEvent.MOUSE_RELEASED
ActionEvent.ACTION
WindowEvent.ANY
WindowEvent.WINDOW_SHOWING
WindowEvent.WINDOW_SHOWN
https://docs.oracle.com/javafx/2/events/processing.htm
6. Event Delivery Process:
• Event Target Selection
• Depends on the particular event type
• Event Route Construction
• Specified by the event target
• Event Capturing Phase
• Event travels from the stage to the event target
• Event Bubbling Phase
• Events travels back from the target to the stage
6K. N. Toosi University of Technology
7. Demo 1:
7K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
8. Event Delivery Process:
• Event Target Selection
• Depends on the particular event type
• Event Route Construction
• Specified by the event target
• Event Capturing Phase
• Event travels from the stage to the event target
• Event Bubbling Phase
• Events travels back from the target to the stage
8K. N. Toosi University of Technology
9. Demo 1: Click on Green Circle
9K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Phase 1: Circle Select as the target as the
first phase of Event Delivery Process.
10. Event Delivery Process:
• Event Target Selection
• Depends on the particular event type
• Event Route Construction
• Specified by the event target
• Event Capturing Phase
• Event travels from the stage to the event target
• Event Bubbling Phase
• Events travels back from the target to the stage
10K. N. Toosi University of Technology
11. Demo 1: Click on Green Circle
11K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Phase 2: Route construction happens in the
second phase from the scene graph.
12. Event Delivery Process:
• Event Target Selection
• Depends on the particular event type
• Event Route Construction
• Specified by the event target
• Event Capturing Phase
• Event travels from the stage to the event target
• Event Bubbling Phase
• Events travels back from the target to the stage
12K. N. Toosi University of Technology
13. Demo 1: Click on Green Circle
13K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Phase 3: In the event capturing phase, the
created event traverse from the top of the
scene graph to the target node.
• EventHandlers will not invoke
Event
14. Demo 1: Click on Green Circle
14K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Phase 3: In the event capturing phase, the
created event traverse from the top of the
scene graph to the target node.
• EventHandlers will not invoke
Event
15. Event Delivery Process:
• Event Target Selection
• Depends on the particular event type
• Event Route Construction
• Specified by the event target
• Event Capturing Phase
• Event travels from the stage to the event target
• Event Bubbling Phase
• Events travels back from the target to the stage
15K. N. Toosi University of Technology
16. Demo 1: Click on Green Circle
16K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Phase 4: In the Event Bubbling phase, the
Event traverse from the bottom of the
scene graph to the root.
• EventHandlers will invoke in this phase
Event
17. Demo 1: Click on Green Circle
17K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Phase 4: In the Event Bubbling phase, the
Event traverse from the bottom of the
scene graph to the root.
• EventHandlers will invoke in this phaseEvent
18. Event Delivery Process:
• Event Target Selection
• Depends on the particular event type
• Event Route Construction
• Specified by the event target
• Event Capturing Phase
• Event travels from the stage to the event target
• Event Bubbling Phase
• Events travels back from the target to the stage
18K. N. Toosi University of Technology
19. Event Handling
• Three methods of event handling
• Convenience methods
• setOnKeyPressed(eventHandler);
• setOn …
• Event handler / filter registration methods
• addEventHandler(eventType, eventHandler);
• addEventFilter(eventType,eventFilter);
• Event dispatcher property
• Differ in Complexity and level of control
19K. N. Toosi University of Technology
20. Event Handlers
• An event handler is executed during the event bubbling phase.
• If an event handler for a child node does not consume the event, an
event handler for a parent node can act on the event after a child
node processes it and can provide common event processing for
multiple child nodes.
• Handlers that are registered for the type of event that occurred are
executed as the event returns through the node that registered the
handler.
20K. N. Toosi University of Technology
21. Demo 1: Click on Green Circle
21K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Phase 4: In the Event Bubbling phase, the
Event traverse from the bottom of the
scene graph to the root.
• EventHandlers will invoke in this phase
Event
22. Event Filters
• An event filter is executed during the event capturing phase.
• An event filter for a parent node can provide common event
processing for multiple child nodes and if desired, consume the event
to prevent the child node from receiving the event.
• Filters that are registered for the type of event that occurred are
executed as the event passes through the node that registered the
filter.
22K. N. Toosi University of Technology
23. Demo 1: Click on Green Circle
23K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Phase 3: In the event capturing phase, the
created event traverse from the top of the
scene graph to the target node.
• EventHandlers will not invoke
Event
24. Consuming of an Event
• An event can be consumed by an event filter or an event handler at any
point in the event dispatch chain by calling the consume() method.
• This method signals that processing of the event is complete and traversal
of the event dispatch chain ends.
• Consuming the event in an event filter prevents any child node on the
event dispatch chain from acting on the event.
• Consuming the event in an event handler stops any further processing of
the event by parent handlers on the event dispatch chain.
• If the node that consumes the event has more than one filter or handler
registered for the event, the peer filters or handlers are still executed.
24K. N. Toosi University of Technology
25. Event Handling
Convenience methods
• on<EventType>
• onMousePressed, onKeyTyped, onAction
• Easy way to install, remove or replace an event handler
• Sufficient for most use cases
• Only one handler per event type
• For selected event types only
• No support for event filter registration
25K. N. Toosi University of Technology
27. Event Handling
Handler / Filter registration methods
• Allow to register multiple event handlers / filters for a signle event
type
• addEventHandler, addEventFilter methods
• Can Register one event handler / filter for a whole class of events
• All mouse events, all input events, all events
• Specific handlers / filters executed before the generic ones
• If you wrote two handler for two type of event which they are KeyEvent.KEY_TYPED and
InputEvent.ANY the more specified one which is KeyEvent will be called before the
handler of the generic one which is InputEvent
• Execution order of event handlers at the same level is unspecified and
not guaranteed
• Exception: on<EventType> handlers executed last
27K. N. Toosi University of Technology
29. Handler or Filter?
• Different execution order
• Event handler for leaf nodes
• Event handler installed on a branch node
• Allows to define a default event response for all child nodes
• A child node can still define a more specific event response
• Event filter installed on a branch node
• Can override / force an event response
• Can block events from reaching their destination
29K. N. Toosi University of Technology
36. Demo 1: Click on Green Circle
36K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Event Source : Stage
• Event Target : Circle
• Executed : Stage Filter
Event
37. Demo 1: Click on Green Circle
37K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Event Source : Scene
• Event Target : Circle
• Executed : NothingEvent
38. Demo 1: Click on Green Circle
38K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Event Source : VBox
• Event Target : Circle
• Executed : VBox Filter
Event
39. Demo 1: Click on Green Circle
39K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Event Source : HBox
• Event Target : Circle
• Executed : HBox Filter
Event
40. Demo 1: Click on Green Circle
40K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Event Source : Circle
• Event Target : Circle
• Executed : Circle Filter
Event
41. Demo 1: Click on Green Circle
41K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Event Source : Circle
• Event Target : Circle
• Executed : Circle Handler
Event
42. Demo 1: Click on Green Circle
42K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Event Source : HBox
• Event Target : Circle
• Executed : HBox Handler
Event
43. Demo 1: Click on Green Circle
43K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Event Source : VBox
• Event Target : Circle
• Executed : VBox Handler
if not Consumed
Event
44. Demo 1: Click on Green Circle
44K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Event Source : VBox
• Event Target : Scene
• Executed : Nothing
if not Consumed
Event
45. Demo 1: Click on Green Circle
45K. N. Toosi University of Technology
Stage
Scene
VBox
Rectangle HBox
Circle Polygon
• Event Source : Stage
• Event Target : Circle
• Executed : Stage Handler
if not Consumed
Event
46. Resources & Refrences
• Oracle’s JavaFX: Handling Events Tutorial;
https://docs.oracle.com/javase/8/javafx/events-tutorial/events.htm
• JavaFX Event System Walk-through, Presented by eva krejčířová on
Oracle JavaOne 2012 conf;
https://www.youtube.com/watch?v=PNLNEzXcZE4
• Codes:
https://gist.github.com/mhrimaz/009afb0ffe444f478ceec5063dbbf277
46K. N. Toosi University of Technology
47. Brought to you by
Happy Coding
47K. N. Toosi University of Technology