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

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

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

Node.listenerAdded介绍

[英]A method to notify FilterNode that a listenerAdded has been added
[中]

代码示例

代码示例来源:origin: org.netbeans.api/org-openide-nodes

  1. /** Add a listener to changes in the node's intrinsic properties (name, cookies, etc.).
  2. * <P>
  3. * The listener is not notified about changes in subnodes until the
  4. * method <CODE>getChildren().getNodes()</CODE> is called.
  5. * @param l the listener to add
  6. */
  7. public final void addNodeListener(NodeListener l) {
  8. listeners.add(NodeListener.class, l);
  9. listenerAdded();
  10. }

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

  1. /** Add a listener to changes in the node's intrinsic properties (name, cookies, etc.).
  2. * <P>
  3. * The listener is not notified about changes in subnodes until the
  4. * method <CODE>getChildren().getNodes()</CODE> is called.
  5. * @param l the listener to add
  6. */
  7. public final void addNodeListener (NodeListener l) {
  8. listeners.add (NodeListener.class, l);
  9. listenerAdded ();
  10. }

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

  1. /** Add a listener to changes in the node's intrinsic properties (name, cookies, etc.).
  2. * <P>
  3. * The listener is not notified about changes in subnodes until the
  4. * method <CODE>getChildren().getNodes()</CODE> is called.
  5. * @param l the listener to add
  6. */
  7. public final void addNodeListener (NodeListener l) {
  8. listeners.add (NodeListener.class, l);
  9. listenerAdded ();
  10. }

相关文章