DroidDiagram Programmer's Guide
CompositeNodeBuilder.id Method
See Also
 






Assigns user-defined identifier to this item. If the id object is serializable, it will be automatically saved when serializing the diagram into binary format. When serializing to XML, you can save the tag by handling the DiagramListener.serializeTag event.

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

 Syntax

Java  Copy Code

public CompositeNodeBuilder id (
    Object value
)

 Parameters

value

An Object containing custom data.

 Return Value

This DiagramItemBuilder instance.

 See Also

CompositeNodeBuilder Members
CompositeNodeBuilder Class
com.mindfusion.diagramming.builders Namespace