Top Description Methods
javafx.collections

public Interface ArrayChangeListener<T extends ObservableArray<T>>


Interface that receives notifications of changes to an ObservableArray.
Since
JavaFX 8.0

Method Summary

Modifier and TypeMethod and Description
public void
onChanged(T
the array that changed
observableArray
,
boolean
indicates size of array changed
sizeChanged
,
int
A beginning (inclusive) of an interval related to the change
from
,
int
An end (exclusive) of an interval related to the change.
to
)

Called after a change has been made to an ObservableArray.

Method Detail

onChangedback to summary
public void onChanged(T observableArray, boolean sizeChanged, int from, int to)

Called after a change has been made to an ObservableArray.

Parameters
observableArray:T

the array that changed

sizeChanged:boolean

indicates size of array changed

from:int

A beginning (inclusive) of an interval related to the change

to:int

An end (exclusive) of an interval related to the change.