javafx.collections.ObservableList .
This class provides a default implementation to attach listener.
ReadOnlyListProperty
| Modifier and Type | Field and Description |
|---|---|
| private ListExpressionHelper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addListener(InvalidationListener listener)
Implements javafx. Adds an |
| public void | addListener(ChangeListener<? super ObservableList<E>> listener)
Implements javafx. Adds a |
| public void | addListener(ListChangeListener<? super E> listener)
Implements javafx. Add a listener to this observable list. |
| protected void | fireValueChangedEvent()
This method needs to be called if the reference to the
|
| protected void | fireValueChangedEvent(ListChangeListener.
the change that needs to be propagated changeThis method needs to be called if the content of the referenced
|
| public void | removeListener(InvalidationListener listener)
Implements javafx. Removes the given listener from the list of listeners, that are notified
whenever the value of the |
| public void | removeListener(ChangeListener<? super ObservableList<E>> listener)
Implements javafx. Removes the given listener from the list of listeners that are notified
whenever the value of the |
| public void | removeListener(ListChangeListener<? super E> listener)
Implements javafx. Tries to remove a listener from this observable list. |
| helper | back to summary |
|---|---|
| private ListExpressionHelper<E> helper | |
| ReadOnlyListPropertyBase | back to summary |
|---|---|
| public ReadOnlyListPropertyBase() Creates a default | |
| addListener | back to summary |
|---|---|
| public void addListener(InvalidationListener listener) Implements javafx. Doc from javafx. Adds an
Note that the same actual
The
| |
| addListener | back to summary |
|---|---|
| public void addListener(ChangeListener<? super ObservableList<E>> listener) Implements javafx. Doc from javafx. Adds a
Note that the same actual
The
| |
| addListener | back to summary |
|---|---|
| public void addListener(ListChangeListener<? super E> listener) Implements javafx. Doc from javafx. Add a listener to this observable list.
| |
| fireValueChangedEvent | back to summary |
|---|---|
| protected void fireValueChangedEvent() This method needs to be called if the reference to the
| |
| fireValueChangedEvent | back to summary |
|---|---|
| protected void fireValueChangedEvent(ListChangeListener. This method needs to be called if the content of the referenced
| |
| removeListener | back to summary |
|---|---|
| public void removeListener(InvalidationListener listener) Implements javafx. Doc from javafx. Removes the given listener from the list of listeners, that are notified
whenever the value of the If the given listener has not been previously registered (i.e. it was never added) then this method call is a no-op. If it had been previously added then it will be removed. If it had been added more than once, then only the first occurrence will be removed.
| |
| removeListener | back to summary |
|---|---|
| public void removeListener(ChangeListener<? super ObservableList<E>> listener) Implements javafx. Doc from javafx. Removes the given listener from the list of listeners that are notified
whenever the value of the If the given listener has not been previously registered (i.e. it was never added) then this method call is a no-op. If it had been previously added then it will be removed. If it had been added more than once, then only the first occurrence will be removed.
| |
| removeListener | back to summary |
|---|---|
| public void removeListener(ListChangeListener<? super E> listener) Implements javafx. Doc from javafx. Tries to remove a listener from this observable list. If the listener is not attached to this list, nothing happens.
| |