/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CWarningWindow.java | 190 public void notifyMouseEvent(int id, long when, int button, int x, int y, argument
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Checkbox.cpp | 68 return TEXT("BUTTON"); /* System provided checkbox class (a type of button) */ 146 AwtCheckbox::WmMouseUp(UINT flags, int x, int y, int button) argument 148 MsgRouting mrResult = AwtComponent::WmMouseUp(flags, x, y, button); 159 if (::PtInRect(&rect, p) && button == LEFT_BUTTON && m_fLButtonDowned) { 167 AwtCheckbox::WmMouseDown(UINT flags, int x, int y, int button) argument 170 return AwtComponent::WmMouseDown(flags, x, y, button); 518 /* Check button style */
|
H A D | awt_Scrollbar.cpp | 242 AwtScrollbar::WmMouseDown(UINT flags, int x, int y, int button) argument 250 MsgRouting usualRoute = AwtComponent::WmMouseDown(flags, x, y, button); 256 if (button == LEFT_BUTTON) 269 // Left button press was already routed to default window
|
H A D | awt_Choice.cpp | 252 and right mouse buttons, but leave left button alone */ 494 AwtChoice::WmMouseUp(UINT flags, int x, int y, int button) argument 500 return AwtComponent::WmMouseUp(flags, x, y, button);
|
H A D | awt_Dialog.cpp | 204 MsgRouting AwtDialog::WmNcMouseDown(WPARAM hitTest, int x, int y, int button) { argument 210 if (!IsFocusableWindow() && (button & LEFT_BUTTON)) { 212 if ((button & DBL_CLICK) && hitTest == HTCAPTION) { 216 return AwtFrame::WmNcMouseDown(hitTest, x, y, button); 229 // "show desktop" button, so we should restore them first
|
H A D | awt_List.cpp | 426 AwtList::WmMouseUp(UINT flags, int x, int y, int button) argument 434 if (button == LEFT_BUTTON) { 438 MsgRouting compResult = AwtComponent::WmMouseUp(flags, x, y, button); 443 AwtList::WmMouseDown(UINT flags, int x, int y, int button) argument 445 MsgRouting mrResult = AwtComponent::WmMouseDown(flags, x, y, button); 457 if (button == LEFT_BUTTON && clickCount >= 2 && clickCount % 2 == 0) {
|
H A D | awt_Frame.cpp | 429 MsgRouting AwtFrame::WmMouseUp(UINT flags, int x, int y, int button) { argument 435 return AwtWindow::WmMouseUp(flags, x, y, button); 502 MsgRouting AwtFrame::WmNcMouseUp(WPARAM hitTest, int x, int y, int button) { argument 503 if (!IsFocusableWindow() && (button & LEFT_BUTTON)) { 517 if ((button & DBL_CLICK) && hitTest == HTCAPTION) { 542 return AwtWindow::WmNcMouseUp(hitTest, x, y, button); 545 MsgRouting AwtFrame::WmNcMouseDown(WPARAM hitTest, int x, int y, int button) { argument 551 if (!IsFocusableWindow() && (button & LEFT_BUTTON)) { 579 return AwtWindow::WmNcMouseDown(hitTest, x, y, button);
|
H A D | awt_TrayIcon.cpp | 326 MsgRouting AwtTrayIcon::WmMouseDown(UINT flags, int x, int y, int button) argument 332 lastButton == button && 341 lastButton = button; 347 m_mouseButtonClickAllowed |= AwtComponent::GetButtonMK(button); 354 AwtComponent::GetButton(button), &msg); 359 MsgRouting AwtTrayIcon::WmMouseUp(UINT flags, int x, int y, int button) argument 366 (AwtComponent::GetButton(button) == java_awt_event_MouseEvent_BUTTON3 ? 367 TRUE : FALSE), AwtComponent::GetButton(button), &msg); 369 if ((m_mouseButtonClickAllowed & AwtComponent::GetButtonMK(button)) != 0) { // No up-button i 477 SendMouseEvent(jint id, jlong when, jint x, jint y, jint modifiers, jint clickCount, jboolean popupTrigger, jint button, MSG *pMsg) argument [all...] |
H A D | awt_Window.cpp | 342 MsgRouting AwtWindow::WmNcMouseDown(WPARAM hitTest, int x, int y, int button) { argument 346 return AwtCanvas::WmNcMouseDown(hitTest, x, y, button);
|
H A D | awt_Component.cpp | 1576 // mouse button after a WM_NCLBUTTONDBLCLK. We want to ignore this 2279 MsgRouting AwtComponent::WmNcMouseDown(WPARAM hitTest, int x, int y, int button) { argument 2282 MsgRouting AwtComponent::WmNcMouseUp(WPARAM hitTest, int x, int y, int button) { argument 2311 MsgRouting AwtComponent::WmMouseDown(UINT flags, int x, int y, int button) argument 2316 lastButton == button && 2325 lastButton = button; 2332 m_mouseButtonClickAllowed |= GetButtonMK(button); 2353 GetButton(button), &msg); 2373 MsgRouting AwtComponent::WmMouseUp(UINT flags, int x, int y, int button) argument 2380 (GetButton(button) 4849 SendMouseEvent(jint id, jlong when, jint x, jint y, jint modifiers, jint clickCount, jboolean popupTrigger, jint button, MSG *pMsg) argument 5161 jint button = (env)->GetIntField(mouseEvent, AwtMouseEvent::buttonID); local [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | ConnectDialog.java | 702 // button part of a JRadioButton. 719 private static Rectangle getTextRectangle(AbstractButton button) { argument 720 String text = button.getText(); 721 Icon icon = (button.isEnabled()) ? button.getIcon() : button.getDisabledIcon(); 723 if (icon == null && button.getUI() instanceof BasicRadioButtonUI) { 724 icon = ((BasicRadioButtonUI)button.getUI()).getDefaultIcon(); 736 paintViewInsets = button.getInsets(paintViewInsets); 739 paintViewR.width = button [all...] |
/openjdk7/jdk/src/share/demo/applets/DitherTest/ |
H A D | DitherTest.java | 349 private Button button; field in class:DitherControls 370 /* puts on the button */ 372 add(button = new Button("New Image")); 373 button.addActionListener(this); 401 /* called when user clicks the button */ 404 if (e.getSource() == button) {
|
/openjdk7/jdk/test/java/awt/regtesthelpers/ |
H A D | Util.java | 145 * and performs a left mouse button click using the {@code robot} parameter 158 * and performs a left mouse button click using the {@code robot} parameter 290 * Drags from one point to another with the specified mouse button pressed. 295 * @param button one of {@code InputEvent.BUTTON1_MASK}, 298 * @throws IllegalArgumentException if {@code button} is not one of 302 public static void drag(Robot robot, Point startPoint, Point endPoint, int button) { argument 303 if (!(button == InputEvent.BUTTON1_MASK || button == InputEvent.BUTTON2_MASK 304 || button == InputEvent.BUTTON3_MASK)) 306 throw new IllegalArgumentException("invalid mouse button"); 589 trackActionPerformed(Button button, Runnable action, int time, boolean printEvent) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicOptionPaneUI.java | 638 * <code>buttons</code> and that if button is not a Component 655 Object button = buttons[counter]; 658 if (button instanceof Component) { 660 newComponent = (Component)button; 667 if (button instanceof ButtonFactory) { 668 aButton = ((ButtonFactory)button).createButton(); 670 else if (button instanceof Icon) 671 aButton = new JButton((Icon)button); 673 aButton = new JButton(button.toString()); 675 aButton.setName("OptionPane.button"); 1153 configureButton(JButton button) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XBaseWindow.java | 1029 static boolean isFullRelease(int buttonState, int button) { argument 1032 if (button < 0 || button > buttonsNumber) { 1035 return buttonState == XConstants.buttonsMask[button - 1];
|
H A D | XTextAreaPeer.java | 1284 // is set to a scrollbar or to a scroll-button, then references to their 1329 // invoke a correct Swing button listener. 1383 // events. But, as at least one mouse-button is down, we will detect 1452 private boolean setPointerIfPointOverButton( JButton button, Point point ) { argument 1453 if ( ! button.getBounds().contains( point ) ) { 1456 current.setButton( button ); 1478 return ok ? button : null; 1490 void setButton( JButton button ) { 1491 this.button=button; 1497 private JButton button; field in class:XTextAreaPeer.JavaMouseEventHandler.Pointer [all...] |
H A D | XWindow.java | 114 /* A bitmask keeps the button's numbers as Button1Mask, Button2Mask, Button3Mask 118 * 1) button was initially PRESSED 570 static int getModifiers(int state, int button, int keyCode) { argument 571 return getModifiers(state, button, keyCode, 0, false); 574 static int getModifiers(int state, int button, int keyCode, int type, boolean wheel_mouse) { argument 593 // button currently reflects a real button number and starts from 1. (except NOBUTTON which is zero ) 595 /* this is an attempt to refactor button IDs in : MouseEvent, InputEvent, XlibWrapper and XWindow.*/ 597 //reflects a button number similar to MouseEvent.BUTTON1, 2, 3 etc. 600 // 1) current button i [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | AbstractButton.java | 52 * <code>Action</code> with a button has many benefits beyond directly 53 * configuring a button. Refer to <a href="Action.html#buttonActions"> 61 href="http://java.sun.com/docs/books/tutorial/uiswing/components/button.html">How to Use Buttons, Check Boxes, and Radio Buttons</a>, 81 /** Identifies a change in the button model. */ 83 /** Identifies a change in the button's text. */ 85 /** Identifies a change to the button's mnemonic. */ 89 /** Identifies a change in the button's margins. */ 91 /** Identifies a change in the button's vertical alignment. */ 93 /** Identifies a change in the button's horizontal alignment. */ 96 /** Identifies a change in the button' 1355 actionPropertyChanged(AbstractButton button, Action action, PropertyChangeEvent e) argument [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/ |
H A D | LWWindowPeer.java | 98 // depending on what mouse button is being dragged according to Cocoa 103 // events between MOUSE_PRESSED and MOUSE_RELEASED for particular button 767 public void notifyMouseEvent(int id, long when, int button, argument 791 screenX, screenY, clickCount, popupTrigger, button); 809 screenX, screenY, clickCount, popupTrigger, button); 814 screenX, screenY, clickCount, popupTrigger, button); 822 screenX, screenY, clickCount, popupTrigger, button); 827 int eventButtonMask = (button > 0)? MouseEvent.getMaskForButton(button) : 0; 832 int targetIdx = (button > 917 postMouseEnteredExitedEvent( Component target, int id, long when, int modifiers, Point loc, int xAbs, int yAbs, int clickCount, boolean popupTrigger, int button) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | ServiceDialog.java | 216 btnApprove = createExitButton("button.print", this); 219 btnCancel = createExitButton("button.cancel", this); 287 btnApprove = createExitButton("button.ok", this); 290 btnCancel = createExitButton("button.cancel", this); 331 * the "Print" or "Cancel" button) 430 jfc.setApproveButtonText(getMsg("button.ok")); 646 private static void addToBG(AbstractButton button, Container cont, argument 649 bg.add(button); 650 cont.add(button); 749 btnProperties = createButton("button [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | gtk2_interface.h | 477 GtkButton button; member in struct:__anon1000
|