org.eclipse.net4j.util.lifecycle
Class LifecycleEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.eclipse.net4j.util.event.Event
          extended by org.eclipse.net4j.util.lifecycle.LifecycleEvent
All Implemented Interfaces:
Serializable, IEvent, ILifecycleEvent

public class LifecycleEvent
extends Event
implements ILifecycleEvent

A default implementation of a lifecycle event.

See Also:
Serialized Form
No Extend
This class is not intended to be subclassed by clients.

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycleEvent
ILifecycleEvent.Kind
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LifecycleEvent(Lifecycle lifecycle, ILifecycleEvent.Kind kind)
           
 
Method Summary
 ILifecycleEvent.Kind getKind()
           
 ILifecycle getSource()
           
 
Methods inherited from class org.eclipse.net4j.util.event.Event
formatAdditionalParameters, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LifecycleEvent

public LifecycleEvent(Lifecycle lifecycle,
                      ILifecycleEvent.Kind kind)
Method Detail

getSource

public ILifecycle getSource()
Specified by:
getSource in interface IEvent
Specified by:
getSource in interface ILifecycleEvent
Overrides:
getSource in class Event
Since:
3.0

getKind

public ILifecycleEvent.Kind getKind()
Specified by:
getKind in interface ILifecycleEvent


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.