本文整理了Java中org.openide.nodes.Node.hasCustomizer()
方法的一些代码示例,展示了Node.hasCustomizer()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Node.hasCustomizer()
方法的具体详情如下:
包路径:org.openide.nodes.Node
类名称:Node
方法名:hasCustomizer
[英]Test whether there is a customizer for this node. If true, the customizer can be obtained via #getCustomizer.
[中]测试此节点是否有自定义程序。如果为true,则可以通过#getCustomizer获取定制器。
代码示例来源:origin: org.netbeans.api/org-openide-nodes
public boolean hasCustomizer() {
return original.hasCustomizer();
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
protected boolean enable (Node[] activatedNodes) {
if ((activatedNodes == null) || (activatedNodes.length != 1)) return false;
return activatedNodes [0].hasCustomizer ();
}
代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide
protected boolean enable (Node[] activatedNodes) {
if ((activatedNodes == null) || (activatedNodes.length != 1)) return false;
return activatedNodes [0].hasCustomizer ();
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
public boolean hasCustomizer () {
return original.hasCustomizer ();
}
代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide
public boolean hasCustomizer () {
return original.hasCustomizer ();
}
代码示例来源:origin: org.netbeans.api/org-netbeans-modules-j2eeserver
public JComponent getCustomizer() {
Node node = getBasicNode();
if (node == null || !node.hasCustomizer()) {
return null;
}
Component customizer = node.getCustomizer();
if (!(customizer instanceof JComponent)) {
// TODO log
return null;
}
return (JComponent) customizer;
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-cnd-debugger-common2
customizerPanel.remove( currentCustomizer );
if ( node.hasCustomizer() ) {
storeValues();
currentCustomizer = node.getCustomizer();
代码示例来源:origin: dcaoyuan/nbscala
if (pNode.hasCustomizer()) {
Component component = pNode.getCustomizer();
if (component != null) {
代码示例来源:origin: org.netbeans.api/org-netbeans-modules-java-platform-ui
if (pNode.hasCustomizer()) {
component = pNode.getCustomizer();
内容来源于网络,如有侵权,请联系作者删除!