本文整理了Java中org.openide.nodes.Children.removeNotify()
方法的一些代码示例,展示了Children.removeNotify()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Children.removeNotify()
方法的具体详情如下:
包路径:org.openide.nodes.Children
类名称:Children
方法名:removeNotify
[英]Called when the list of nodes for this children object is no longer needed by the IDE. Typical implementations at this time remove all children to save memory (or clear the keys for Children.Keys etc.).
[中]当IDE不再需要此子对象的节点列表时调用。此时的典型实现是删除所有子项以节省内存(或清除子项的键.keys等)。
代码示例来源:origin: org.netbeans.api/org-openide-nodes
final void callRemoveNotify() {
removeNotify();
}
代码示例来源:origin: org.netbeans.api/org-openide-nodes
@Override
protected void removeNotify() {
getOriginal().removeNotify();
}
代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide
/** Finalized.
*/
final void finalizedChildrenArray (Object caller) {
// usually in removeNotify setKeys is called => better require write access
try {
PR.enterWriteAccess ();
Object value = array.get ();
if (value == null || value == caller) {
// really finalized and not reconstructed
removeNotify ();
}
/*
else {
System.out.println("Strange removeNotify " + caller + " : " + value );
}
*/
} finally {
PR.exitWriteAccess ();
}
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
/** Finalized.
*/
final void finalizedChildrenArray (Object caller) {
// usually in removeNotify setKeys is called => better require write access
try {
PR.enterWriteAccess ();
Object value = array.get ();
if (value == null || value == caller) {
// really finalized and not reconstructed
removeNotify ();
}
/*
else {
System.out.println("Strange removeNotify " + caller + " : " + value );
}
*/
} finally {
PR.exitWriteAccess ();
}
}
内容来源于网络,如有侵权,请联系作者删除!