Lines Matching defs:buttonId
39 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++){
57 postMouseEventOldCtor(buttonId);
58 if (buttonId > 3) {
59 throw new RuntimeException("Stage 2 FAILED: MouseEvent CTOR accepted the extra button " + (buttonId+1) + " instead of throwing an exception.");
62 if (buttonId > 3) {
72 public static void postMouseEventNewCtor(int buttonId) {
82 buttonId //button
87 public static void postMouseEventOldCtor(int buttonId) {
95 buttonId //button