Package net.sourceforge.plantuml.wbs
Class WElement
- java.lang.Object
-
- net.sourceforge.plantuml.wbs.WElement
-
public final class WElement extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
STEP_BY_PARENT
-
Constructor Summary
Constructors Constructor Description WElement(HColor backColor, Display label, Stereotype stereotype, StyleBuilder styleBuilder, IdeaShape shape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WElement
createElement(HColor backColor, int newLevel, Display newLabel, Stereotype stereotype, Direction direction, IdeaShape shape, StyleBuilder styleBuilder)
java.util.Collection<WElement>
getChildren(Direction direction)
XDimension2D
getDimension()
Display
getLabel()
int
getLevel()
WElement
getParent()
UTranslate
getPosition()
IdeaShape
getShape()
Stereotype
getStereotype()
Style
getStyle()
StyleBuilder
getStyleBuilder()
boolean
isLeaf()
void
setGeometry(UTranslate position, XDimension2D dimension)
java.lang.String
toString()
ISkinParam
withBackColor(ISkinParam skinParam)
-
-
-
Field Detail
-
STEP_BY_PARENT
public static final int STEP_BY_PARENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WElement
public WElement(HColor backColor, Display label, Stereotype stereotype, StyleBuilder styleBuilder, IdeaShape shape)
-
-
Method Detail
-
withBackColor
public ISkinParam withBackColor(ISkinParam skinParam)
-
getStyle
public Style getStyle()
-
isLeaf
public boolean isLeaf()
-
createElement
public WElement createElement(HColor backColor, int newLevel, Display newLabel, Stereotype stereotype, Direction direction, IdeaShape shape, StyleBuilder styleBuilder)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getLevel
public final int getLevel()
-
getLabel
public final Display getLabel()
-
getParent
public WElement getParent()
-
getShape
public final IdeaShape getShape()
-
getStyleBuilder
public final StyleBuilder getStyleBuilder()
-
setGeometry
public final void setGeometry(UTranslate position, XDimension2D dimension)
-
getPosition
public final UTranslate getPosition()
-
getDimension
public final XDimension2D getDimension()
-
getStereotype
public Stereotype getStereotype()
-
-