public abstract class AbstractCpoNode extends DefaultMutableTreeNode
| Modifier and Type | Field and Description |
|---|---|
protected Set<AbstractCpoNode> |
dirtyChildren |
protected Set<AbstractCpoNode> |
newChildren |
protected Set<AbstractCpoNode> |
removeChildren |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject| Constructor and Description |
|---|
AbstractCpoNode() |
AbstractCpoNode(Object userObject) |
AbstractCpoNode(Object userObject,
boolean allowsChildren) |
| Modifier and Type | Method and Description |
|---|---|
abstract JPanel |
getPanelForSelected() |
AbstractCpoNode |
getParent() |
Proxy |
getProxy() |
CpoRootNode |
getRoot() |
String |
getToolTipText() |
boolean |
isChildDirty() |
boolean |
isChildNew() |
boolean |
isChildRemove() |
boolean |
isDirty() |
boolean |
isNew() |
boolean |
isProtected() |
boolean |
isRemove() |
void |
performRemove() |
void |
setChildDirty(AbstractCpoNode childNode)
Called to inform the node that the supplied child is dirty
|
void |
setChildNew(AbstractCpoNode childNode)
Called to inform the node that the supplied child is new
|
void |
setChildRemove(AbstractCpoNode childNode)
Called to inform the node that the supplied child is removed
|
void |
setDirty(boolean dirty)
Sets if this node is dirty
|
void |
setNew(boolean isnew)
Sets If this node is new
|
void |
setProtected(boolean b)
Sets if this node is protected.
|
void |
setRemove(boolean remove)
Sets if this node is removed
|
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toStringprotected Set<AbstractCpoNode> dirtyChildren
protected Set<AbstractCpoNode> newChildren
protected Set<AbstractCpoNode> removeChildren
public AbstractCpoNode()
public AbstractCpoNode(Object userObject)
public AbstractCpoNode(Object userObject, boolean allowsChildren)
public AbstractCpoNode getParent()
getParent in interface TreeNodegetParent in class DefaultMutableTreeNodeDefaultMutableTreeNode.getParent()public CpoRootNode getRoot()
getRoot in class DefaultMutableTreeNodeDefaultMutableTreeNode.getRoot()public Proxy getProxy()
public abstract JPanel getPanelForSelected()
public String getToolTipText()
public boolean isProtected()
public void setProtected(boolean b)
b - true if protected, false otherwisepublic void setDirty(boolean dirty)
dirty - True if this node is being changedpublic boolean isDirty()
public void setChildDirty(AbstractCpoNode childNode)
public boolean isChildDirty()
public void setRemove(boolean remove)
remove - True if this node is being removedpublic void performRemove()
throws org.synchronoss.cpo.CpoException
org.synchronoss.cpo.CpoExceptionpublic boolean isRemove()
public void setChildRemove(AbstractCpoNode childNode)
public boolean isChildRemove()
public void setNew(boolean isnew)
isnew - True if this node is new, false otherwisepublic boolean isNew()
public void setChildNew(AbstractCpoNode childNode)
public boolean isChildNew()
Copyright © 2014. All Rights Reserved.