Searched defs:buttonId (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/test/java/awt/event/MouseEvent/CTORRestrictions/
H A DCTORRestrictions.java51 for (int buttonId = 1; buttonId <= numberOfButtons; buttonId++){
52 postMouseEventNewCtor(buttonId);
56 for (int buttonId = 1; buttonId <= numberOfButtons; buttonId++){
57 postMouseEventOldCtor(buttonId);
62 public static void postMouseEventNewCtor(int buttonId) { argument
72 buttonId //butto
77 postMouseEventOldCtor(int buttonId) argument
[all...]
H A DCTORRestrictions_Disable.java39 for (int buttonId = 1; buttonId <= MouseInfo.getNumberOfButtons(); buttonId++){
41 postMouseEventNewCtor(buttonId);
42 if (buttonId > 3) {
43 throw new RuntimeException("Stage 1 FAILED: MouseEvent CTOR accepted the extra button " + (buttonId+1) + " instead of throwing an exception.");
46 if (buttonId > 3) {
55 for (int buttonId = 1; buttonId <= MouseInfo.getNumberOfButtons(); buttonId
72 postMouseEventNewCtor(int buttonId) argument
87 postMouseEventOldCtor(int buttonId) argument
[all...]

Completed in 28 milliseconds