Package org.eclipse.net4j.util.container
Class SelfAttachingContainerListener
- java.lang.Object
- 
- org.eclipse.net4j.util.container.SelfAttachingContainerListener
 
- 
- All Implemented Interfaces:
- java.util.EventListener,- IListener,- IListener.NotifierAware
 - Direct Known Subclasses:
- SelfAttachingContainerListener.Delegating
 
 public class SelfAttachingContainerListener extends java.lang.Object implements IListener.NotifierAware - Since:
- 3.6
- Author:
- Eike Stepper
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSelfAttachingContainerListener.Delegatingstatic interfaceSelfAttachingContainerListener.DoNotDescend- 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.IListenerIListener.NotifierAware
 
- 
 - 
Constructor SummaryConstructors Constructor Description SelfAttachingContainerListener()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddNotifier(INotifier notifier)voidattach(java.lang.Object element)voiddetach(java.lang.Object element)protected voidhandleException(java.lang.Exception ex)protected booleanisActive(java.lang.Object element)protected booleanisWaitForActive()protected voidnotifyContainerEvent(IContainerEvent<?> event)voidnotifyEvent(IEvent event)protected voidnotifyOtherEvent(IEvent event)voidremoveNotifier(INotifier notifier)protected booleanshouldAttach(java.lang.Object element)Deprecated.As of 3.16 not used anymore.protected booleanshouldDescend(java.lang.Object element)
 
- 
- 
- 
Method Detail- 
addNotifierpublic void addNotifier(INotifier notifier) - Specified by:
- addNotifierin interface- IListener.NotifierAware
 
 - 
removeNotifierpublic void removeNotifier(INotifier notifier) - Specified by:
- removeNotifierin interface- IListener.NotifierAware
 
 - 
attachpublic void attach(java.lang.Object element) 
 - 
detachpublic void detach(java.lang.Object element) 
 - 
notifyEventpublic void notifyEvent(IEvent event) - Specified by:
- notifyEventin interface- IListener
 
 - 
notifyContainerEventprotected void notifyContainerEvent(IContainerEvent<?> event) 
 - 
notifyOtherEventprotected void notifyOtherEvent(IEvent event) 
 - 
shouldAttach@Deprecated protected boolean shouldAttach(java.lang.Object element) Deprecated.As of 3.16 not used anymore.
 - 
shouldDescendprotected boolean shouldDescend(java.lang.Object element) 
 - 
isWaitForActiveprotected boolean isWaitForActive() 
 - 
isActiveprotected boolean isActive(java.lang.Object element) 
 - 
handleExceptionprotected void handleException(java.lang.Exception ex) 
 
- 
 
-