本文整理了Java中org.eclipse.swt.widgets.Scrollable.windowProc()
方法的一些代码示例,展示了Scrollable.windowProc()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Scrollable.windowProc()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Scrollable
类名称:Scrollable
方法名:windowProc
暂无
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
@Override
int /*long*/ windowProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ user_data) {
if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
switch ((int)/*64*/user_data) {
case DIRECTION_CHANGED: {
clearSegments (true);
applySegments ();
break;
}
}
}
return super.windowProc (handle, arg0, user_data);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
@Override
int /*long*/ windowProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ user_data) {
if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
switch ((int)/*64*/user_data) {
case DIRECTION_CHANGED: {
clearSegments (true);
applySegments ();
break;
}
}
}
return super.windowProc (handle, arg0, user_data);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
@Override
long /*int*/ windowProc (long /*int*/ handle, long /*int*/ arg0, long /*int*/ user_data) {
if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
switch ((int)/*64*/user_data) {
case DIRECTION_CHANGED: {
clearSegments (true);
applySegments ();
break;
}
}
}
return super.windowProc (handle, arg0, user_data);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
@Override
int /*long*/ windowProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ user_data) {
if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
switch ((int)/*64*/user_data) {
case DELETE_FROM_CURSOR: {
clearSegments (true);
break;
}
case DELETE_FROM_CURSOR_INVERSE: {
applySegments ();
break;
}
}
}
return super.windowProc (handle, arg0, arg1, user_data);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
@Override
int /*long*/ windowProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ user_data) {
if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
switch ((int)/*64*/user_data) {
case DELETE_FROM_CURSOR: {
clearSegments (true);
break;
}
case DELETE_FROM_CURSOR_INVERSE: {
applySegments ();
break;
}
}
}
return super.windowProc (handle, arg0, arg1, user_data);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
@Override
long /*int*/ windowProc (long /*int*/ handle, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ user_data) {
if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
switch ((int)/*64*/user_data) {
case DELETE_FROM_CURSOR: {
clearSegments (true);
break;
}
case DELETE_FROM_CURSOR_INVERSE: {
applySegments ();
break;
}
}
}
return super.windowProc (handle, arg0, arg1, user_data);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
@Override
long /*int*/ windowProc (long /*int*/ handle, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2, long /*int*/ user_data) {
if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
switch ((int)/*64*/user_data) {
case MOVE_CURSOR: {
if (arg0 == OS.GTK_MOVEMENT_VISUAL_POSITIONS) {
clearSegments (true);
}
break;
}
case MOVE_CURSOR_INVERSE: {
if (arg0 == OS.GTK_MOVEMENT_VISUAL_POSITIONS) {
applySegments ();
}
break;
}
}
}
return super.windowProc (handle, arg0, arg1, arg2, user_data);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
@Override
int /*long*/ windowProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ user_data) {
if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
switch ((int)/*64*/user_data) {
case MOVE_CURSOR: {
if (arg0 == OS.GTK_MOVEMENT_VISUAL_POSITIONS) {
clearSegments (true);
}
break;
}
case MOVE_CURSOR_INVERSE: {
if (arg0 == OS.GTK_MOVEMENT_VISUAL_POSITIONS) {
applySegments ();
}
break;
}
}
}
return super.windowProc (handle, arg0, arg1, arg2, user_data);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
@Override
int /*long*/ windowProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ user_data) {
if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
switch ((int)/*64*/user_data) {
case MOVE_CURSOR: {
if (arg0 == OS.GTK_MOVEMENT_VISUAL_POSITIONS) {
clearSegments (true);
}
break;
}
case MOVE_CURSOR_INVERSE: {
if (arg0 == OS.GTK_MOVEMENT_VISUAL_POSITIONS) {
applySegments ();
}
break;
}
}
}
return super.windowProc (handle, arg0, arg1, arg2, user_data);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
@Override
int /*long*/ windowProc (int /*long*/ handle, int /*long*/ user_data) {
if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
switch ((int)/*64*/user_data) {
case BACKSPACE:
case COPY_CLIPBOARD:
case CUT_CLIPBOARD:
case PASTE_CLIPBOARD: {
clearSegments (true);
break;
}
case BACKSPACE_INVERSE:
case COPY_CLIPBOARD_INVERSE:
case CUT_CLIPBOARD_INVERSE:
case PASTE_CLIPBOARD_INVERSE: {
applySegments ();
break;
}
}
}
return super.windowProc (handle, user_data);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
@Override
int /*long*/ windowProc (int /*long*/ handle, int /*long*/ user_data) {
if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
switch ((int)/*64*/user_data) {
case BACKSPACE:
case COPY_CLIPBOARD:
case CUT_CLIPBOARD:
case PASTE_CLIPBOARD: {
clearSegments (true);
break;
}
case BACKSPACE_INVERSE:
case COPY_CLIPBOARD_INVERSE:
case CUT_CLIPBOARD_INVERSE:
case PASTE_CLIPBOARD_INVERSE: {
applySegments ();
break;
}
}
}
return super.windowProc (handle, user_data);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
@Override
long /*int*/ windowProc (long /*int*/ handle, long /*int*/ user_data) {
if (hooks (SWT.Segments) || filters (SWT.Segments) || segments != null) {
switch ((int)/*64*/user_data) {
case BACKSPACE:
case COPY_CLIPBOARD:
case CUT_CLIPBOARD:
case PASTE_CLIPBOARD: {
clearSegments (true);
break;
}
case BACKSPACE_INVERSE:
case COPY_CLIPBOARD_INVERSE:
case CUT_CLIPBOARD_INVERSE:
case PASTE_CLIPBOARD_INVERSE: {
applySegments ();
break;
}
}
}
return super.windowProc (handle, user_data);
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86
int /*long*/ pszText = OS.HeapAlloc (hHeap, OS.HEAP_ZERO_MEMORY, length);
OS.MoveMemory (pszText, buffer, length);
int /*long*/ code = super.windowProc (hwnd, msg, wParam, pszText);
OS.HeapFree (hHeap, 0, pszText);
addedUCC = true;
return super.windowProc (hwnd, msg, wParam, lParam);
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86
return 1;
code = super.windowProc (hwnd, msg, wParam, lParam);
if (updateDirection) {
super.updateTextDirection (AUTO_TEXT_DIRECTION);
内容来源于网络,如有侵权,请联系作者删除!