|
How to associate a CommandListener with a List |
|
|
This tip demostrates a method of associating a CommandListener with a
List. The setCommandListener(...) method is used and is inherited from
Displayable class.
List list = new List("List", Choice.IMPLICIT);
list.setCommandListener(new CommandListener( ) {
public void commandAction(Command c, Displayable d) {
// Handle notification from the List
}
});
|
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.