|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--gumbo.util.AbstractDisposable
|
+--gumbo.util.AbstractDelegatable
|
+--gumbo.util.AbstractDelegatable.Serial
|
+--gumbo.util.relation.AbstractRelation
|
+--gumbo.util.relation.AbstractTreeNode
|
+--gumbo.util.relation.AbstractTreeNode.Auto
An AbstractTreeNode that automatically sets the relationship of relations (parent or child) when a connection is created, with the dead relation taking on the relationship of the live one. When a connection is destroyed, the relationship of the relations remains unchanged. As with AbstractTreeNode, the default behavior of making this relation dead (setting relationship null) is to dispose it.
| Nested Class Summary |
| Nested classes inherited from class gumbo.util.relation.AbstractTreeNode |
AbstractTreeNode.Auto, AbstractTreeNode.Global |
| Nested classes inherited from class gumbo.util.AbstractDelegatable |
AbstractDelegatable.Serial |
| Constructor Summary | |
AbstractTreeNode.Auto(Relationship relationship)
Creates an instance with an uninitialized delegator. |
|
| Method Summary | |
protected void |
checkAddChild(TreeNode childR)
Called by the system before adding a child to this parent. |
| Methods inherited from class gumbo.util.relation.AbstractTreeNode |
addChild, addChild, checkChild, checkParent, checkRemoveChild, checkSetParent, findTreeNode, getChildren, getChildrenGroup, getParent, getTreeNode, hasChildren, implDispose, implReadConnections, implSetParent, implWriteConnections, newChildrenStore, removeChild, toString |
| Methods inherited from class gumbo.util.relation.AbstractRelation |
canFindRelation, checkClearedRelationship, checkRelation, checkSettingRelationship, findRelation, getAddedConnectionOut, getRelationship, getRemovingConnectionOut, initedDelegator, setRelationship |
| Methods inherited from class gumbo.util.AbstractDelegatable |
getDelegator, initDelegator, initingDelegator, isDelegatorInited |
| Methods inherited from class gumbo.util.AbstractDisposable |
dispose, isDisposed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface gumbo.util.relation.Relation |
canFindRelation, findRelation, getAddedConnectionOut, getRelationship, getRemovingConnectionOut, setRelationship |
| Methods inherited from interface gumbo.util.Disposable |
dispose, isDisposed |
| Methods inherited from interface gumbo.util.Delegatable |
getDelegator, initDelegator, isDelegatorInited |
| Constructor Detail |
public AbstractTreeNode.Auto(Relationship relationship)
new AbstractTreeNode(r).initDelegator(d).
relationship - This relation's relationship. Null if none
(a dead relation).| Method Detail |
protected void checkAddChild(TreeNode childR)
AbstractTreeNode
checkAddChild in class AbstractTreeNodechildR - Child relation. Possibly null or duplicate.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||