Package org.eclipse.net4j.util.container
Class SelfAttachingContainerListener
- java.lang.Object
-
- org.eclipse.net4j.util.container.SelfAttachingContainerListener
-
- All Implemented Interfaces:
java.util.EventListener,IListener
- Direct Known Subclasses:
SelfAttachingContainerListener.Delegating
public class SelfAttachingContainerListener extends java.lang.Object implements IListener
- Since:
- 3.6
- Author:
- Eike Stepper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSelfAttachingContainerListener.Delegatingstatic interfaceSelfAttachingContainerListener.DoNotDescend
-
Constructor Summary
Constructors Constructor Description SelfAttachingContainerListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)protected booleanshouldAttach(java.lang.Object element)protected booleanshouldDescend(java.lang.Object element)
-
-
-
Method Detail
-
attach
public void attach(java.lang.Object element)
-
detach
public void detach(java.lang.Object element)
-
notifyEvent
public void notifyEvent(IEvent event)
- Specified by:
notifyEventin interfaceIListener
-
notifyContainerEvent
protected void notifyContainerEvent(IContainerEvent<?> event)
-
notifyOtherEvent
protected void notifyOtherEvent(IEvent event)
-
shouldAttach
protected boolean shouldAttach(java.lang.Object element)
-
shouldDescend
protected boolean shouldDescend(java.lang.Object element)
-
isWaitForActive
protected boolean isWaitForActive()
-
isActive
protected boolean isActive(java.lang.Object element)
-
handleException
protected void handleException(java.lang.Exception ex)
-
-