Package net.sourceforge.plantuml.ebnf
Class ETile
- java.lang.Object
-
- net.sourceforge.plantuml.klimt.shape.AbstractTextBlock
-
- net.sourceforge.plantuml.ebnf.ETile
-
- Direct Known Subclasses:
ETileAlternation
,ETileBox
,ETileConcatenation
,ETileEmpty
,ETileLookAheadOrBehind
,ETileNamedGroup
,ETileNot
,ETileOneOrMore
,ETileOptional
,ETileOptional2
,ETileRegexGroup
,ETileRegexGroupAllBut
,ETileWithCircles
public abstract class ETile extends AbstractTextBlock
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
TRACE
-
Constructor Summary
Constructors Constructor Description ETile()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addCommentAbove(java.lang.String comment)
protected void
addCommentBelow(java.lang.String comment)
XDimension2D
calculateDimension(StringBounder stringBounder)
protected void
drawHline(UGraphic ug, double y, double x1, double x2)
protected void
drawHlineAntiDirected(UGraphic ug, double y, double x1, double x2, double coef)
protected void
drawHlineDirected(UGraphic ug, double y, double x1, double x2, double coef, double minimunSizeForArrow)
protected void
drawVline(UGraphic ug, double x, double y1, double y2)
protected void
drawVlineAntiDirected(UGraphic ug, double x, double y1, double y2)
protected void
drawVlineDirected(UGraphic ug, double x, double y1, double y2)
abstract double
getH1(StringBounder stringBounder)
abstract double
getH2(StringBounder stringBounder)
protected java.lang.String
getRepetitionLabel()
static StyleSignatureBasic
getStyleSignature()
abstract double
getWidth(StringBounder stringBounder)
abstract void
push(ETile tile)
-
Methods inherited from class net.sourceforge.plantuml.klimt.shape.AbstractTextBlock
getBackcolor, getInnerPosition, getMagneticBorder, getMinMax
-
-
-
-
Field Detail
-
TRACE
protected final boolean TRACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getStyleSignature
public static StyleSignatureBasic getStyleSignature()
-
push
public abstract void push(ETile tile)
-
calculateDimension
public final XDimension2D calculateDimension(StringBounder stringBounder)
-
getWidth
public abstract double getWidth(StringBounder stringBounder)
-
getH1
public abstract double getH1(StringBounder stringBounder)
-
getH2
public abstract double getH2(StringBounder stringBounder)
-
drawHline
protected final void drawHline(UGraphic ug, double y, double x1, double x2)
-
drawHlineDirected
protected final void drawHlineDirected(UGraphic ug, double y, double x1, double x2, double coef, double minimunSizeForArrow)
-
drawHlineAntiDirected
protected final void drawHlineAntiDirected(UGraphic ug, double y, double x1, double x2, double coef)
-
drawVline
protected final void drawVline(UGraphic ug, double x, double y1, double y2)
-
drawVlineDirected
protected final void drawVlineDirected(UGraphic ug, double x, double y1, double y2)
-
drawVlineAntiDirected
protected final void drawVlineAntiDirected(UGraphic ug, double x, double y1, double y2)
-
addCommentBelow
protected void addCommentBelow(java.lang.String comment)
-
addCommentAbove
protected void addCommentAbove(java.lang.String comment)
-
getRepetitionLabel
protected java.lang.String getRepetitionLabel()
-
-