org.kite9.diagram.primitives
Interface IdentifiableDiagramElement
- All Superinterfaces:
- Comparable<DiagramElement>, DiagramElement
- All Known Subinterfaces:
- Connected, Contained, Container, Leaf
- All Known Implementing Classes:
- AbstractConnectedContained, AbstractConnectedContainer, AbstractIdentifiableDiagramElement, Arrow, Context, Diagram, Glyph
public interface IdentifiableDiagramElement
- extends DiagramElement
This means that the element has an ID, so that the id can be used to reference
it from multiple places. This is used where the element is likely to be given a
specific name within either the diagram, or across all diagrams within the project.
- Author:
- robmoffat
getID
String getID()
- ID should be a project-unique ID to describe this element. It is also used within the
XML to allow references between the elements of the XML file.
ID is also used for hashcode and equals. Set an ID to ensure sorting, maps
and therefore diagram layouts, are deterministic.
setID
void setID(String s)
Copyright © 2011. All Rights Reserved.