Searched refs:buttons (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/peer/
H A DRobotPeer.java55 * @param buttons the button mask
59 void mousePress(int buttons); argument
64 * @param buttons the button mask
68 void mouseRelease(int buttons); argument
/openjdk7/jdk/src/share/classes/sun/swing/
H A DWindowsPlacesBar.java53 JToggleButton[] buttons; field in class:WindowsPlacesBar
90 buttons = new JToggleButton[files.length];
118 buttons[i] = new JToggleButton(folderName, icon);
120 buttons[i].setText("<html><center>"+folderName+"</center></html>");
123 buttons[i].putClientProperty("XPStyle.subAppName", "placesbar");
126 buttons[i].setContentAreaFilled(false);
127 buttons[i].setForeground(fgColor);
129 buttons[i].setMargin(new Insets(3, 2, 1, 2));
130 buttons[i].setFocusPainted(false);
131 buttons[
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DButtonGroup.java34 * a set of buttons. Creating a set of buttons with the
36 * turning "on" one of those buttons
37 * turns off all other buttons in the group.
51 * Initially, all buttons in the group are unselected.
70 // the list of buttons participating in this group
71 protected Vector<AbstractButton> buttons = new Vector<AbstractButton>(); field in class:ButtonGroup
91 buttons.addElement(b);
112 buttons.removeElement(b);
120 * Clears the selection such that none of the buttons
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCRobot.java41 // mouse move events. This means that we have to track buttons state
73 * Presses one or more mouse buttons.
75 * @param buttons the button mask (combination of
79 public void mousePress(int buttons) { argument
80 mouseButtonsState |= buttons;
83 buttons, true, false);
87 * Releases one or more mouse buttons.
89 * @param buttons the button mask (combination of
93 public void mouseRelease(int buttons) { argument
94 mouseButtonsState &= ~buttons;
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXRobotPeer.java58 public void mousePress(int buttons) { argument
59 mousePressImpl(buttons);
62 public void mouseRelease(int buttons) { argument
63 mouseReleaseImpl(buttons);
93 private static native synchronized void mousePressImpl(int buttons); argument
94 private static native synchronized void mouseReleaseImpl(int buttons); argument
H A DXFileDialogPeer.java100 Panel buttons; field in class:XFileDialogPeer
163 buttons = new Panel();
164 buttons.setLayout(gblButtons);
268 // add buttons to GridBagLayout Buttons
270 GridBagConstraints.WEST, (Container)buttons,
273 GridBagConstraints.CENTER, (Container)buttons,
276 GridBagConstraints.EAST, (Container)buttons,
280 addComponent(buttons, gbl, gbc, 0, 9, 2,
H A DXWindow.java601 // 2) if Xsystem reports that "state" represents that button was just released. This only happens on RELEASE with 1,2,3 buttons.
603 if (((state & XConstants.buttonsMask[i]) != 0) != (button == XConstants.buttons[i])){
604 //exclude wheel buttons from adding their numbers as modifiers
670 * Ignore the buttons above 20 due to the bit limit for
721 button = XConstants.buttons[lbutton - 1];
722 // 4 and 5 buttons are usually considered assigned to a first wheel
723 if (lbutton == XConstants.buttons[3] ||
724 lbutton == XConstants.buttons[4]) {
728 // mapping extra buttons to numbers starting from 4.
729 if ((button > XConstants.buttons[
[all...]
H A DXConstants.java232 public static final int buttons [] = new int [] {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24}; field in class:XConstants
H A DXDragSourceContextPeer.java670 * Ignore the buttons above 20 due to the bit limit for
707 if (xbutton.get_button() == XConstants.buttons[0]
708 || xbutton.get_button() == XConstants.buttons[1]) {
710 // ended on release of either of these buttons (as the same
H A DXWindowPeer.java2076 // here is the bug in WM: extra buttons doesn't have state!=0 as they should.
2123 * Ignore the buttons above 20 due to the bit limit for
2143 && xbe.get_button() == XConstants.buttons[0])
2148 && xbe.get_button() == XConstants.buttons[0]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWRobotPeer.java51 public native void mousePress(int buttons); argument
52 public native void mouseRelease(int buttons); argument
/openjdk7/jdk/src/share/classes/java/awt/
H A DRobot.java208 * Presses one or more mouse buttons. The mouse buttons should
211 * @param buttons the Button mask; a combination of one or more
214 * It is allowed to use only a combination of valid values as a {@code buttons} parameter.
223 * <li> If support for extended mouse buttons is
228 * <li> If support for extended mouse buttons is
231 * and masks for existing extended mouse buttons, if the mouse has more then three buttons.
232 * In that way, it is allowed to use the button masks corresponding to the buttons
249 * @throws IllegalArgumentException if the {@code buttons} mas
259 mousePress(int buttons) argument
316 mouseRelease(int buttons) argument
322 checkButtonsArgument(int buttons) argument
[all...]
/openjdk7/jdk/test/javax/swing/JPopupMenu/4966112/
H A Dbug4966112.java123 private static void clickMouse(int buttons) { argument
124 robot.mousePress(buttons);
125 robot.mouseRelease(buttons);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Robot.cpp377 JNIEnv * env, jobject self, jint buttons)
381 AwtRobot::GetRobot(self)->MousePress(buttons);
387 JNIEnv * env, jobject self, jint buttons)
391 AwtRobot::GetRobot(self)->MouseRelease(buttons);
376 Java_sun_awt_windows_WRobotPeer_mousePress( JNIEnv * env, jobject self, jint buttons) argument
386 Java_sun_awt_windows_WRobotPeer_mouseRelease( JNIEnv * env, jobject self, jint buttons) argument
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicOptionPaneUI.java50 * message and buttons into a <code>Container</code>.
59 * | buttons |
73 * The <code>Container</code>, message, icon, and buttons are all
103 * in either the message or the buttons. */
610 * Creates and returns a Container containing the buttons. The buttons
636 * <code>buttons</code> and adds it to <code>container</code>. This
638 * <code>buttons</code> and that if button is not a Component
641 protected void addButtonComponents(Container container, Object[] buttons, argument
643 if (buttons !
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DXOpenTypeViewer.java669 // Enable/Disable the tabular buttons
692 // Enable/Disable the composite buttons
769 JPanel buttons = new JPanel(new FlowLayout(FlowLayout.LEFT));
784 buttons.add(prev);
799 buttons.add(array);
801 buttons.setBackground(Color.white);
806 navigationPanel.add(buttons, BorderLayout.WEST);

Completed in 70 milliseconds