org.jfree.layouting.renderer.process.layoutrules

Class InlineNodeSequenceElement

public class InlineNodeSequenceElement extends Object implements InlineSequenceElement

Anthing that is not text. This could be an image or an inline-block element. For now, we assume that these beasts are not breakable at the end of the line (outer linebreaks).

Author: Thomas Morgner

Constructor Summary
InlineNodeSequenceElement(RenderNode node)
Method Summary
longgetMaximumWidth()
The extra-space width for an element.
longgetMinimumWidth()
The width of the element.
RenderNodegetNode()
booleanisPreserveWhitespace()

Constructor Detail

InlineNodeSequenceElement

public InlineNodeSequenceElement(RenderNode node)

Method Detail

getMaximumWidth

public long getMaximumWidth()
The extra-space width for an element. Some elements can expand to fill some more space (justified text is a good example, adding some space between the letters of each word to reduce the inner-word spacing).

Returns:

getMinimumWidth

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

Returns:

getNode

public RenderNode getNode()

isPreserveWhitespace

public boolean isPreserveWhitespace()