org.pentaho.reporting.engine.classic.core.layout.process.layoutrules
Class EndSequenceElement
java.lang.Object
org.pentaho.reporting.engine.classic.core.layout.process.layoutrules.EndSequenceElement
- All Implemented Interfaces:
- InlineSequenceElement
public class EndSequenceElement
- extends Object
- implements InlineSequenceElement
This marks the end of an inline-element. It represents the border and padding. There is no break before such an
element.
- Author:
- Thomas Morgner
INSTANCE
public static final InlineSequenceElement INSTANCE
getMinimumWidth
public long getMinimumWidth(RenderNode node)
- The width of the element. This is the minimum width of the element.
- Specified by:
getMinimumWidth
in interface InlineSequenceElement
- Returns:
getMaximumWidth
public long getMaximumWidth(RenderNode node)
- 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:
isPreserveWhitespace
public boolean isPreserveWhitespace(RenderNode node)
- Specified by:
isPreserveWhitespace
in interface InlineSequenceElement
getClassification
public int getClassification()
- Specified by:
getClassification
in interface InlineSequenceElement
getType
public InlineSequenceElement.Classification getType()
- Specified by:
getType
in interface InlineSequenceElement