1/93
Flashcards for JavaFX Vocabulary
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
JavaFX
A set of graphic and media packages that enables developers to design, create, test, debug, and deploy client applications that operate consistently across diverse platforms, written as a Java API.
javafx.base
Defines the base APIs for the JavaFX UI toolkit, including APIs for bindings, properties, collections, and events.
javafx.controls
Defines the UI controls, charts, and skins that are available for the JavaFX UI toolkit.
javafx.fxml
Defines the FXML APIs for the JavaFX UI toolkit.
SceneBuilder
A graphical tool that helps with UI design without writing FXML code, allowing drag and drop UI components and generating FXML code describing UI design.
FXML
JavaFX eXtensible Markup Language, an XML based declarative language for constructing a JavaFX application user interface.
WebView
A web component that uses WebKitHTML technology to make it possible to embed web pages within a JavaFX application.
SwingNode
A class that enables you to embed Swing content into JavaFX applications.
Shape3D
API class for 3D graphics features including subclasses like box, cylinder, meshview, and sphere.
Shape
A visual component that can be a shape, image view, UI control, group, or pane.
Node
Represents an object on the UI, like a button a user can click.
Stage
Window for displaying scene that contains nodes.
Scene
Object is a tree data structure containing the tree nodes that describe the layout of the UI.
Pane
Automatically lay out the nodes in a desired location and size.
Group
Container that groups a collection of nodes.
ObservableValue
A source object, also called bindable object and instance of the javafx.beans.value.ObservableValue interface which is an entity that wraps a value and allows to observe the vale for changes.
Property
A target object, also called binding object, object that can be bound to a source object which is an instance of the javafx.beans.property.Property.
JavaFX CSS
Style properties in JavaFX (similar to those in CSS used to specify styles for HTML elements in Web pages).
Paint class
Abstract class defined by JavaFX for painting a node.
Color
Concrete subclass of Paint, used to encapsulate colors.
Font
Font name, weight, and size.
Image
Class that represents graphical image.
ImageView
Class that represents node for displaying an image.
FlowPane
Arranges nodes in the pane horizontally from left to right, or vertically from top to bottom in the order which they were added.
GridPane
Arranges nodes in a grid (matrix) formation.
BorderPane
Can place nodes in five regions: top,bottom, left, right, center.
HBox
Lays out its children in a single horizontal row.
VBox
Lays out its children in a single vertical column.
AnchorPane
Allows the edges of child nodes to be anchored to an offset from the anchor pane’s edge
Text class
Defines nodes that displays a string at starting point (x,y).
Line class
Defines a line.
Circle class
Defines circle.
Ellipse class
Defines ellipse.
Polygon class
Defines polygon that connects sequence of points.
Polyline class
Similar to polygon class, except it is not automatically closed.
Label
Display area for short text, a node, or both.
Button
Control that triggers an action event when click.
CheckBox
Used for user to select, inherits all properties such as onAction, text, graphic, alignment, graphicTextGap, textFill, contentDisplay form ButtonBase and Labeled.
RadioButton
Option buttons, enable you to choose a single item from a group of choices.
TextField
Can be used to display a string, subclass of TextInputControl.
TextArea
Enables user to enter multiple lines of text.
DatePicker
Allows user to enter date as text or select a date from calendar popup.
MenuBar
Top level menu component used to hold the menus.
TableView
Designed to visualize an unlimited number of rows and data broken out into columns.
ComboBox
Aka choice list or drop-down list, contains items from which the user can choose.
ListView
Control that performs the same function as a ComboBox but enables the user to choose a single value or multiple values.
ScrollBar
Control that enables users to select from a range of values.
Media class
Can use Media class to obtain the media source which represents a media source with duration, width, height properties.
MediaPlayer class
Controls the media with properties such as autoPlay, currentCount, cycleCount, mute, volume, totalDuration.
MediaView class
To display the video, subclass of Node that provides a view of Media being played by a MediaPlayer which provides properties for viewing the media.
Event Handler
Create an object that handles the action event on the button.
Event
An object created from an event source.
Event-driven programming
When you run a Java GUI program, program interacts with the user, and the events drive its execution.
Event source object
Component that creates an event and fires it.
Handler
Object that must be registered with an event source object and must be an instance of an appropriate event-handling instance.
Listeners
Processes a value change in an observable object.
Inner class
Class defined within the scope of another class.
Anonymous inner class
Inner class without a name.
Lambda expressions
Let you treat functionality as method argument, or code as data.
Functional interface
Any interface that contains only one abstract method (may contain one or more default or static methods).
Cascading Style Sheets
Can be used to define the style for UI and separate UI’s contents from the style.
Container
Object data structure that holds other objects referred to as data or elements.
Java Collections Frameworks
Java provides several data structures (lists, vectors, stacks, queues, priority queues, sets, and maps) that can be used to organize and manipulate data efficiently.
Java Collection Interface
Defines the common operations for lists, vectors, stacks, queues, priority queues, and sets.
Set
Collection that cannot duplicate elements.
List
An ordered collection (a sequence).
Queue
Collection used to hold multiple elements prior to processing (typically order elements in FIFO manner).
Deque
Double ended queue that can be used both as FIFO and LIFO.
Map
An object that maps key to values, cannot contain duplicate keys.
ArrayList
Better-performing implementation, content-time positioned access, and not synchronized (multiple threads).
Vector
Same as ArrayList but synchronized (multiple threads).
LinkedList
Constant-time add.remove, O(1) and Linear-time positional access, O(n).
Iterable interface
Defines the iterator method, which return an iterator which can obtain its iterator object to traverse all the elements in the collection.
Iterator
Classic design pattern for walking through a data structure without having to expose the details of how data is organized in the data structure.
Event handles
Mouse, key and input methods.
Image Class
Represents graphical images and is used for loading images form a specified URL.
Imageview
A node for painting images loaded with image class.
RadioButton
Two state button that can be checked or unchecked.
adapted class
Acts as a bridge between an adapterview and the underlying data for that view.
ArrayAdapter
Provides views for an AdapterView which returns a view for each object in a collection of data objects you provide.
ListView
Displays a vertically-scrollable collection of views, where each view is positioned immediately below the previous view in the list.
RecyclerView
Only does the work to process or draw items currently visible on the screen.
Context
An interface to global information about an application environment.
AndroidManifest.xml
Informs the system about the apps components.
Layout
Defines the structure of a user interface in your app such as in an activity
Views
Every element of the screen in android
Intent
Provides a facility for performing late runtime binding between the code in different applications.
Bundle
A collection of data stores as key/value pairs, to pass information from one activity to another.
Abstract Factory
Provide an interface for creating families of related or dependant object without specifying their concrete classes.
Singleton Design Pattern
This pattern ensures that a class only has one instance and provides a global point of access to it.
template Method Pattern
Define the skeleton of an algorithm in an operation,deferring some steps to subclasses.
Observer pattern
The observer pattern defines and maintains a dependency between objects.
strategy pattern
Define a family of algorithms that encapsulates each one and make them interchangeable.
Fragment
A fragment represents a reusable portion of your App’s UI.