Class InitialPaginationShiftState
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.process.util.InitialPaginationShiftState
-
- All Implemented Interfaces:
PaginationShiftState
public class InitialPaginationShiftState extends Object implements PaginationShiftState
-
-
Constructor Summary
Constructors Constructor Description InitialPaginationShiftState()
-
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
setShift(long value)
void
suspendManualBreaks()
void
updateShiftFromChild(long absoluteValue)
-
-
-
Method Detail
-
isManualBreakSuspended
public boolean isManualBreakSuspended()
- Specified by:
isManualBreakSuspended
in interfacePaginationShiftState
-
suspendManualBreaks
public void suspendManualBreaks()
- Specified by:
suspendManualBreaks
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:
-
getShiftForNextChild
public long getShiftForNextChild()
- Specified by:
getShiftForNextChild
in interfacePaginationShiftState
-
pop
public PaginationShiftState pop(InstanceID id)
- Specified by:
pop
in interfacePaginationShiftState
-
updateShiftFromChild
public void updateShiftFromChild(long absoluteValue)
- Specified by:
updateShiftFromChild
in interfacePaginationShiftState
-
increaseShift
public void increaseShift(long value)
- Specified by:
increaseShift
in interfacePaginationShiftState
-
setShift
public void setShift(long value)
- Specified by:
setShift
in interfacePaginationShiftState
-
-