org.jfree.layouting.renderer.process.layoutrules
Interface InlineSequenceElement
- EndSequenceElement, InlineBoxSequenceElement, InlineNodeSequenceElement, ReplacedContentSequenceElement, SpacerSequenceElement, StartSequenceElement, TextSequenceElement
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.
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.
getMinimumWidth
public long getMinimumWidth()
The minimum width of the element. This is the minimum width of the element.
isPreserveWhitespace
public boolean isPreserveWhitespace()