@Test public void testConstructors() { assertFalse(myTreeNode.isProxy()); assertTrue(myTreeNode.getAllowsChildren()); MCTMutableTreeNode node2 = new MCTMutableTreeNode(); assertFalse(node2.isProxy()); assertTrue(node2.getAllowsChildren()); MCTMutableTreeNode node3 = new MCTMutableTreeNode(mockViewManif); assertFalse(node3.isProxy()); assertTrue(node3.getAllowsChildren()); MCTMutableTreeNode node4 = new MCTMutableTreeNode(mockViewManif, true); assertFalse(node4.isProxy()); assertTrue(node4.getAllowsChildren()); MCTMutableTreeNode node5 = new MCTMutableTreeNode(mockViewManif, false); assertFalse(node5.isProxy()); assertFalse(node5.getAllowsChildren()); MCTMutableTreeNode node6 = new MCTMutableTreeNode(mockViewManif, myJTree, true); assertFalse(node6.isProxy()); assertTrue(node6.getAllowsChildren()); MCTMutableTreeNode node7 = new MCTMutableTreeNode(mockViewManif, myJTree, false); assertFalse(node7.isProxy()); assertFalse(node7.getAllowsChildren()); }
public boolean isProxy() { return this.isProxy; }
MCTMutableTreeNode extends DefaultMutableTreeNode { public boolean isProxy() { return this.isProxy; } }
MCTMutableTreeNode extends DefaultMutableTreeNode { public boolean isProxy() { return this.isProxy; } MCTMutableTreeNode();  MCTMutableTreeNode(JComponent userObject);  MCTMutableTreeNode(JComponent userObject, JTree parentTree);  MCTMutableTreeNode(JComponent userObject, boolean allowsChildren);  MCTMutableTreeNode(JComponent userObject, JTree parentTree, boolean allowsChildren); }
MCTMutableTreeNode extends DefaultMutableTreeNode { public boolean isProxy() { return this.isProxy; } MCTMutableTreeNode();  MCTMutableTreeNode(JComponent userObject);  MCTMutableTreeNode(JComponent userObject, JTree parentTree);  MCTMutableTreeNode(JComponent userObject, boolean allowsChildren);  MCTMutableTreeNode(JComponent userObject, JTree parentTree, boolean allowsChildren); @Override void add(MutableTreeNode newChild); void setProxy(boolean isProxy); boolean isProxy(); boolean isVisible(); @Override TreeNode getChildAt(int index); @Override int getChildCount(); @Override void removeAllChildren(); void removeAllChildren(PropertyChangeListener listener); JTree getParentTree(); void setParentTree(JTree parentTree); void addChild(int index, MCTMutableTreeNode newNode, PropertyChangeListener listener); void refresh(MCTMutableTreeNode childNode); void refresh(); void removeChild(MCTMutableTreeNode childNode, PropertyChangeListener listener); TreePath getTreePath(); }
MCTMutableTreeNode extends DefaultMutableTreeNode { public boolean isProxy() { return this.isProxy; } MCTMutableTreeNode();  MCTMutableTreeNode(JComponent userObject);  MCTMutableTreeNode(JComponent userObject, JTree parentTree);  MCTMutableTreeNode(JComponent userObject, boolean allowsChildren);  MCTMutableTreeNode(JComponent userObject, JTree parentTree, boolean allowsChildren); @Override void add(MutableTreeNode newChild); void setProxy(boolean isProxy); boolean isProxy(); boolean isVisible(); @Override TreeNode getChildAt(int index); @Override int getChildCount(); @Override void removeAllChildren(); void removeAllChildren(PropertyChangeListener listener); JTree getParentTree(); void setParentTree(JTree parentTree); void addChild(int index, MCTMutableTreeNode newNode, PropertyChangeListener listener); void refresh(MCTMutableTreeNode childNode); void refresh(); void removeChild(MCTMutableTreeNode childNode, PropertyChangeListener listener); TreePath getTreePath(); static final String PARENT_CLIENT_PROPERTY_NAME; }