Class InlineBoxSequenceElement
- java.lang.Object
-
- org.jfree.layouting.renderer.process.layoutrules.InlineNodeSequenceElement
-
- org.jfree.layouting.renderer.process.layoutrules.InlineBoxSequenceElement
-
- All Implemented Interfaces:
InlineSequenceElement
public class InlineBoxSequenceElement extends InlineNodeSequenceElement
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
Constructors Constructor Description InlineBoxSequenceElement(RenderBox box)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetMaximumWidth()The extra-space width for an element.longgetMinimumWidth()The width of the element.booleanisPreserveWhitespace()-
Methods inherited from class org.jfree.layouting.renderer.process.layoutrules.InlineNodeSequenceElement
getNode
-
-
-
-
Constructor Detail
-
InlineBoxSequenceElement
public InlineBoxSequenceElement(RenderBox box)
-
-
Method Detail
-
getMinimumWidth
public long getMinimumWidth()
The width of the element. This is the minimum width of the element.- Specified by:
getMinimumWidthin interfaceInlineSequenceElement- Overrides:
getMinimumWidthin classInlineNodeSequenceElement- Returns:
-
getMaximumWidth
public long getMaximumWidth()
Description copied from class:InlineNodeSequenceElementThe 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:
getMaximumWidthin interfaceInlineSequenceElement- Overrides:
getMaximumWidthin classInlineNodeSequenceElement- Returns:
-
isPreserveWhitespace
public boolean isPreserveWhitespace()
- Specified by:
isPreserveWhitespacein interfaceInlineSequenceElement- Overrides:
isPreserveWhitespacein classInlineNodeSequenceElement
-
-