Class SwimlanesA
- java.lang.Object
-
- net.sourceforge.plantuml.graphic.AbstractTextBlock
-
- net.sourceforge.plantuml.activitydiagram3.ftile.SwimlanesA
-
- Direct Known Subclasses:
SwimlanesB
public class SwimlanesA extends AbstractTextBlock implements TextBlock
-
-
Field Summary
Fields Modifier and Type Field Description protected static doubleseparationMarginprotected ISkinParamskinParamprotected java.util.List<Swimlane>swimlanes
-
Constructor Summary
Constructors Constructor Description SwimlanesA(ISkinParam skinParam, Pragma pragma)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.geom.Dimension2DcalculateDimension(StringBounder stringBounder)voiddrawU(UGraphic ug)protected voiddrawWhenSwimlanes(UGraphic ug, TextBlock full)InstructiongetCurrent()SwimlanegetCurrentSwimlane()MinMaxgetMinMax(StringBounder stringBounder)protected UTranslategetTitleHeightTranslate(StringBounder stringBounder)LinkRenderingnextLinkRenderer()voidsetCurrent(Instruction current)voidsetNextLinkRenderer(LinkRendering link)voidswimlane(java.lang.String name, HtmlColor color, Display label)protected doubleswimlaneActualWidth(StringBounder stringBounder, double swimlaneWidth, Swimlane swimlane)-
Methods inherited from class net.sourceforge.plantuml.graphic.AbstractTextBlock
getInnerPosition
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.graphic.TextBlock
getInnerPosition
-
-
-
-
Field Detail
-
skinParam
protected final ISkinParam skinParam
-
swimlanes
protected final java.util.List<Swimlane> swimlanes
-
separationMargin
protected static final double separationMargin
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SwimlanesA
public SwimlanesA(ISkinParam skinParam, Pragma pragma)
-
-
Method Detail
-
getTitleHeightTranslate
protected UTranslate getTitleHeightTranslate(StringBounder stringBounder)
-
swimlaneActualWidth
protected double swimlaneActualWidth(StringBounder stringBounder, double swimlaneWidth, Swimlane swimlane)
-
calculateDimension
public java.awt.geom.Dimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimensionin interfaceTextBlock
-
getCurrent
public Instruction getCurrent()
-
setCurrent
public void setCurrent(Instruction current)
-
nextLinkRenderer
public LinkRendering nextLinkRenderer()
-
setNextLinkRenderer
public void setNextLinkRenderer(LinkRendering link)
-
getCurrentSwimlane
public Swimlane getCurrentSwimlane()
-
getMinMax
public MinMax getMinMax(StringBounder stringBounder)
- Specified by:
getMinMaxin interfaceTextBlock- Overrides:
getMinMaxin classAbstractTextBlock
-
-