Package com.itextpdf.layout.layout
Class MinMaxWidthLayoutResult
- java.lang.Object
-
- com.itextpdf.layout.layout.LayoutResult
-
- com.itextpdf.layout.layout.MinMaxWidthLayoutResult
-
- Direct Known Subclasses:
LineLayoutResult
,TextLayoutResult
public class MinMaxWidthLayoutResult extends LayoutResult
Represents the result of contentlayouting
.
-
-
Field Summary
Fields Modifier and Type Field Description protected MinMaxWidth
minMaxWidth
TheMinMaxWidth
value of min and max width.-
Fields inherited from class com.itextpdf.layout.layout.LayoutResult
areaBreak, causeOfNothing, FULL, NOTHING, occupiedArea, overflowRenderer, PARTIAL, splitRenderer, status
-
-
Constructor Summary
Constructors Constructor Description MinMaxWidthLayoutResult(int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer)
Creates min and max width.MinMaxWidthLayoutResult(int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer, IRenderer cause)
Creates min and max width.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MinMaxWidth
getMinMaxWidth()
Gets min and max width.MinMaxWidthLayoutResult
setMinMaxWidth(MinMaxWidth minMaxWidth)
Sets min and max width.-
Methods inherited from class com.itextpdf.layout.layout.LayoutResult
getAreaBreak, getCauseOfNothing, getOccupiedArea, getOverflowRenderer, getSplitRenderer, getStatus, setAreaBreak, setOverflowRenderer, setSplitRenderer, setStatus, toString
-
-
-
-
Field Detail
-
minMaxWidth
protected MinMaxWidth minMaxWidth
TheMinMaxWidth
value of min and max width.
-
-
Constructor Detail
-
MinMaxWidthLayoutResult
public MinMaxWidthLayoutResult(int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer)
Creates min and max width.- Parameters:
status
- the status which indicates the contentoccupiedArea
- the area occupied by the contentsplitRenderer
- the renderer to draw the splitted part of the contentoverflowRenderer
- the renderer to draw the overflowed part of the content
-
MinMaxWidthLayoutResult
public MinMaxWidthLayoutResult(int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer, IRenderer cause)
Creates min and max width.- Parameters:
status
- the status which indicates the contentoccupiedArea
- the area occupied by the contentsplitRenderer
- the renderer to draw the splitted part of the contentoverflowRenderer
- the renderer to draw the overflowed part of the contentcause
- the first renderer to produceLayoutResult.NOTHING
-
-
Method Detail
-
getMinMaxWidth
public MinMaxWidth getMinMaxWidth()
Gets min and max width.- Returns:
- min and max width
-
setMinMaxWidth
public MinMaxWidthLayoutResult setMinMaxWidth(MinMaxWidth minMaxWidth)
Sets min and max width.- Parameters:
minMaxWidth
- min and max width- Returns:
- min and max width
-
-