Spec-Zone.ru › OpenJavaFX 24

Interface ArrayChangeListener<T extends ObservableArray<T>>

Type Parameters:
T - the array element type
public interface ArrayChangeListener<T extends ObservableArray<T>>
Interface that receives notifications of changes to an ObservableArray.
Since:
JavaFX 8.0

Method Summary

Modifier and Type Method Description
void onChanged(T observableArray, boolean sizeChanged, int from, int to)
Called after a change has been made to an ObservableArray.

Method Details

onChanged

void onChanged(T observableArray, boolean sizeChanged, int from, int to)
Called after a change has been made to an ObservableArray.
Parameters:
observableArray - the array that changed
sizeChanged - indicates size of array changed
from - A beginning (inclusive) of an interval related to the change
to - An end (exclusive) of an interval related to the change.

Report a bug or suggest an enhancement
Copyright © 2008, 2025, Oracle and/or its affiliates. All rights reserved.

© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API