|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
pnuts.tools.CommandEvent
public class CommandEvent
Event object which is created by DebugContext to communicate with a debugger.
Field Summary | |
---|---|
static int |
CLOSE_FRAME
The event type which indicates a function returned. |
static int |
EXCEPTION
The event type which indicates some exception has been thrown. |
static int |
EXITED
The event type which indicates the execution was normally terminated. |
static int |
LINE_UPDATED
The event type which indicates line number has been changed. |
static int |
OPEN_FRAME
The event type which indicates a function is called. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
CommandEvent(Context context,
int eventType,
java.lang.Object arg)
Constructor |
Method Summary | |
---|---|
java.lang.Object |
getArg()
Get the optional argument |
int |
getType()
Get the event type |
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 |
Field Detail |
---|
public static final int LINE_UPDATED
public static final int EXCEPTION
public static final int EXITED
public static final int OPEN_FRAME
public static final int CLOSE_FRAME
Constructor Detail |
---|
public CommandEvent(Context context, int eventType, java.lang.Object arg)
context
- The context which creates the Command Event object.eventType
- The event type.arg
- Optional argument.Method Detail |
---|
public int getType()
public java.lang.Object getArg()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |