public class BasicNotifierImpl extends java.lang.Object implements Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
static interface |
BasicNotifierImpl.EObservableAdapterList
An interface implemented by
adapter lists
that allows listeners to observe adapters being added and removed. |
| Constructor and Description |
|---|
BasicNotifierImpl()
Creates a blank new instance.
|
| Modifier and Type | Method and Description |
|---|---|
EList<Adapter> |
eAdapters()
Returns list of the adapters associated with this notifier.
|
protected Adapter[] |
eBasicAdapterArray()
Returns the underlying array of adapters.
|
protected BasicEList<Adapter> |
eBasicAdapters()
Returns the adapter list, even if it is
null. |
protected boolean |
eBasicHasAdapters()
Returns whether there are any adapters.
|
boolean |
eDeliver()
Returns whether this notifier will deliver notifications to the adapters.
|
boolean |
eNotificationRequired()
Returns whether
eNotify needs to be called. |
void |
eNotify(Notification notification)
Notifies a change to a feature of this notifier as described by the notification.
|
void |
eSetDeliver(boolean deliver)
Sets whether this notifier will deliver notifications to the adapters.
|
public EList<Adapter> eAdapters()
Notifierprotected BasicEList<Adapter> eBasicAdapters()
null.null.protected Adapter[] eBasicAdapterArray()
null represents the lack of any adapters.
This array may not be modified by the caller
and must be guaranteed not to be modified even if the list of adapters is modified.protected boolean eBasicHasAdapters()
public boolean eDeliver()
NotifiereDeliver in interface NotifierNotifier.eSetDeliver(boolean)public void eSetDeliver(boolean deliver)
NotifiereSetDeliver in interface Notifierdeliver - whether or not to deliver.Notifier.eDeliver()public void eNotify(Notification notification)
Notifierdelivered
to the adapters
via Adapter.notifyChanged.