本文整理了Java中org.eclipse.swt.widgets.Spinner.sendEvent()
方法的一些代码示例,展示了Spinner.sendEvent()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Spinner.sendEvent()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Spinner
类名称:Spinner
方法名:sendEvent
暂无
代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64
sendEvent (SWT.Verify, event);
if (!event.doit || isDisposed ()) return null;
return event.text;
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86
event.end = mbcsToWcsPos (end);
sendEvent (SWT.Verify, event);
if (!event.doit || isDisposed ()) return null;
return event.text;
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
sendEvent (SWT.Verify, event);
if (!event.doit || isDisposed ()) return null;
return event.text;
代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64
NSText fieldEditor = textView.currentEditor();
if (fieldEditor != null) fieldEditor.setSelectedRange(selection);
sendEvent (SWT.Modify);
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
sendEvent (SWT.Verify, event);
if (!event.doit || isDisposed ()) return null;
return event.text;
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
sendEvent (SWT.Verify, event);
if (!event.doit || isDisposed ()) return null;
return event.text;
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86
@Override
LRESULT wmCommandChild (int /*long*/ wParam, int /*long*/ lParam) {
int code = OS.HIWORD (wParam);
switch (code) {
case OS.EN_CHANGE:
if (ignoreModify) break;
boolean [] parseFail = new boolean [1];
int value = getSelectionText (parseFail);
if (!parseFail [0]) {
int pos;
if (OS.IsWinCE) {
pos = OS.LOWORD (OS.SendMessage (hwndUpDown, OS.UDM_GETPOS, 0, 0));
} else {
pos = (int)/*64*/OS.SendMessage (hwndUpDown, OS.UDM_GETPOS32, 0, 0);
}
if (pos != value) setSelection (value, true, false, true);
}
sendEvent (SWT.Modify);
if (isDisposed ()) return LRESULT.ZERO;
break;
}
return super.wmCommandChild (wParam, lParam);
}
代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64
if (!result) sendEvent (SWT.Modify);
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
postEvent (SWT.Modify);
} else {
sendEvent (SWT.Modify);
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
postEvent (SWT.Modify);
} else {
sendEvent (SWT.Modify);
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
postEvent (SWT.Modify);
} else {
sendEvent (SWT.Modify);
内容来源于网络,如有侵权,请联系作者删除!