com.binaryfantasy.murq.event
Class SourceEvent
java.lang.Object
java.util.EventObject
com.binaryfantasy.murq.event.SourceEvent
- All Implemented Interfaces:
- com.binaryfantasy.bfx.events.IDispatchableEvent<ISourceListener>, Serializable
public class SourceEvent
- extends EventObject
- implements com.binaryfantasy.bfx.events.IDispatchableEvent<ISourceListener>
An event indicating that an ISource has
been altered in some way.
- Author:
- Bill Weiss
- See Also:
- Serialized Form
|
Nested Class Summary |
static class |
SourceEvent.Type
Indicates the type of change that has been performed on a
ISource. |
SourceEvent
public SourceEvent(SourceEvent.Type type,
String key)
- Constructs a new event.
- Parameters:
type - the type of event that has happened.key - the key associated with the affected data.
getType
public SourceEvent.Type getType()
- Returns the type of event.
- Returns:
- the type of event.
getKey
public String getKey()
- Returns the
key of the affected data.
- Returns:
- the
key of the affected data.
dispatch
public void dispatch(ISourceListener listener)
- Specified by:
dispatch in interface com.binaryfantasy.bfx.events.IDispatchableEvent<ISourceListener>
toString
public String toString()
- Overrides:
toString in class EventObject
Copyright (c) 2000-2006, BinaryFantasy.com