public class PropertyListenersImpl extends Object implements PropertyListeners
| Modifier and Type | Field and Description |
|---|---|
protected List<WithListeners> |
delegates |
protected List<PropertyListener> |
listeners |
protected Object |
source |
| Constructor and Description |
|---|
PropertyListenersImpl(Object source) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(PropertyListener listener) |
void |
addDelegate(Property p) |
void |
addDelegate(WithListeners withListeners,
Supplier<String> pathNameSupplier) |
void |
firePropertyUpdated(PropertyEvent event) |
PropertyListener[] |
getAll() |
Iterator<PropertyListener> |
iterator() |
void |
remove(PropertyListener listener) |
void |
removeDelegate(WithListeners listeners) |
void |
removeIf(Predicate<PropertyListener> predicate) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected List<PropertyListener> listeners
protected List<WithListeners> delegates
protected Object source
public PropertyListenersImpl(Object source)
public void add(PropertyListener listener)
add in interface PropertyListenerspublic void remove(PropertyListener listener)
remove in interface PropertyListenerspublic void removeIf(Predicate<PropertyListener> predicate)
removeIf in interface PropertyListenerspublic PropertyListener[] getAll()
getAll in interface PropertyListenerspublic void addDelegate(Property p)
public void addDelegate(WithListeners withListeners, Supplier<String> pathNameSupplier)
public void removeDelegate(WithListeners listeners)
public Iterator<PropertyListener> iterator()
iterator in interface Iterable<PropertyListener>public void firePropertyUpdated(PropertyEvent event)
Copyright © 2021 vpc open source initiative. All rights reserved.