org.kite9.diagram.primitives
Class AbstractLabel

java.lang.Object
  extended by 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

Field Summary
protected  RenderingInformation renderingInformation
          This is used by layout engines to set the position of the elements in the diagram
 
Constructor Summary
AbstractLabel()
           
 
Method Summary
 int compareTo(DiagramElement o)
          This is very handy for ensuring repeatability in tests.
 Object getParent()
           
 RenderingInformation getRenderingInformation()
           
 void setParent(Object el)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

renderingInformation

protected RenderingInformation renderingInformation
This is used by layout engines to set the position of the elements in the diagram

Constructor Detail

AbstractLabel

public AbstractLabel()
Method Detail

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.