Class powersoft.jcm.event.EventData
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class powersoft.jcm.event.EventData

java.lang.Object
   |
   +----powersoft.jcm.event.EventData

public class EventData
extends Object
The base class for JCM event data. This class is analogous to the Beans java.util.EventObject class.
See Also:
EventListener

Variable Index

 o _handled
 o _rawEvent
 o _source

Constructor Index

 o EventData(Object, Object)
Constructs an empty event object.

Method Index

 o getHandled()
 o getRawEvent()
Gets the raw event data that triggered the event.
 o getSource()
Gets the source of the event.
 o setHandled(boolean)

Variables

 o _source
  protected Object _source
 o _rawEvent
  protected Object _rawEvent
 o _handled
  protected boolean _handled

Constructors

 o EventData
  public EventData(Object source,
                   Object rawEvent)
Constructs an empty event object.
Parameters:
source - The event source, the object that fired the event.
awtEvent - The low-level AWT event that triggered the event (may be null).

Methods

 o getSource
  public Object getSource()
Gets the source of the event.
 o getRawEvent
  public Object getRawEvent()
Gets the raw event data that triggered the event. May return null.
 o getHandled
  public boolean getHandled()
 o setHandled
  public void setHandled(boolean h)

All Packages  Class Hierarchy  This Package  Previous  Next  Index