Lines Matching defs:Choice

38  * The <code>Choice</code> class presents a pop-up menu of choices.
44 * Choice ColorChooser = new Choice();
53 * <img src="doc-files/Choice-1.gif" alt="The following text describes the graphic"
61 * <code>Choice</code> components and the behavior of
64 * Native GUI <code>Choice</code> components' size are often bound by such
66 * the <code>Choice</code>.
72 public class Choice extends Component implements ItemSelectable, Accessible {
74 * The items for the <code>Choice</code>.
87 * The index of the current choice for this <code>Choice</code>
117 public Choice() throws HeadlessException {
127 synchronized (Choice.class) {
133 * Creates the <code>Choice</code>'s peer. This peer allows us
135 * of the <code>Choice</code> without changing its functionality.
136 * @see java.awt.Toolkit#createChoice(java.awt.Choice)
148 * Returns the number of items in this <code>Choice</code> menu.
149 * @return the number of items in this <code>Choice</code> menu
168 * <code>Choice</code> menu.
185 * Adds an item to this <code>Choice</code> menu.
199 * Adds an item to this <code>Choice</code> menu.
214 * Inserts an item to this <code>Choice</code>,
215 * but does not invalidate the <code>Choice</code>.
226 NullPointerException("cannot add null item to Choice");
275 * from the <code>Choice</code> menu. If the item
281 * @param item the item to remove from this <code>Choice</code> menu
324 * Removes an item from the <code>Choice</code> at the
325 * specified position, but does not invalidate the <code>Choice</code>.
402 * Sets the selected item in this <code>Choice</code> menu to be the
420 throw new IllegalArgumentException("illegal Choice item position: " + pos);
432 * Sets the selected item in this <code>Choice</code> menu
456 * this <code>Choice</code> menu. Item events are sent in response
480 * item events from this <code>Choice</code> menu.
520 * upon this <code>Choice</code>.
529 * <code>Choice</code> <code>c</code>
595 * Processes item events occurring on this <code>Choice</code>
626 * Returns a string representing the state of this <code>Choice</code>
632 * @return the parameter string of this <code>Choice</code> menu
643 * Choice Serial Data Version.
679 * item events fired by the <code>Choice</code> item.
718 * <code>Choice</code>. For <code>Choice</code> components,
724 * <code>AccessibleContext</code> of this <code>Choice</code>
736 * <code>Choice</code> class. It provides an implementation of the