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
Represents the result of content
layouting
.
-
Field Summary
Modifier and TypeFieldDescriptionprotected 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
ConstructorDescriptionMinMaxWidthLayoutResult
(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
Modifier and TypeMethodDescriptionGets min and max width.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 Details
-
minMaxWidth
TheMinMaxWidth
value of min and max width.
-
-
Constructor Details
-
MinMaxWidthLayoutResult
public MinMaxWidthLayoutResult(int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer) Creates min and max width.- Parameters:
-
status
- the status which indicates the content -
occupiedArea
- the area occupied by the content -
splitRenderer
- the renderer to draw the splitted part of the content -
overflowRenderer
- 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 content -
occupiedArea
- the area occupied by the content -
splitRenderer
- the renderer to draw the splitted part of the content -
overflowRenderer
- the renderer to draw the overflowed part of the content -
cause
- the first renderer to produceLayoutResult.NOTHING
-
-
Method Details
-
getMinMaxWidth
Gets min and max width.- Returns:
- min and max width
-
setMinMaxWidth
Sets min and max width.- Parameters:
-
minMaxWidth
- min and max width - Returns:
- min and max width
-