gumbo.util.relation
Class TreeNodeConnection

java.lang.Object
  |
  +--gumbo.util.AbstractDisposable
        |
        +--gumbo.util.relation.Connection
              |
              +--gumbo.util.relation.TreeNodeConnection
All Implemented Interfaces:
Disposable

public class TreeNodeConnection
extends Connection

Default class for reporting tree node connection changes.

Version:
$Revision: 1.2 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.

Field Summary
static int CHILD
          Connection index of the first child relation.
static int PARENT
          Connection index of the parent relation.
 
Constructor Summary
TreeNodeConnection()
           
TreeNodeConnection(TreeNode parent, TreeNode child)
           
 
Method Summary
protected  void implDispose()
          Nulls the relationship and relations.
protected  void setConnection(TreeNode parent, TreeNode child)
           
 
Methods inherited from class gumbo.util.relation.Connection
getDelegators, getRelations, getRelationship, setDelegators, setRelations, toString
 
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
 

Field Detail

PARENT

public static final int PARENT
Connection index of the parent relation.

See Also:
Constant Field Values

CHILD

public static final int CHILD
Connection index of the first child relation.

See Also:
Constant Field Values
Constructor Detail

TreeNodeConnection

public TreeNodeConnection()

TreeNodeConnection

public TreeNodeConnection(TreeNode parent,
                          TreeNode child)
Method Detail

setConnection

protected void setConnection(TreeNode parent,
                             TreeNode child)

implDispose

protected void implDispose()
Description copied from class: Connection
Nulls the relationship and relations.

Overrides:
implDispose in class Connection