E - element typepublic abstract static class SetChangeListener.Change<E> extends Object
| Constructor and Description |
|---|
Change(ObservableSet<E> set)
Constructs a change associated with a set.
|
| Modifier and Type | Method and Description |
|---|---|
abstract E |
getElementAdded()
Get the new element.
|
abstract E |
getElementRemoved()
Get the old element.
|
ObservableSet<E> |
getSet()
An observable set that is associated with the change.
|
abstract boolean |
wasAdded()
If this change is a result of add operation.
|
abstract boolean |
wasRemoved()
If this change is a result of removal operation.
|
public Change(ObservableSet<E> set)
set - the source of the changepublic ObservableSet<E> getSet()
public abstract boolean wasAdded()
public abstract boolean wasRemoved()
public abstract E getElementAdded()
public abstract E getElementRemoved()
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.