org.jfree.layouting.renderer.process.layoutrules

Class StartSequenceElement

Implemented Interfaces:
InlineSequenceElement

public class StartSequenceElement
extends java.lang.Object
implements InlineSequenceElement

Represents the opening of an inline element and represents the respective border. There is no break after that element.
Author:
Thomas Morgner

Constructor Summary

StartSequenceElement(InlineRenderBox node)

Method Summary

long
getMaximumWidth()
The extra-space width for an element.
long
getMinimumWidth()
The width of the element.
RenderNode
getNode()
boolean
isPreserveWhitespace()

Constructor Details

StartSequenceElement

public StartSequenceElement(InlineRenderBox node)

Method Details

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).
Specified by:
getMaximumWidth in interface InlineSequenceElement
Returns:

getMinimumWidth

public long getMinimumWidth()
The width of the element. This is the minimum width of the element.
Specified by:
getMinimumWidth in interface InlineSequenceElement
Returns:

getNode

public RenderNode getNode()
Specified by:
getNode in interface InlineSequenceElement

isPreserveWhitespace

public boolean isPreserveWhitespace()
Specified by:
isPreserveWhitespace in interface InlineSequenceElement