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()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.