DroidDiagram Programmer's Guide
ShapeNodeBuilder.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 ShapeNodeBuilder id (
    Object value
)

 Parameters

value

An Object containing custom data.

 Return Value

This DiagramItemBuilder instance.

 See Also

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