| java.lang.Object java.util.EventObject pnuts.tools.CommandEvent
CommandEvent | public class CommandEvent extends EventObject (Code) | | Event object which is created by DebugContext to communicate with a debugger.
|
Field Summary | |
final public static int | CLOSE_FRAME The event type which indicates a function returned. | final public static int | EXCEPTION The event type which indicates some exception has been thrown. | final public static int | EXITED The event type which indicates the execution was normally terminated. | final public static int | LINE_UPDATED The event type which indicates line number has been changed. | final public static int | OPEN_FRAME The event type which indicates a function is called. |
CLOSE_FRAME | final public static int CLOSE_FRAME(Code) | | The event type which indicates a function returned.
|
EXCEPTION | final public static int EXCEPTION(Code) | | The event type which indicates some exception has been thrown.
|
EXITED | final public static int EXITED(Code) | | The event type which indicates the execution was normally terminated.
|
LINE_UPDATED | final public static int LINE_UPDATED(Code) | | The event type which indicates line number has been changed.
|
OPEN_FRAME | final public static int OPEN_FRAME(Code) | | The event type which indicates a function is called.
|
CommandEvent | public CommandEvent(Context context, int eventType, Object arg)(Code) | | Constructor
Parameters: context - The context which creates the Command Event object. Parameters: eventType - The event type. Parameters: arg - Optional argument. |
getArg | public Object getArg()(Code) | | Get the optional argument
|
getType | public int getType()(Code) | | Get the event type
|
|
|