public interface Styled
Style
.Modifier and Type | Method and Description |
---|---|
int |
getMarginBottom()
Same as
getMarginTop() but for the bottom margin. |
int |
getMarginTop()
Returns the top margin of this object.
|
Style |
getStyle()
Returns the style of this object.
|
boolean |
hasDynamicVerticalMargins() |
Style getStyle()
null
.boolean hasDynamicVerticalMargins()
int getMarginTop()
Style.marginTop
,
the returned value is not a static one and may depend on the contents
of this object.
This method is needed to implement collapsed vertical margins in the case of nested boxes.
int getMarginBottom()
getMarginTop()
but for the bottom margin.