Город МОСКОВСКИЙ
00:06:59

JavaFX ObservableList

Аватар
Кotlin Стартап
Просмотры:
29
Дата загрузки:
02.12.2023 01:46
Длительность:
00:06:59
Категория:
Обучение

Описание

JavaFX provides Observable list. By definition, an observablelist is a list that allows listeners to track changes when they occur.

This is the second part of the observable tutorial series. Watch the comprehensive video about javafx observable here: https://youtu.be/JaqExzdJhEI

This video talk about Using ObservableList with listeners and binding it with a listview. JavaFX ObservableList provides two interesting listener support.

void addListener(ListChangeListener) - ListChangeListener is an Interface that receives notifications of changes to an ObservableList.

It also provides InvalidationListener throrough Observable interface as addListener(InvalidationListener listener) - InvalidationListener which will be notified whenever the Observable becomes invalid.

Learn more about ObservableList from https://genuinecoder.com/javafx-observable-list-tutorial/

Рекомендуемые видео