1 19 package org.netbeans.tax; 20 21 import java.beans.PropertyChangeListener ; 22 23 import org.netbeans.tax.event.TreeEventManager; 24 import org.netbeans.tax.event.TreeEvent; 25 26 32 public abstract class TreeNode extends TreeObject { 33 34 35 public static final String PROP_NODE = "this"; 37 38 42 43 protected TreeNode () { 44 } 45 46 47 50 protected TreeNode (TreeNode node) { 51 super (node); 52 } 53 54 55 59 62 public abstract TreeDocumentRoot getOwnerDocument (); 63 64 65 69 73 public final TreeEventManager getEventManager () { 74 if ( getOwnerDocument () == null ) { 75 return null; 76 } 77 return getOwnerDocument ().getRootEventManager (); 78 } 79 80 } 81 | Popular Tags |