public class EntityImageNote extends AbstractEntityImage implements Stencil
CORNER, MARGIN, MARGIN_LINE
Constructor and Description |
---|
EntityImageNote(Entity entity,
ISkinParam skinParam,
UmlDiagramType umlDiagramType) |
Modifier and Type | Method and Description |
---|---|
XDimension2D |
calculateDimension(StringBounder stringBounder) |
void |
drawU(UGraphic ug) |
double |
getEndingX(StringBounder stringBounder,
double y) |
double |
getPreferredHeight(StringBounder stringBounder) |
double |
getPreferredWidth(StringBounder stringBounder) |
protected double |
getPureTextWidth(StringBounder stringBounder) |
ShapeType |
getShapeType() |
double |
getStartingX(StringBounder stringBounder,
double y) |
protected TextBlock |
getTextBlock() |
protected double |
getTextHeight(StringBounder stringBounder) |
double |
getTextWidth(StringBounder stringBounder) |
void |
setOpaleLine(SvekLine line,
SvekNode node,
SvekNode other) |
void |
setOpaleLink(Link link,
SvekNode node,
SvekNode other,
java.util.Map<Link,SmetanaPath> edges) |
getBackcolor, getEntity, getOverscanX, getShield, getSkinParam, getStereo, isHidden
getInnerPosition, getMagneticBorder, getMinMax
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMagneticBorder
getInnerPosition, getMinMax
public EntityImageNote(Entity entity, ISkinParam skinParam, UmlDiagramType umlDiagramType)
public final double getPreferredWidth(StringBounder stringBounder)
public final double getPreferredHeight(StringBounder stringBounder)
protected final double getTextHeight(StringBounder stringBounder)
protected final TextBlock getTextBlock()
protected final double getPureTextWidth(StringBounder stringBounder)
public final double getTextWidth(StringBounder stringBounder)
public XDimension2D calculateDimension(StringBounder stringBounder)
calculateDimension
in interface TextBlock
public ShapeType getShapeType()
getShapeType
in interface IEntityImage
public void setOpaleLink(Link link, SvekNode node, SvekNode other, java.util.Map<Link,SmetanaPath> edges)
public double getStartingX(StringBounder stringBounder, double y)
getStartingX
in interface Stencil
public double getEndingX(StringBounder stringBounder, double y)
getEndingX
in interface Stencil