ObservableArray

Companion Object for [[scalafx.collections.ObservableArray]].

Companion Object for [[scalafx.collections.ObservableArray]].

Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

case class Change(sizeChanged: Boolean, start: Int, end: Int)

Indicates a change in an ObservableArray. It is a simpler version of JavaFX's ArrayChangeListener[T].

Indicates a change in an ObservableArray. It is a simpler version of JavaFX's ArrayChangeListener[T].

Value Params
end

Index of first element in the array unaffected by the change. This value is exclusive of the change and indicates the first unchanged element after the modification, or the end of the array. Note that end may be less than start.

sizeChanged

true if the size of the ObservableArray was changed; false otherwise.

start

Index of first element in the array affected by the change.

Constructor

Create new instance describing the change detected.