org.jfree.layouting.renderer.process.layoutrules

Interface InlineSequenceElement

public interface InlineSequenceElement

A sequence element. Usually all elements get their maximum width. There are only a few special cases, where the minimum width needs to be considered: * The element is an inline-block and there is not enough space to print he complete element. The element is guaranteed to always get its minimum width.

Author: Thomas Morgner

Method Summary
longgetMaximumWidth()
The maximum width an element wants to take.
longgetMinimumWidth()
The minimum width of the element.
RenderNodegetNode()
booleanisPreserveWhitespace()

Method Detail

getMaximumWidth

public long getMaximumWidth()
The maximum width an element wants to take. This returns the preferred size; even if offered more space, an element would not consume more than that.

Returns:

getMinimumWidth

public long getMinimumWidth()
The minimum width of the element. This is the minimum width of the element.

Returns:

getNode

public RenderNode getNode()

isPreserveWhitespace

public boolean isPreserveWhitespace()