DroidDiagram Programmer's Guide
DiagramItem.setId Method
See Also
 






Assigns user-defined identifier to this item.

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

 Syntax

Java  Copy Code

public void setId (
    Object value
)

 Parameters

value

An Object containing custom data.

 Remarks

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 serializeTag event.

 See Also

DiagramItem Members
DiagramItem Class
com.mindfusion.diagramming Namespace