org.xngr.context
Class ServiceContextEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.xngr.context.ServiceContextEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ActionsChangedEvent, MarkersChangedEvent, NodeContextsChangedEvent, ServicesChangedEvent

public abstract class ServiceContextEvent
extends java.util.EventObject

Event which is extended by the different Context events.

Version:
$Revision$, $Date$
Author:
Edwin Dankert
See Also:
Serialized Form

Nested Class Summary
static class ServiceContextEvent.Type
          The event type.
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 ServiceContext getContext()
           
 ServiceContextEvent.Type getType()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getContext

public ServiceContext getContext()
Returns:
the context the event happened on.

getType

public ServiceContextEvent.Type getType()
Returns:
the type of the event, can be either ADDED, REMOVED or CHANGED.


Copyright © 2002-2009 Edwin Dankert. All Rights Reserved.