Searched refs:choice (Results 1 - 25 of 27) sorted by relevance

12

/openjdk7/jdk/test/java/awt/Choice/ChoiceMouseWheelTest/
H A DChoiceMouseWheelTest.java28 @author Oleg Pekhovskiy: area=awt-choice
49 Choice choice = new Choice();
59 choice.add(i.toString());
62 choice.addItemListener(new ItemListener() {
67 choice.addMouseWheelListener(new MouseWheelListener() {
80 add(choice);
90 Point pt = choice.getLocationOnScreen();
91 Dimension size = choice.getSize();
95 // Test mouse wheel over the choice
98 // mouse wheel doesn't work for the choice o
[all...]
/openjdk7/jdk/test/java/awt/Choice/NonFocusablePopupMenuTest/
H A DNonFocusablePopupMenuTest.java27 @summary regression: Selection the item on the choice don't work properly in vista ultimate.
28 @author Dmitry Cherepanov area=awt.choice
40 Choice choice = new Choice();
41 choice.add("111");
42 choice.add("222");
43 choice.add("333");
44 choice.add("444");
45 choice.setFocusable(false);
47 this.add(choice);
53 "1) The applet contains a non-focusable choice, ",
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/schemagen/xmlschema/
H A DTypeDefParticle.java43 public ExplicitGroup choice(); method in interface:TypeDefParticle
H A DContentModelContainer.java52 ExplicitGroup choice(); method in interface:ContentModelContainer
H A DNestedParticle.java46 public ExplicitGroup choice(); method in interface:NestedParticle
/openjdk7/jdk/test/java/awt/List/MouseDraggedOutCauseScrollingTest/
H A DMouseDraggedOutCauseScrollingTest.java37 Choice choice; field in class:MouseDraggedOutCauseScrollingTest
45 choice = new Choice();
49 choice.add("Choice");
51 choice.add(""+i);
62 this.add(choice);
77 "1.1) Click on the choice",
78 "1.2) Press the left button of the mouse and keep on any item of the choice, for example 5",
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DCUPSfuncs.c206 ppd_choice_t *choice; local
257 choice = (optionPage->choices)+i;
258 utf_str = JNU_NewStringPlatform(env, choice->text);
268 utf_str = JNU_NewStringPlatform(env, choice->choice);
272 DPRINTF("CUPSfuncs::bad alloc new string ->choice\n", "")
281 choice = (optionTray->choices)+i;
282 utf_str = JNU_NewStringPlatform(env, choice->text);
293 utf_str = JNU_NewStringPlatform(env, choice->choice);
322 ppd_choice_t *choice; local
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWChoicePeer.java60 final Choice choice = getTarget();
63 final int count = choice.getItemCount();
65 combo.addItem(choice.getItem(i));
67 select(choice.getSelectedIndex());
/openjdk7/jdk/src/share/classes/sun/print/
H A DCustomMediaTray.java49 public CustomMediaTray(String name, String choice) { argument
51 choiceName = choice;
H A DCustomMediaSizeName.java59 public CustomMediaSizeName(String name, String choice, argument
62 choiceName = choice;
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Choice.cpp47 jobject choice; member in struct:ReshapeStruct
53 jobject choice; member in struct:SelectStruct
58 jobject choice; member in struct:AddItemsStruct
64 jobject choice; member in struct:RemoveStruct
74 /* Bug #4338368: consume the spurious MouseUp when the choice loses focus */
140 * choice must be determinded in its creation, when the parent
141 * cannot get the choice's instance from its handle. So
142 * record the pair of the ID and the instance of the choice.
286 // so vertically center the choice in it's bounding box
341 /* This size is window size of choice an
527 jobject choice = rs->choice; local
556 jobject choice = ss->choice; local
582 jobject choice = ais->choice; local
627 jobject choice = rs->choice; local
653 jobject choice = (jobject)param; local
676 jobject choice = (jobject)param; local
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DNumberFormat.java743 int choice) {
752 choice);
768 int entry = (choice == INTEGERSTYLE) ? NUMBERSTYLE : choice;
771 if (choice == INTEGERSTYLE) {
775 } else if (choice == CURRENCYSTYLE) {
1144 int choice = (Integer)params[0];
1146 switch (choice) {
1156 assert false : choice;
742 getInstance(Locale desiredLocale, int choice) argument
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/traversers/
H A DXSAttributeChecker.java691 // for element "choice" - local
1234 int choice;
1272 choice = 0;
1274 choice = XSConstants.DERIVATION_SUBSTITUTION|XSConstants.DERIVATION_EXTENSION|
1283 choice |= XSConstants.DERIVATION_EXTENSION;
1286 choice |= XSConstants.DERIVATION_RESTRICTION;
1289 choice |= XSConstants.DERIVATION_SUBSTITUTION;
1296 retValue = fXIntPool.getXInt(choice);
1302 choice = 0;
1304 //choice
[all...]
H A DXSDAbstractParticleTraverser.java146 * Content: (annotation? , (element | group | choice | sequence | any)*)
166 * <choice
170 * Content: (annotation? , (element | group | choice | sequence | any)*)
171 * </choice>
188 * Common traversal for <choice> and <sequence>
193 * @param choice If traversing <choice> this parameter is true.
200 boolean choice,
255 if (choice) {
256 args = new Object[]{"choice", "(annotatio
196 traverseSeqChoice(Element decl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, boolean choice, XSObject parent) argument
[all...]
/openjdk7/jdk/test/java/awt/Focus/NonFocusableWindowTest/
H A DNoEventsTest.java307 Choice choice = new Choice();
308 choice.add("one");
309 choice.add("two");
310 choice.add("three");
311 add(choice);
312 choice.setName("choice" + row + "" + col);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/
H A DMultiplicityCounter.java84 r = Multiplicity.choice(r,m);
/openjdk7/jdk/src/share/demo/applets/DitherTest/
H A DDitherTest.java350 private Choice choice; field in class:DitherControls
360 add(choice = new Choice());
362 choice.addItem(m.toString().substring(0, 1)
365 choice.select(type.ordinal());
388 return choice.getSelectedIndex();
/openjdk7/jdk/src/share/demo/applets/DrawTest/
H A DDrawTest.java292 String choice = (String) e.getItem();
293 if (choice.equals("Lines")) {
295 } else if (choice.equals("Points")) {
/openjdk7/jdk/src/share/classes/sun/awt/im/
H A DInputMethodPopupMenu.java161 String choice = event.getActionCommand();
162 ((ExecutableInputMethodManager)InputMethodManager.getInstance()).changeInputMethod(choice);
H A DInputMethodManager.java511 synchronized void changeInputMethod(String choice) { argument
514 String inputMethodName = choice;
516 int index = choice.indexOf('\n');
518 localeString = choice.substring(index + 1);
519 inputMethodName = choice.substring(0, index);
/openjdk7/jdk/src/share/classes/sun/security/tools/policytool/
H A DPolicyTool.java1867 // principal choice
1868 Choice choice = new Choice();
1869 choice.add(PRIN_TYPE);
1870 choice.getAccessibleContext().setAccessibleName(PRIN_TYPE);
1873 choice.add(next.CLASS);
1876 choice.addItemListener(new PrincipalTypeMenuListener(newTD));
1880 choice.select(PRIN_TYPE);
1884 choice.select(inputPrin.CLASS);
1889 tw.addNewComponent(newTD, choice, PRD_PRIN_CHOICE,
1974 // permission choice (adde
[all...]
/openjdk7/jdk/src/share/demo/jfc/Font2DTest/
H A DFont2DTest.java948 /// User cancelled selection; reset to previous choice
1122 private ChoiceV2 choice = null; field in class:Font2DTest.ChoiceV2Renderer
1124 public ChoiceV2Renderer(ChoiceV2 choice) { argument
1140 this.choice = choice;
1155 index = choice.getSelectedIndex();
1158 if(choice.getBit(index)) {
/openjdk7/hotspot/src/share/vm/opto/
H A Dlcm.cpp400 // one choice, then use it. Projections take top priority for correctness
418 uint choice = 0; // Bigger is most important local
504 if( choice < n_choice ||
505 ( choice == n_choice &&
509 choice = n_choice;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/
H A DMultiplicity.java164 public static Multiplicity choice( Multiplicity lhs, Multiplicity rhs ) { method in class:Multiplicity
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/schemagen/
H A DXmlSchemaGenerator.java1099 final Tree choice = Tree.makeGroup(GroupKind.CHOICE, children)
1126 choice.write(p);
1130 return choice;
1301 final Tree choice = Tree.makeGroup(GroupKind.CHOICE, children).makeRepeated(rp.isCollection()).makeOptional(!rp.isRequired());
1315 choice.write(p);
1319 return choice;

Completed in 119 milliseconds

12