org.eclipse.swt.widgets.Spinner.sendSelectionEvent()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(141)

本文整理了Java中org.eclipse.swt.widgets.Spinner.sendSelectionEvent()方法的一些代码示例,展示了Spinner.sendSelectionEvent()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Spinner.sendSelectionEvent()方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Spinner
类名称:Spinner
方法名:sendSelectionEvent

Spinner.sendSelectionEvent介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

@Override
int /*long*/ gtk_activate (int /*long*/ widget) {
  sendSelectionEvent (SWT.DefaultSelection);
  return 0;
}

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

@Override
long /*int*/ gtk_activate (long /*int*/ widget) {
  sendSelectionEvent (SWT.DefaultSelection);
  return 0;
}

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

@Override
int /*long*/ gtk_activate (int /*long*/ widget) {
  sendSelectionEvent (SWT.DefaultSelection);
  return 0;
}

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

@Override
int /*long*/ gtk_value_changed (int /*long*/ widget) {
  sendSelectionEvent (SWT.Selection);
  return 0;
}

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

@Override
int /*long*/ gtk_value_changed (int /*long*/ widget) {
  sendSelectionEvent (SWT.Selection);
  return 0;
}

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

@Override
long /*int*/ gtk_value_changed (long /*int*/ widget) {
  sendSelectionEvent (SWT.Selection);
  return 0;
}

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

@Override
LRESULT wmChar (int /*long*/ hwnd, int /*long*/ wParam, int /*long*/ lParam) {
  if (ignoreCharacter) return null;
  LRESULT result = super.wmChar (hwnd, wParam, lParam);
  if (result != null) return result;
  /*
  * Feature in Windows.  For some reason, when the
  * widget is a single line text widget, when the
  * user presses tab, return or escape, Windows beeps.
  * The fix is to look for these keys and not call
  * the window proc.
  */
  switch ((int)/*64*/wParam) {
    case SWT.CR:
      sendSelectionEvent (SWT.DefaultSelection);
      // FALL THROUGH
    case SWT.TAB:
    case SWT.ESC: return LRESULT.ZERO;
  }
  return result;
}

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

@Override
LRESULT wmScrollChild (int /*long*/ wParam, int /*long*/ lParam) {
  int code = OS.LOWORD (wParam);
  switch (code) {
    case OS.SB_THUMBPOSITION:
      sendSelectionEvent (SWT.Selection);
      break;
  }
  return super.wmScrollChild (wParam, lParam);
}

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

if (notify) sendSelectionEvent (SWT.Selection);

代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64

sendEvent (SWT.Modify);
if (notify) sendSelectionEvent (SWT.Selection);

代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64

case 76: /* KP Enter */
case 36: { /* Return */
  sendSelectionEvent (SWT.DefaultSelection);
  return true;

相关文章