D
David N. Welton
Hi,
I have a question regarding the MIDP1.0 lcdui 'widgets' ChoiceGroup and
List.
Basically - is there any reason to use List for anything other than a
'menu'? ChoiceGroup has an itemstatelistener so that you can write code
that acts immediately when a choice element has been selected, whereas
List doesn't really have this ability for MULTIPLE or EXCLUSIVE type
lists. This has been corrected with MIDP2.0, but I'm interested in
writing code for the widest possible audience, and since 1.0 is still
being sold... 2.0 isn't an option.
I have half an idea to create ListBox and Menu classes, that are
respectively, a Form with only a ChoiceGroup in it, and a List of
IMPLICIT type.
Thoughts?
--
David N. Welton
- http://www.dedasys.com/davidw/
Linux, Open Source Consulting
- http://www.dedasys.com/
I have a question regarding the MIDP1.0 lcdui 'widgets' ChoiceGroup and
List.
Basically - is there any reason to use List for anything other than a
'menu'? ChoiceGroup has an itemstatelistener so that you can write code
that acts immediately when a choice element has been selected, whereas
List doesn't really have this ability for MULTIPLE or EXCLUSIVE type
lists. This has been corrected with MIDP2.0, but I'm interested in
writing code for the widest possible audience, and since 1.0 is still
being sold... 2.0 isn't an option.
I have half an idea to create ListBox and Menu classes, that are
respectively, a Form with only a ChoiceGroup in it, and a List of
IMPLICIT type.
Thoughts?
--
David N. Welton
- http://www.dedasys.com/davidw/
Linux, Open Source Consulting
- http://www.dedasys.com/