jde.debugger
Class EventSetEvent
java.lang.Object
|
+--java.util.EventObject
|
+--jde.debugger.EventSetEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class EventSetEvent
- extends java.util.EventObject
This class is the event sent to interested clients when the
debugger returns an EventSet.
Created: 3/18/03 6:02pm.
- Since:
- 2.3.2
- Version:
- $Revision: 1.1 $
- Author:
- Troy Daniels
- See Also:
EventSetListener
, Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
EventSetEvent(com.sun.jdi.event.EventSet eventSet,
com.sun.jdi.ThreadReference thread,
boolean suspend)
Constructor |
Method Summary |
com.sun.jdi.event.EventSet |
getEventSet()
Get the event set associated with this event. |
com.sun.jdi.ThreadReference |
getThreadReference()
Get the thread associated with this event, or null if there is none |
boolean |
isSuspended()
Tests if the debugger has been suspended |
void |
setSuspended(boolean suspend)
Indicates whether we suspended the debugger, and want it to stay so. |
java.lang.String |
toString()
|
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EventSetEvent
public EventSetEvent(com.sun.jdi.event.EventSet eventSet,
com.sun.jdi.ThreadReference thread,
boolean suspend)
- Constructor
getEventSet
public com.sun.jdi.event.EventSet getEventSet()
- Get the event set associated with this event.
For now, this returns the same thing as getSource. In the
future, there may be something else we want to put there, and
this does avoid excess casting.
- Returns:
- The event set
isSuspended
public boolean isSuspended()
- Tests if the debugger has been suspended
setSuspended
public void setSuspended(boolean suspend)
- Indicates whether we suspended the debugger, and want it to stay so.
getThreadReference
public com.sun.jdi.ThreadReference getThreadReference()
- Get the thread associated with this event, or null if there is none
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject