本文整理了Java中org.openide.nodes.Children.addNotify()
方法的一些代码示例,展示了Children.addNotify()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Children.addNotify()
方法的具体详情如下:
包路径:org.openide.nodes.Children
类名称:Children
方法名:addNotify
[英]Called when children are first asked for nodes. Typical implementations at this time calculate their node list (or keys for Children.Keys etc.).
Notice: call to getNodes() inside of this method will return an empty array of nodes.
[中]当第一次向子节点请求节点时调用。此时的典型实现计算其节点列表(或子节点的键。键等)。
注意:在这个方法中调用getNodes()将返回一个空的节点数组。
代码示例来源:origin: org.netbeans.api/org-openide-nodes
/** Method that can be overriden in subclasses to
* do additional work and then call addNotify.
*/
void callAddNotify() {
//System.err.println("Thread: " + Thread.currentThread().getName() + ", N: " + getNode());
//System.err.println("Children: " + this);
addNotify();
//System.err.println("Finished: " + this);
}
代码示例来源:origin: org.netbeans.api/org-openide-nodes
@Override
protected void addNotify() {
getOriginal().addNotify();
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
/** Method that can be overriden in subclasses to
* do additional work and then call addNotify.
*/
void callAddNotify () {
addNotify ();
}
代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide
/** Method that can be overriden in subclasses to
* do additional work and then call addNotify.
*/
void callAddNotify () {
addNotify ();
}
内容来源于网络,如有侵权,请联系作者删除!