Describes the margins, paddings, borders and sizes of a box. (This does not
define or describe the *actual* value used for the rendering, it describes
the stylesheet's computed values.)
setBackgroundColor
public void setBackgroundColor(CSSColorValue backgroundColor)
setBorder
public void setBorder(Border border)
setMarginBottom
public void setMarginBottom(RenderLength marginBottom)
setMarginLeft
public void setMarginLeft(RenderLength marginLeft)
setMarginRight
public void setMarginRight(RenderLength marginRight)
setMarginTop
public void setMarginTop(RenderLength marginTop)
setMaximumHeight
public void setMaximumHeight(RenderLength maximumHeight)
setMaximumWidth
public void setMaximumWidth(RenderLength maximumWidth)
setMinimumHeight
public void setMinimumHeight(RenderLength minimumHeight)
setMinimumWidth
public void setMinimumWidth(RenderLength minimumWidth)
setPaddingBottom
public void setPaddingBottom(RenderLength paddingBottom)
setPaddingLeft
public void setPaddingLeft(RenderLength paddingLeft)
setPaddingRight
public void setPaddingRight(RenderLength paddingRight)
setPaddingTop
public void setPaddingTop(RenderLength paddingTop)
setPreferredHeight
public void setPreferredHeight(RenderLength preferredHeight)
setPreferredWidth
public void setPreferredWidth(RenderLength preferredWidth)
split
public BoxDefinition[] split(int axis)
Split the box definition for the given major axis. A horizontal axis will
perform vertical splits (resulting in a left and right box definition) and
a given vertical axis will split the box into a top and bottom box.
- split in interface BoxDefinition