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

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

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

Accessible.removeRelation介绍

[英]Removes the relation with the specified type and target from the receiver's set of relations.
[中]从接收方的关系集中删除与指定类型和目标的关系。

代码示例

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

void removeRelation () {
  if (!isDescribedByLabel ()) return;		/* there will not be any */
  if (labelRelation != null) {
    _getAccessible().removeRelation (ACC.RELATION_LABELLED_BY, labelRelation._getAccessible());
    labelRelation = null;
  }
}

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

void removeRelation () {
  if (!isDescribedByLabel ()) return;		/* there will not be any */
  if (labelRelation != null) {
    _getAccessible().removeRelation (ACC.RELATION_LABELLED_BY, labelRelation._getAccessible());
    labelRelation = null;
  }
}

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

void removeRelation () {
  if (!isDescribedByLabel ()) return;		/* there will not be any */
  if (labelRelation != null) {
    _getAccessible().removeRelation (ACC.RELATION_LABELLED_BY, labelRelation._getAccessible());
    labelRelation = null;
  }
}

相关文章