net.dpml.runtime
Class ComponentEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.dpml.runtime.ComponentEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ProviderEvent

public abstract class ComponentEvent
extends EventObject

Event triggered as a result of a state change.

Version:
2.1.0
Author:
Digital Product Management Library
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ComponentEvent(Component source)
          Construct a new StateEvent.
 
Method Summary
 Component getComponent()
          Return the component that initiated the event.
 
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
 

Constructor Detail

ComponentEvent

public ComponentEvent(Component source)
Construct a new StateEvent.

Parameters:
source - the source component
Method Detail

getComponent

public Component getComponent()
Return the component that initiated the event.

Returns:
the source component