Lines Matching refs:XConstants

190         params.putIfNull(EVENT_MASK, XConstants.KeyPressMask | XConstants.KeyReleaseMask
191 | XConstants.FocusChangeMask | XConstants.ButtonPressMask | XConstants.ButtonReleaseMask
192 | XConstants.EnterWindowMask | XConstants.LeaveWindowMask | XConstants.PointerMotionMask
193 | XConstants.ButtonMotionMask | XConstants.ExposureMask | XConstants.StructureNotifyMask);
204 params.putIfNull(VISUAL_CLASS, Integer.valueOf((int)XConstants.InputOutput));
206 params.putIfNull(VALUE_MASK, XConstants.CWBorderPixel | XConstants.CWEventMask | XConstants.CWColormap);
577 if (((state & XConstants.ShiftMask) != 0) ^ (keyCode == KeyEvent.VK_SHIFT)) {
580 if (((state & XConstants.ControlMask) != 0) ^ (keyCode == KeyEvent.VK_CONTROL)) {
598 for (int i = 0; i < XConstants.buttonsMask.length; i ++){
603 if (((state & XConstants.buttonsMask[i]) != 0) != (button == XConstants.buttons[i])){
617 res |= XConstants.ShiftMask;
620 res |= XConstants.ControlMask;
689 if (type == XConstants.ButtonPress) {
691 mouseButtonClickAllowed |= XConstants.buttonsMask[lbutton];
721 button = XConstants.buttons[lbutton - 1];
723 if (lbutton == XConstants.buttons[3] ||
724 lbutton == XConstants.buttons[4]) {
729 if ((button > XConstants.buttons[4]) && (!Toolkit.getDefaultToolkit().areExtraMouseButtonsEnabled())){
733 if (button > XConstants.buttons[4]){
740 type == XConstants.ButtonPress ? MouseEvent.MOUSE_PRESSED : MouseEvent.MOUSE_RELEASED,
748 if ((type == XConstants.ButtonRelease) &&
749 ((mouseButtonClickAllowed & XConstants.buttonsMask[lbutton]) != 0) ) // No up-button in the drag-state
764 if (xev.get_type() == XConstants.ButtonPress) {
777 if (type == XConstants.ButtonRelease) {
779 mouseButtonClickAllowed &= ~XConstants.buttonsMask[lbutton];
790 int mouseKeyState = 0; //(xme.get_state() & (XConstants.buttonsMask[0] | XConstants.buttonsMask[1] | XConstants.buttonsMask[2]));
800 mouseKeyState = mouseKeyState | (xme.get_state() & XConstants.buttonsMask[i]);
889 if (xce.get_type() == XConstants.EnterNotify) {
903 if (xce.get_mode() != XConstants.NotifyNormal) {
906 if (xce.get_type() == XConstants.EnterNotify) {
920 if (childWnd != XConstants.None) {
933 if (xce.get_type() == XConstants.EnterNotify) {
975 if (xce.get_type() == XConstants.EnterNotify) {
1045 return xEventType == XConstants.KeyPress ? java.awt.event.KeyEvent.KEY_PRESSED :
1046 xEventType == XConstants.KeyRelease ? java.awt.event.KeyEvent.KEY_RELEASED : 0;
1077 keysym[0] = XConstants.NoSymbol;
1129 (ev.get_type() == XConstants.KeyPress ? "KEY_PRESSED; " : "KEY_RELEASED; ")+
1180 keysym[0] = XConstants.NoSymbol;
1195 (ev.get_type() == XConstants.KeyPress ? "KEY_PRESSED; " : "KEY_RELEASED; ")+
1247 if (status != XConstants.Success || getter.getData() == 0) {