org.openide.nodes.Node.hasCustomizer()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(170)

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

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

  1. public boolean hasCustomizer() {
  2. return original.hasCustomizer();
  3. }

代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide

  1. protected boolean enable (Node[] activatedNodes) {
  2. if ((activatedNodes == null) || (activatedNodes.length != 1)) return false;
  3. return activatedNodes [0].hasCustomizer ();
  4. }

代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide

  1. protected boolean enable (Node[] activatedNodes) {
  2. if ((activatedNodes == null) || (activatedNodes.length != 1)) return false;
  3. return activatedNodes [0].hasCustomizer ();
  4. }

代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide

  1. public boolean hasCustomizer () {
  2. return original.hasCustomizer ();
  3. }

代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide

  1. public boolean hasCustomizer () {
  2. return original.hasCustomizer ();
  3. }

代码示例来源:origin: org.netbeans.api/org-netbeans-modules-j2eeserver

  1. public JComponent getCustomizer() {
  2. Node node = getBasicNode();
  3. if (node == null || !node.hasCustomizer()) {
  4. return null;
  5. }
  6. Component customizer = node.getCustomizer();
  7. if (!(customizer instanceof JComponent)) {
  8. // TODO log
  9. return null;
  10. }
  11. return (JComponent) customizer;
  12. }

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-cnd-debugger-common2

  1. customizerPanel.remove( currentCustomizer );
  2. if ( node.hasCustomizer() ) {
  3. storeValues();
  4. currentCustomizer = node.getCustomizer();

代码示例来源:origin: dcaoyuan/nbscala

  1. if (pNode.hasCustomizer()) {
  2. Component component = pNode.getCustomizer();
  3. if (component != null) {

代码示例来源:origin: org.netbeans.api/org-netbeans-modules-java-platform-ui

  1. if (pNode.hasCustomizer()) {
  2. component = pNode.getCustomizer();

相关文章