T
- the type of the wrapped Object
public abstract class ReadOnlyObjectPropertyBase<T> extends ReadOnlyObjectProperty<T>
Object
. This class provides a default
implementation to attach listener.ReadOnlyObjectProperty
Modifier and Type | Field and Description |
---|---|
(package private) <any> |
helper |
Constructor and Description |
---|
ReadOnlyObjectPropertyBase() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(<any> listener) |
void |
addListener(InvalidationListener listener) |
protected void |
fireValueChangedEvent()
Sends notifications to all attached
InvalidationListeners and
ChangeListeners . |
void |
removeListener(<any> listener) |
void |
removeListener(InvalidationListener listener) |
toString
clone, equals, finalize, getClass, hashCode, 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)
protected void fireValueChangedEvent()
InvalidationListeners
and
ChangeListeners
.
This method needs to be called, if the value of this property changes.