本文整理了Java中org.eclipse.swt.accessibility.Accessible.internal_dispose_Accessible()
方法的一些代码示例,展示了Accessible.internal_dispose_Accessible()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Accessible.internal_dispose_Accessible()
方法的具体详情如下:
包路径:org.eclipse.swt.accessibility.Accessible
类名称:Accessible
方法名:internal_dispose_Accessible
[英]Invokes platform specific functionality to dispose an accessible object.
IMPORTANT: This method is not part of the public API for Accessible
. It is marked public only so that it can be shared within the packages provided by SWT. It is not available on all platforms, and should never be called from application code.
[中]调用特定于平台的功能来处理可访问对象。
重要提示:此方法不是Accessible
的公共API的部分。它被标记为public,以便可以在SWT提供的包中共享。它并非在所有平台上都可用,并且永远不应从应用程序代码中调用。
代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64
void releaseWidget () {
super.releaseWidget ();
if (display.currentControl == this) {
display.currentControl = null;
display.timerExec(-1, display.hoverTimer);
}
if (display.trackingControl == this) display.trackingControl = null;
if (display.tooltipControl == this) display.tooltipControl = null;
if (menu != null && !menu.isDisposed ()) {
menu.dispose ();
}
menu = null;
if (visibleRgn != 0) OS.DisposeRgn (visibleRgn);
visibleRgn = 0;
layoutData = null;
if (accessible != null) {
accessible.internal_dispose_Accessible ();
}
accessible = null;
region = null;
if (regionPath != null) regionPath.release();
regionPath = null;
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86
@Override
void releaseWidget () {
super.releaseWidget ();
if (OS.IsDBLocale) {
OS.ImmAssociateContext (handle, 0);
}
if (toolTipText != null) {
setToolTipText (getShell (), null);
}
toolTipText = null;
if (menu != null && !menu.isDisposed ()) {
menu.dispose ();
}
backgroundImage = null;
menu = null;
cursor = null;
unsubclass ();
deregister ();
layoutData = null;
if (accessible != null) {
accessible.internal_dispose_Accessible ();
}
accessible = null;
region = null;
font = null;
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
@Override
void releaseWidget () {
super.releaseWidget ();
if (display.currentControl == this) display.currentControl = null;
display.removeMouseHoverTimeout (handle);
int /*long*/ imHandle = imHandle ();
if (imHandle != 0) {
OS.gtk_im_context_reset (imHandle);
OS.gtk_im_context_set_client_window (imHandle, 0);
}
if (enableWindow != 0) {
OS.gdk_window_set_user_data (enableWindow, 0);
OS.gdk_window_destroy (enableWindow);
enableWindow = 0;
}
redrawWindow = 0;
if (menu != null && !menu.isDisposed ()) {
menu.dispose ();
}
menu = null;
cursor = null;
toolTipText = null;
layoutData = null;
if (accessible != null) {
accessible.internal_dispose_Accessible ();
}
accessible = null;
region = null;
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
@Override
void releaseWidget () {
super.releaseWidget ();
if (display.currentControl == this) display.currentControl = null;
display.removeMouseHoverTimeout (handle);
int /*long*/ imHandle = imHandle ();
if (imHandle != 0) {
OS.gtk_im_context_reset (imHandle);
OS.gtk_im_context_set_client_window (imHandle, 0);
}
if (enableWindow != 0) {
OS.gdk_window_set_user_data (enableWindow, 0);
OS.gdk_window_destroy (enableWindow);
enableWindow = 0;
}
redrawWindow = 0;
if (menu != null && !menu.isDisposed ()) {
menu.dispose ();
}
menu = null;
cursor = null;
toolTipText = null;
layoutData = null;
if (accessible != null) {
accessible.internal_dispose_Accessible ();
}
accessible = null;
region = null;
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
@Override
void releaseWidget () {
super.releaseWidget ();
if (display.currentControl == this) display.currentControl = null;
display.removeMouseHoverTimeout (handle);
long /*int*/ imHandle = imHandle ();
if (imHandle != 0) {
OS.gtk_im_context_reset (imHandle);
OS.gtk_im_context_set_client_window (imHandle, 0);
}
if (enableWindow != 0) {
OS.gdk_window_set_user_data (enableWindow, 0);
OS.gdk_window_destroy (enableWindow);
enableWindow = 0;
}
redrawWindow = 0;
if (menu != null && !menu.isDisposed ()) {
menu.dispose ();
}
menu = null;
cursor = null;
toolTipText = null;
layoutData = null;
if (accessible != null) {
accessible.internal_dispose_Accessible ();
}
accessible = null;
region = null;
}
代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.rwt
@Override
void releaseWidget() {
if( menu != null ) {
removeMenuDisposeListener();
menu.dispose();
menu = null;
}
Shell shell = internalGetShell();
if( display.getFocusControl() == this ) {
Control focusControl = parent;
while( focusControl != null && focusControl.isInDispose() ) {
focusControl = focusControl.getParent();
}
if( focusControl != null && focusControl.internalGetShell() != shell ) {
focusControl = null;
}
setFocusControl( focusControl );
}
if( shell.getSavedFocus() == this ) {
shell.setSavedFocus( null );
}
internalSetRedraw( false );
if( accessible != null ) {
accessible.internal_dispose_Accessible();
}
accessible = null;
super.releaseWidget();
}
内容来源于网络,如有侵权,请联系作者删除!