mome
Interface XCommandListener

All Known Implementing Classes:
AntTestRunner, MIDletTestRunner, MoXMIDlet

public interface XCommandListener

Inter face XCommandListener is generalization of LCDUI CommandListener interfaces. It consists of one method

         public void xCommandAction(Object cmd, Object src)
 
that takes two parameters cmd and src:

Version:
1.0
Author:
Sergio Morozov

Method Summary
 void xCommandAction(Object cmd, Object src)
          Indicates that a command event has occurred.
 

Method Detail

xCommandAction

void xCommandAction(Object cmd,
                    Object src)
Indicates that a command event has occurred.

Parameters:
cmd - An object identifying the command. This can be any object. Implementation should test on specific command by identity not equality.
src - An object on which this event has occurred. Either Displayable or Item or can be used even as a complementary argument for any user command.
Since:
1.0