org.kite9.diagram.adl
Class Glyph
java.lang.Object
org.kite9.diagram.primitives.AbstractIdentifiableDiagramElement
org.kite9.diagram.primitives.AbstractConnectedContained
org.kite9.diagram.adl.Glyph
- All Implemented Interfaces:
- Comparable<DiagramElement>, Connected, Contained, DiagramElement, IdentifiableDiagramElement, Leaf
public class Glyph
- extends AbstractConnectedContained
- implements Leaf
A Glyph is a white node on the diagram which has a fixed hierarchical position
within its container. It has a label and optionally a type, and it can optionally
contain multiple rows of text.
- Author:
- robmoffat
Glyph
public Glyph()
Glyph
public Glyph(String id,
String stereotype,
String label,
List<TextLine> text,
List<Symbol> symbols)
Glyph
public Glyph(String sterotype,
String label,
List<TextLine> text,
List<Symbol> symbols)
getLabel
public String getLabel()
setLabel
public void setLabel(String name)
getStereotype
public String getStereotype()
setStereotype
public void setStereotype(String sterotype)
getText
public List<TextLine> getText()
setText
public void setText(List<TextLine> text)
getSymbols
public List<Symbol> getSymbols()
hasDimension
public boolean hasDimension()
toString
public String toString()
- Overrides:
toString in class Object
getRenderingInformation
public RenderingInformation getRenderingInformation()
- Specified by:
getRenderingInformation in interface DiagramElement
Copyright © 2011. All Rights Reserved.