Class BlockLevelPaginationShiftState
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.process.util.BlockLevelPaginationShiftState
-
- All Implemented Interfaces:
PaginationShiftState
public class BlockLevelPaginationShiftState extends Object implements PaginationShiftState
-
-
Constructor Summary
Constructors Constructor Description BlockLevelPaginationShiftState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getShiftForNextChild()
void
increaseShift(long value)
boolean
isManualBreakSuspended()
boolean
isManualBreakSuspendedForChilds()
Defines whether any child will have its break suspended.PaginationShiftState
pop(InstanceID id)
void
reuse(StackedObjectPool<BlockLevelPaginationShiftState> pool, PaginationShiftState parent, RenderBox box)
void
setShift(long value)
void
suspendManualBreaks()
void
updateShiftFromChild(long absoluteValue)
-
-
-
Method Detail
-
reuse
public void reuse(StackedObjectPool<BlockLevelPaginationShiftState> pool, PaginationShiftState parent, RenderBox box)
-
suspendManualBreaks
public void suspendManualBreaks()
- Specified by:
suspendManualBreaks
in interfacePaginationShiftState
-
isManualBreakSuspended
public boolean isManualBreakSuspended()
- Specified by:
isManualBreakSuspended
in interfacePaginationShiftState
-
isManualBreakSuspendedForChilds
public boolean isManualBreakSuspendedForChilds()
Description copied from interface:PaginationShiftState
Defines whether any child will have its break suspended. Note that if you want to query whether it is ok to handle breaks defined on the current context, you have to ask "isManualBreakSuspended()"- Specified by:
isManualBreakSuspendedForChilds
in interfacePaginationShiftState
- Returns:
-
updateShiftFromChild
public void updateShiftFromChild(long absoluteValue)
- Specified by:
updateShiftFromChild
in interfacePaginationShiftState
-
increaseShift
public void increaseShift(long value)
- Specified by:
increaseShift
in interfacePaginationShiftState
-
getShiftForNextChild
public long getShiftForNextChild()
- Specified by:
getShiftForNextChild
in interfacePaginationShiftState
-
setShift
public void setShift(long value)
- Specified by:
setShift
in interfacePaginationShiftState
-
pop
public PaginationShiftState pop(InstanceID id)
- Specified by:
pop
in interfacePaginationShiftState
-
-