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

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

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

Scrollable.windowProc介绍

暂无

代码示例

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

  1. @Override
  2. int /*long*/ windowProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ user_data) {
  3. if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
  4. switch ((int)/*64*/user_data) {
  5. case DIRECTION_CHANGED: {
  6. clearSegments (true);
  7. applySegments ();
  8. break;
  9. }
  10. }
  11. }
  12. return super.windowProc (handle, arg0, user_data);
  13. }

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

  1. @Override
  2. int /*long*/ windowProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ user_data) {
  3. if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
  4. switch ((int)/*64*/user_data) {
  5. case DIRECTION_CHANGED: {
  6. clearSegments (true);
  7. applySegments ();
  8. break;
  9. }
  10. }
  11. }
  12. return super.windowProc (handle, arg0, user_data);
  13. }

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

  1. @Override
  2. long /*int*/ windowProc (long /*int*/ handle, long /*int*/ arg0, long /*int*/ user_data) {
  3. if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
  4. switch ((int)/*64*/user_data) {
  5. case DIRECTION_CHANGED: {
  6. clearSegments (true);
  7. applySegments ();
  8. break;
  9. }
  10. }
  11. }
  12. return super.windowProc (handle, arg0, user_data);
  13. }

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

  1. @Override
  2. int /*long*/ windowProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ user_data) {
  3. if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
  4. switch ((int)/*64*/user_data) {
  5. case DELETE_FROM_CURSOR: {
  6. clearSegments (true);
  7. break;
  8. }
  9. case DELETE_FROM_CURSOR_INVERSE: {
  10. applySegments ();
  11. break;
  12. }
  13. }
  14. }
  15. return super.windowProc (handle, arg0, arg1, user_data);
  16. }

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

  1. @Override
  2. int /*long*/ windowProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ user_data) {
  3. if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
  4. switch ((int)/*64*/user_data) {
  5. case DELETE_FROM_CURSOR: {
  6. clearSegments (true);
  7. break;
  8. }
  9. case DELETE_FROM_CURSOR_INVERSE: {
  10. applySegments ();
  11. break;
  12. }
  13. }
  14. }
  15. return super.windowProc (handle, arg0, arg1, user_data);
  16. }

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

  1. @Override
  2. long /*int*/ windowProc (long /*int*/ handle, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ user_data) {
  3. if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
  4. switch ((int)/*64*/user_data) {
  5. case DELETE_FROM_CURSOR: {
  6. clearSegments (true);
  7. break;
  8. }
  9. case DELETE_FROM_CURSOR_INVERSE: {
  10. applySegments ();
  11. break;
  12. }
  13. }
  14. }
  15. return super.windowProc (handle, arg0, arg1, user_data);
  16. }

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

  1. @Override
  2. long /*int*/ windowProc (long /*int*/ handle, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2, long /*int*/ user_data) {
  3. if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
  4. switch ((int)/*64*/user_data) {
  5. case MOVE_CURSOR: {
  6. if (arg0 == OS.GTK_MOVEMENT_VISUAL_POSITIONS) {
  7. clearSegments (true);
  8. }
  9. break;
  10. }
  11. case MOVE_CURSOR_INVERSE: {
  12. if (arg0 == OS.GTK_MOVEMENT_VISUAL_POSITIONS) {
  13. applySegments ();
  14. }
  15. break;
  16. }
  17. }
  18. }
  19. return super.windowProc (handle, arg0, arg1, arg2, user_data);
  20. }

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

  1. @Override
  2. int /*long*/ windowProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ user_data) {
  3. if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
  4. switch ((int)/*64*/user_data) {
  5. case MOVE_CURSOR: {
  6. if (arg0 == OS.GTK_MOVEMENT_VISUAL_POSITIONS) {
  7. clearSegments (true);
  8. }
  9. break;
  10. }
  11. case MOVE_CURSOR_INVERSE: {
  12. if (arg0 == OS.GTK_MOVEMENT_VISUAL_POSITIONS) {
  13. applySegments ();
  14. }
  15. break;
  16. }
  17. }
  18. }
  19. return super.windowProc (handle, arg0, arg1, arg2, user_data);
  20. }

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

  1. @Override
  2. int /*long*/ windowProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ user_data) {
  3. if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
  4. switch ((int)/*64*/user_data) {
  5. case MOVE_CURSOR: {
  6. if (arg0 == OS.GTK_MOVEMENT_VISUAL_POSITIONS) {
  7. clearSegments (true);
  8. }
  9. break;
  10. }
  11. case MOVE_CURSOR_INVERSE: {
  12. if (arg0 == OS.GTK_MOVEMENT_VISUAL_POSITIONS) {
  13. applySegments ();
  14. }
  15. break;
  16. }
  17. }
  18. }
  19. return super.windowProc (handle, arg0, arg1, arg2, user_data);
  20. }

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

  1. @Override
  2. int /*long*/ windowProc (int /*long*/ handle, int /*long*/ user_data) {
  3. if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
  4. switch ((int)/*64*/user_data) {
  5. case BACKSPACE:
  6. case COPY_CLIPBOARD:
  7. case CUT_CLIPBOARD:
  8. case PASTE_CLIPBOARD: {
  9. clearSegments (true);
  10. break;
  11. }
  12. case BACKSPACE_INVERSE:
  13. case COPY_CLIPBOARD_INVERSE:
  14. case CUT_CLIPBOARD_INVERSE:
  15. case PASTE_CLIPBOARD_INVERSE: {
  16. applySegments ();
  17. break;
  18. }
  19. }
  20. }
  21. return super.windowProc (handle, user_data);
  22. }

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

  1. @Override
  2. int /*long*/ windowProc (int /*long*/ handle, int /*long*/ user_data) {
  3. if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
  4. switch ((int)/*64*/user_data) {
  5. case BACKSPACE:
  6. case COPY_CLIPBOARD:
  7. case CUT_CLIPBOARD:
  8. case PASTE_CLIPBOARD: {
  9. clearSegments (true);
  10. break;
  11. }
  12. case BACKSPACE_INVERSE:
  13. case COPY_CLIPBOARD_INVERSE:
  14. case CUT_CLIPBOARD_INVERSE:
  15. case PASTE_CLIPBOARD_INVERSE: {
  16. applySegments ();
  17. break;
  18. }
  19. }
  20. }
  21. return super.windowProc (handle, user_data);
  22. }

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

  1. @Override
  2. long /*int*/ windowProc (long /*int*/ handle, long /*int*/ user_data) {
  3. if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
  4. switch ((int)/*64*/user_data) {
  5. case BACKSPACE:
  6. case COPY_CLIPBOARD:
  7. case CUT_CLIPBOARD:
  8. case PASTE_CLIPBOARD: {
  9. clearSegments (true);
  10. break;
  11. }
  12. case BACKSPACE_INVERSE:
  13. case COPY_CLIPBOARD_INVERSE:
  14. case CUT_CLIPBOARD_INVERSE:
  15. case PASTE_CLIPBOARD_INVERSE: {
  16. applySegments ();
  17. break;
  18. }
  19. }
  20. }
  21. return super.windowProc (handle, user_data);
  22. }

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

  1. int /*long*/ pszText = OS.HeapAlloc (hHeap, OS.HEAP_ZERO_MEMORY, length);
  2. OS.MoveMemory (pszText, buffer, length);
  3. int /*long*/ code = super.windowProc (hwnd, msg, wParam, pszText);
  4. OS.HeapFree (hHeap, 0, pszText);
  5. addedUCC = true;
  6. return super.windowProc (hwnd, msg, wParam, lParam);

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

  1. return 1;
  2. code = super.windowProc (hwnd, msg, wParam, lParam);
  3. if (updateDirection) {
  4. super.updateTextDirection (AUTO_TEXT_DIRECTION);

相关文章

Scrollable类方法