Package net.sourceforge.plantuml.skin
Class AbstractComponent
java.lang.Object
net.sourceforge.plantuml.skin.AbstractComponent
- Direct Known Subclasses:
AbstractTextualComponent
,ComponentRoseActiveLine
,ComponentRoseDelayLine
,ComponentRoseDestroy
,ComponentRoseLine
,ComponentRoseNewpage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
drawBackgroundInternalU
(UGraphic ug, Area area) protected abstract void
drawInternalU
(UGraphic ug, Area area) final void
double
double
final XDimension2D
getPreferredDimension
(StringBounder stringBounder) abstract double
getPreferredHeight
(StringBounder stringBounder) abstract double
getPreferredWidth
(StringBounder stringBounder) protected final Style
getStyle()
final Style[]
-
Constructor Details
-
AbstractComponent
-
-
Method Details
-
getUsedStyles
- Specified by:
getUsedStyles
in interfaceWithStyle
-
getStyleSignature
- Specified by:
getStyleSignature
in interfaceStyleable
-
getStyle
-
drawInternalU
-
drawBackgroundInternalU
-
drawU
-
getPaddingX
public double getPaddingX() -
getPaddingY
public double getPaddingY() -
getPreferredWidth
- Specified by:
getPreferredWidth
in interfaceComponent
-
getPreferredHeight
- Specified by:
getPreferredHeight
in interfaceComponent
-
getPreferredDimension
- Specified by:
getPreferredDimension
in interfaceComponent
-