Searched refs:Choice (Results 1 - 25 of 44) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/awt/peer/
H A DChoicePeer.java27 import java.awt.Choice;
30 * The peer interface for {@link Choice}.
47 * @see Choice#add(String)
56 * @see Choice#remove(int)
63 * @see Choice#removeAll()
72 * @see Choice#select(int)
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWChoicePeer.java40 FontMetrics fm = getFontMetrics(((Choice)target).getFont());
41 Choice c = (Choice)target;
81 WChoicePeer(Choice target) {
88 Choice opt = (Choice)target;
135 final Choice c = (Choice)target;
146 Choice c = (Choice)targe
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/gbind/
H A DChoice.java33 public final class Choice extends Expression { class in inherits:Expression
47 public Choice(Expression lhs, Expression rhs) { method in class:Choice
/openjdk7/jdk/test/java/awt/Focus/ChoiceFocus/
H A DChoiceFocus.java27 @summary Choice components don't honour key focus
66 Choice c1 = new Choice();
67 c1.add("Choice 1, Item 1");
68 c1.add("Choice 1, Item 2");
70 Choice c2 = new Choice();
71 c2.add("Choice 2, Item 1");
72 c2.add("Choice 2, Item 2");
98 //transfer focus to Choice
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXChoicePeer.java35 // FIXME: key and mouse events should not be delivered to listeners when the Choice is unfurled. Must override handleNativeKey/MouseEvent (4816336)
51 // unfurled Choice
70 // the unfurled Choice list and for when the Choice itself is focused and
75 // enough, the Choice stays popped down. If long enough, Choice
78 private boolean unfurled = false; // Choice list is popped down
82 // Choice
88 // furled Choice so we
90 // Choice whe
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWChoicePeer.java37 final class LWChoicePeer extends LWComponentPeer<Choice, JComboBox<String>>
41 * According to Choice specification item events are sent in response to
47 LWChoicePeer(final Choice target,
60 final Choice choice = getTarget();
77 // AWT Choice sends SELECTED event only whereas JComboBox
/openjdk7/jdk/test/java/awt/Choice/NonFocusablePopupMenuTest/
H A DNonFocusablePopupMenuTest.java40 Choice choice = new Choice();
/openjdk7/jdk/test/java/awt/Choice/UnfocusableToplevel/
H A DUnfocusableToplevel.java29 @summary Choice in unfocusable window responds to keyboard
55 final Choice ch = new Choice();
/openjdk7/jdk/src/share/classes/com/sun/beans/editors/
H A DFontEditor.java40 familyChoser = new Choice();
47 styleChoser = new Choice();
54 sizeChoser = new Choice();
208 private Choice familyChoser;
209 private Choice styleChoser;
210 private Choice sizeChoser;
H A DColorEditor.java55 choser = new Choice();
211 private Choice choser;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/
H A DExpressionBuilder.java34 import com.sun.tools.internal.xjc.reader.gbind.Choice;
95 else e = new Choice(e,particle(p));
129 e = new Choice(e,Expression.EPSILON);
/openjdk7/jdk/src/share/demo/applets/CardTest/
H A DCardTest.java46 import java.awt.Choice;
146 Choice c = new Choice();
/openjdk7/jdk/test/java/awt/Choice/ChoiceKeyEventReaction/
H A DChoiceKeyEventReaction.java40 Choice choice1 = new Choice();
108 throw new RuntimeException("Test failed. ItemChanged event occur on Choice.");
126 System.out.println("Test passed. Unfocusable Choice doesn't react on keys.");
/openjdk7/jdk/test/java/awt/Choice/ChoiceMouseWheelTest/
H A DChoiceMouseWheelTest.java27 @summary closed/java/awt/Choice/WheelEventsConsumed/WheelEventsConsumed.html fails on win32
49 Choice choice = new Choice();
/openjdk7/jdk/test/java/awt/List/MouseDraggedOutCauseScrollingTest/
H A DMouseDraggedOutCauseScrollingTest.java27 @summary Dragging of mouse outside of a List and Choice area don't work properly on XAWT
37 Choice choice;
45 choice = new Choice();
49 choice.add("Choice");
/openjdk7/jdk/test/java/awt/Window/GrabSequence/
H A DGrabSequence.java27 @summary PIT. Choice drop down does not close once it is right clicked to show a popup menu
52 Choice ch = new Choice();
73 pm.show((Choice)event.getSource(), event.getX(), event.getY());
80 pm.show((Choice)event.getSource(), event.getX(), event.getY());
104 GrabSequence.fail("Test failed. Choice is still not opened. ");
123 GrabSequence.fail("Test failed. Choice is still opened. ");
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DCodingChooser.java61 Choice[] choices;
70 class Choice { class in class:CodingChooser
74 Choice(Coding coding, int index, int[] distance) { method in class:CodingChooser.Choice
112 return "Choice["+index+"] "+s+" "+coding;
152 choices = new Choice[nc];
157 choices[nc++] = new Choice(allCodingChoices[i], i, distance);
173 Choice makeExtraChoice(Coding coding) {
182 Choice c = new Choice(coding, -1, distance);
201 private Choice regularChoic
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/
H A DComponentFactory.java53 ChoicePeer createChoice(Choice target) throws HeadlessException;
/openjdk7/jdk/src/share/demo/applets/DrawTest/
H A DDrawTest.java46 import java.awt.Choice;
261 Choice shapes = new Choice();
291 } else if (e.getSource() instanceof Choice) {
/openjdk7/jdk/src/share/classes/java/awt/
H A DChoice.java38 * 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 { class in inherits:Component,ItemSelectable,Accessible
74 * The items for the <code>Choice</code>.
87 * The index of the current choice for this <code>Choice</cod
117 public Choice() throws HeadlessException { method in class:Choice
[all...]
/openjdk7/jdk/src/share/classes/sun/applet/
H A DAppletProps.java44 Choice accessMode;
58 p.add(accessMode = new Choice());
/openjdk7/jdk/test/java/awt/Menu/OpensWithNoGrab/
H A DOpensWithNoGrab.java27 @summary REG: Menu does not disappear when clicked, keeping Choice's drop-down open, XToolkit
58 Choice ch = new Choice ();
94 // press on Choice
118 OpensWithNoGrab.fail("Failed: menu was opened by first click after opened Choice.");
/openjdk7/jdk/test/java/awt/Robot/ManualInstructions/
H A DManualInstructions.java31 Choice buttonNumber = new Choice();
/openjdk7/jdk/test/java/awt/Focus/NonFocusableWindowTest/
H A DNoEventsTest.java254 if (comp instanceof Choice) {
307 Choice choice = new Choice();
/openjdk7/jdk/src/share/demo/applets/DitherTest/
H A DDitherTest.java47 import java.awt.Choice;
350 private Choice choice;
360 add(choice = new Choice());

Completed in 93 milliseconds

12