org.kite9.diagram.primitives
Class AbstractLabel
java.lang.Object
org.kite9.diagram.primitives.AbstractLabel
- All Implemented Interfaces:
- Serializable, Comparable<DiagramElement>, DiagramElement
- Direct Known Subclasses:
- Key, TextLine
public abstract class AbstractLabel
- extends Object
- implements Serializable, DiagramElement
Base class of all diagram elements.
- Author:
- robmoffat
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
renderingInformation
protected RenderingInformation renderingInformation
- This is used by layout engines to set the position of the elements in the
diagram
AbstractLabel
public AbstractLabel()
compareTo
public int compareTo(DiagramElement o)
- This is very handy for ensuring repeatability in tests. Override as necessary.
- Specified by:
compareTo in interface Comparable<DiagramElement>
setParent
public void setParent(Object el)
getParent
public Object getParent()
getRenderingInformation
public RenderingInformation getRenderingInformation()
- Specified by:
getRenderingInformation in interface DiagramElement
Copyright © 2011. All Rights Reserved.