Package org.eclipse.net4j.util.container
Class SingleDeltaContainerEvent<E>
java.lang.Object
java.util.EventObject
org.eclipse.net4j.util.event.Event
org.eclipse.net4j.util.container.SingleDeltaContainerEvent<E>
- All Implemented Interfaces:
Serializable
,IContainerEvent<E>
,IEvent
A
container event
with a single element delta
.- Author:
- Eike Stepper
- See Also:
- No Extend
- This class is not intended to be subclassed by clients.
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionSingleDeltaContainerEvent
(IContainer<E> container, E element, IContainerDelta.Kind kind) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(IContainerEventVisitor<E> visitor) getDelta()
IContainerDelta<E>[]
boolean
isEmpty()
toString()
Methods inherited from class org.eclipse.net4j.util.event.Event
formatAdditionalParameters, formatEventName
-
Constructor Details
-
SingleDeltaContainerEvent
-
-
Method Details
-
getSource
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceIContainerEvent<E>
-
getDeltas
- Specified by:
getDeltas
in interfaceIContainerEvent<E>
-
getDelta
- Specified by:
getDelta
in interfaceIContainerEvent<E>
- Throws:
IllegalStateException
-
getDeltaElement
- Specified by:
getDeltaElement
in interfaceIContainerEvent<E>
- Throws:
IllegalStateException
-
getDeltaKind
- Specified by:
getDeltaKind
in interfaceIContainerEvent<E>
- Throws:
IllegalStateException
-
accept
- Specified by:
accept
in interfaceIContainerEvent<E>
-
toString
-