org.eclipse.swt.accessibility.Accessible.release()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(5.7k)|赞(0)|评价(0)|浏览(110)

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

Accessible.release介绍

暂无

代码示例

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

/**
 * Invokes platform specific functionality to dispose an accessible object.
 * <p>
 * <b>IMPORTANT:</b> This method is <em>not</em> part of the public
 * API for <code>Accessible</code>. 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.
 * </p>
 * 
 * @noreference This method is not intended to be referenced by clients.
 */
public void internal_dispose_Accessible() {
  release(true);
}

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

/**
 * Disposes of the operating system resources associated with
 * the receiver, and removes the receiver from its parent's
 * list of children.
 * <p>
 * This method should be called when an accessible that was created
 * with the public constructor <code>Accessible(Accessible parent)</code>
 * is no longer needed. You do not need to call this when the receiver's
 * control is disposed, because all <code>Accessible</code> instances
 * associated with a control are released when the control is disposed.
 * It is also not necessary to call this for instances of <code>Accessible</code>
 * that were retrieved with <code>Control.getAccessible()</code>.
 * </p>
 * 
 * @since 3.6
 */
public void dispose () {
  if (parent == null) return;
  release(true);
  parent = null;
}

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

/**
 * Disposes of the operating system resources associated with
 * the receiver, and removes the receiver from its parent's
 * list of children.
 * <p>
 * This method should be called when an accessible that was created
 * with the public constructor <code>Accessible(Accessible parent)</code>
 * is no longer needed. You do not need to call this when the receiver's
 * control is disposed, because all <code>Accessible</code> instances
 * associated with a control are released when the control is disposed.
 * It is also not necessary to call this for instances of <code>Accessible</code>
 * that were retrieved with <code>Control.getAccessible()</code>.
 * </p>
 *
 * @since 3.6
 */
public void dispose () {
  if (parent == null) return;
  release();
  parent.children.remove(this);
  parent = null;
}

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

/**
 * Disposes of the operating system resources associated with
 * the receiver, and removes the receiver from its parent's
 * list of children.
 * <p>
 * This method should be called when an accessible that was created
 * with the public constructor <code>Accessible(Accessible parent)</code>
 * is no longer needed. You do not need to call this when the receiver's
 * control is disposed, because all <code>Accessible</code> instances
 * associated with a control are released when the control is disposed.
 * It is also not necessary to call this for instances of <code>Accessible</code>
 * that were retrieved with <code>Control.getAccessible()</code>.
 * </p>
 *
 * @since 3.6
 */
public void dispose () {
  if (parent == null) return;
  release();
  parent.children.remove(this);
  parent = null;
}

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

/**
 * Disposes of the operating system resources associated with
 * the receiver, and removes the receiver from its parent's
 * list of children.
 * <p>
 * This method should be called when an accessible that was created
 * with the public constructor <code>Accessible(Accessible parent)</code>
 * is no longer needed. You do not need to call this when the receiver's
 * control is disposed, because all <code>Accessible</code> instances
 * associated with a control are released when the control is disposed.
 * It is also not necessary to call this for instances of <code>Accessible</code>
 * that were retrieved with <code>Control.getAccessible()</code>.
 * </p>
 *
 * @since 3.6
 */
public void dispose () {
  if (parent == null) return;
  release();
  parent.children.remove(this);
  parent = null;
}

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

/**
 * Invokes platform specific functionality to dispose an accessible object.
 * <p>
 * <b>IMPORTANT:</b> This method is <em>not</em> part of the public
 * API for <code>Accessible</code>. 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.
 * </p>
 *
 * @noreference This method is not intended to be referenced by clients.
 */
public void internal_dispose_Accessible() {
  AccessibleFactory.unregisterAccessible (Accessible.this);
  release ();
}

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

/**
 * Invokes platform specific functionality to dispose an accessible object.
 * <p>
 * <b>IMPORTANT:</b> This method is <em>not</em> part of the public
 * API for <code>Accessible</code>. 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.
 * </p>
 *
 * @noreference This method is not intended to be referenced by clients.
 */
public void internal_dispose_Accessible() {
  AccessibleFactory.unregisterAccessible (Accessible.this);
  release ();
}

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

/**
 * Invokes platform specific functionality to dispose an accessible object.
 * <p>
 * <b>IMPORTANT:</b> This method is <em>not</em> part of the public
 * API for <code>Accessible</code>. 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.
 * </p>
 *
 * @noreference This method is not intended to be referenced by clients.
 */
public void internal_dispose_Accessible() {
  AccessibleFactory.unregisterAccessible (Accessible.this);
  release ();
}

相关文章