Package net.sourceforge.plantuml.creole
Class SheetBlock1
- java.lang.Object
-
- net.sourceforge.plantuml.graphic.AbstractTextBlock
-
- net.sourceforge.plantuml.creole.SheetBlock1
-
-
Constructor Summary
Constructors Constructor Description SheetBlock1(Sheet sheet, LineBreakStrategy maxWidth, double padding)
SheetBlock1(Sheet sheet, LineBreakStrategy maxWidth, double padding, double marginX1, double marginX2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimension2D
calculateDimension(StringBounder stringBounder)
void
drawU(UGraphic ug)
HorizontalAlignment
getCellAlignment()
double
getEndingX(StringBounder stringBounder, double y)
Rectangle2D
getInnerPosition(String member, StringBounder stringBounder, InnerStrategy strategy)
double
getStartingAltitude(StringBounder stringBounder)
double
getStartingX(StringBounder stringBounder, double y)
List<Atom>
splitInTwo(StringBounder stringBounder, double width)
String
toString()
-
Methods inherited from class net.sourceforge.plantuml.graphic.AbstractTextBlock
getMinMax
-
-
-
-
Constructor Detail
-
SheetBlock1
public SheetBlock1(Sheet sheet, LineBreakStrategy maxWidth, double padding)
-
SheetBlock1
public SheetBlock1(Sheet sheet, LineBreakStrategy maxWidth, double padding, double marginX1, double marginX2)
-
-
Method Detail
-
splitInTwo
public List<Atom> splitInTwo(StringBounder stringBounder, double width)
- Specified by:
splitInTwo
in interfaceAtom
-
getCellAlignment
public HorizontalAlignment getCellAlignment()
-
calculateDimension
public Dimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimension
in interfaceAtom
- Specified by:
calculateDimension
in interfaceTextBlock
-
getInnerPosition
public Rectangle2D getInnerPosition(String member, StringBounder stringBounder, InnerStrategy strategy)
- Specified by:
getInnerPosition
in interfaceTextBlock
- Overrides:
getInnerPosition
in classAbstractTextBlock
-
drawU
public void drawU(UGraphic ug)
-
getStartingAltitude
public double getStartingAltitude(StringBounder stringBounder)
- Specified by:
getStartingAltitude
in interfaceAtom
-
getStartingX
public double getStartingX(StringBounder stringBounder, double y)
- Specified by:
getStartingX
in interfaceStencil
-
getEndingX
public double getEndingX(StringBounder stringBounder, double y)
- Specified by:
getEndingX
in interfaceStencil
-
-