Lines Matching refs:choice
54 * attribute) that is currently showing in the choice field. This
57 * choice as the result of a callback or some such.
74 // On WindowsNT, choice menus look bad because they have extra
82 // Motif choice menus hang out over their bottom and right edges.
97 Choice choice = (Choice)body;
98 int count = choice.countItems();
102 value[i] = choice.getItem(i);
105 Choice choice = (Choice)body;
106 return choice.getSelectedItem();
119 Choice choice = (Choice) body;
120 int count = choice.countItems();
123 choice.removeAll();
124 // Motif workaround: Need to add at least one item to the choice menu
127 choice.addItem(/* NOI18N */" ");
131 choice.addItem(s[i]);
146 Choice choice = (Choice)body;
148 int count = choice.countItems();
151 if (choice.getItem(i).equals(str)) {
153 choice.select(i);
159 choice.select(0);
165 Choice choice = new Choice();
166 body = choice;