| Modifier and Type | Class and Description |
|---|---|
| public abstract static class |
| Modifier and Type | Method and Description |
|---|---|
| public void | onChanged(SetChangeListener.
the change that was made changeCalled after a change has been made to an ObservableSet. |
| onChanged | back to summary |
|---|---|
| public void onChanged(SetChangeListener. Called after a change has been made to an ObservableSet. This method is called on every elementary change (add/remove) once. This means, complex changes like removeAll(Collection) or clear() may result in more than one call of onChanged method.
| |
| Modifier and Type | Field and Description |
|---|---|
| private ObservableSet |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract E | |
| public abstract E | |
| public ObservableSet | |
| public abstract boolean | Returns: true if a new element was added to the setIf this change is a result of add operation. |
| public abstract boolean | Returns: true if an old element was removed from the setIf this change is a result of removal operation. |
| set | back to summary |
|---|---|
| private ObservableSet<E> set | |
| Change | back to summary |
|---|---|
| public Change(ObservableSet<E> set) Constructs a change associated with a set.
| |
| getElementAdded | back to summary |
|---|---|
| public abstract E getElementAdded() Get the new element. Return null if this is a removal.
| |
| getElementRemoved | back to summary |
|---|---|
| public abstract E getElementRemoved() Get the old element. Return null if this is an addition.
| |
| getSet | back to summary |
|---|---|
| public ObservableSet An observable set that is associated with the change.
| |
| wasAdded | back to summary |
|---|---|
| public abstract boolean wasAdded() If this change is a result of add operation.
| |
| wasRemoved | back to summary |
|---|---|
| public abstract boolean wasRemoved() If this change is a result of removal operation.
| |