E
- the type of the Set
elementspublic abstract class ReadOnlySetPropertyBase<E> extends ReadOnlySetProperty<E>
javafx.collections.ObservableSet
.
This class provides a default implementation to attach listener.ReadOnlySetProperty
Modifier and Type | Field and Description |
---|---|
private <any> |
helper |
Constructor and Description |
---|
ReadOnlySetPropertyBase() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(<any> listener) |
void |
addListener(<any> listener) |
void |
addListener(InvalidationListener listener) |
protected void |
fireValueChangedEvent()
This method needs to be called if the reference to the
javafx.collections.ObservableSet changes. |
protected void |
fireValueChangedEvent(<any> change)
This method needs to be called if the content of the referenced
javafx.collections.ObservableSet changes. |
void |
removeListener(<any> listener) |
void |
removeListener(<any> listener) |
void |
removeListener(InvalidationListener listener) |
bindContent, bindContentBidirectional, equals, hashCode, toString, unbindContent, unbindContentBidirectional
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBean, getName
public void addListener(InvalidationListener listener)
public void removeListener(InvalidationListener listener)
public void addListener(<any> listener)
public void removeListener(<any> listener)
public void addListener(<any> listener)
public void removeListener(<any> listener)
protected void fireValueChangedEvent()
javafx.collections.ObservableSet
changes.
It sends notifications to all attached
InvalidationListeners
,
ChangeListeners
, and
javafx.collections.SetChangeListener
.
This method needs to be called, if the value of this property changes.protected void fireValueChangedEvent(<any> change)
javafx.collections.ObservableSet
changes.
Sends notifications to all attached
InvalidationListeners
,
ChangeListeners
, and
javafx.collections.SetChangeListener
.
This method is called when the content of the list changes.change
- the change that needs to be propagated