DroidDiagram Programmer's Guide
ConnectionPoint Class
Remarks See Also
 






This class represents a connection between an edge and a node in a graph. It decouples the DiagramLink class from the DiagramNode class, allowing edges to connect different types of nodes without knowing anything of their implementation details. Each DiagramLink object contains two ConnectionPoint instances describing the connections at both ends of the link.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public class ConnectionPoint implements Externalizable

 Remarks

If custom nodes should store additional information about their connections, inherit the ConnectionPoint class, add the necessary members and return an instance of this class from the createConnectionPoint override. For example, TreeViewNode uses TreeViewConnectionPoint objects to store reference to the item associated with the connection.

 Inheritance Hierarchy

java.lang.Object
    com.mindfusion.diagramming.ConnectionPoint
        com.mindfusion.diagramming.TreeViewConnectionPoint

 See Also

ConnectionPoint Members
com.mindfusion.diagramming Namespace