org.jfree.layouting.renderer.model

Interface BoxDefinition

public interface BoxDefinition

A box definition. Todo How to deal with auto-size margins?

Author: Thomas Morgner

Method Summary
CSSColorValuegetBackgroundColor()
BordergetBorder()
RenderLengthgetMarginBottom()
RenderLengthgetMarginLeft()
RenderLengthgetMarginRight()
RenderLengthgetMarginTop()
RenderLengthgetMaximumHeight()
RenderLengthgetMaximumWidth()
RenderLengthgetMinimumHeight()
RenderLengthgetMinimumWidth()
RenderLengthgetPaddingBottom()
RenderLengthgetPaddingLeft()
RenderLengthgetPaddingRight()
RenderLengthgetPaddingTop()
RenderLengthgetPreferredHeight()
The preferred size is only set, if a height has been explicitly defined.
RenderLengthgetPreferredWidth()
The preferred size is only set, if a width has been explicitly defined.
booleanisEmpty()
BoxDefinition[]split(int axis)

Method Detail

getBackgroundColor

public CSSColorValue getBackgroundColor()

getBorder

public Border getBorder()

getMarginBottom

public RenderLength getMarginBottom()

getMarginLeft

public RenderLength getMarginLeft()

getMarginRight

public RenderLength getMarginRight()

getMarginTop

public RenderLength getMarginTop()

getMaximumHeight

public RenderLength getMaximumHeight()

getMaximumWidth

public RenderLength getMaximumWidth()

getMinimumHeight

public RenderLength getMinimumHeight()

getMinimumWidth

public RenderLength getMinimumWidth()

getPaddingBottom

public RenderLength getPaddingBottom()

getPaddingLeft

public RenderLength getPaddingLeft()

getPaddingRight

public RenderLength getPaddingRight()

getPaddingTop

public RenderLength getPaddingTop()

getPreferredHeight

public RenderLength getPreferredHeight()
The preferred size is only set, if a height has been explicitly defined.

Returns:

getPreferredWidth

public RenderLength getPreferredWidth()
The preferred size is only set, if a width has been explicitly defined.

Returns:

isEmpty

public boolean isEmpty()

split

public BoxDefinition[] split(int axis)