Class OrphanPassThroughContext
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.process.util.OrphanPassThroughContext
-
- All Implemented Interfaces:
OrphanContext
public class OrphanPassThroughContext extends Object implements OrphanContext
-
-
Constructor Summary
Constructors Constructor Description OrphanPassThroughContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearForPooledReuse()
OrphanContext
commit(RenderBox box)
Widow is the y/top boundary for the element after which the box becomes unbreakable.void
endChild(RenderBox box)
long
getOrphanValue()
Orphan value is the y2/bottom-boundary for the element after which the box becomes breakable.OrphanContext
getParent()
long
getWidowValue()
void
init(StackedObjectPool<OrphanPassThroughContext> pool, OrphanContext parent)
void
registerBreakMark(RenderBox box)
void
registerFinishedNode(FinishedRenderNode node)
void
startChild(RenderBox box)
void
subContextCommitted(RenderBox contextBox)
-
-
-
Method Detail
-
getParent
public OrphanContext getParent()
-
init
public void init(StackedObjectPool<OrphanPassThroughContext> pool, OrphanContext parent)
-
startChild
public void startChild(RenderBox box)
- Specified by:
startChild
in interfaceOrphanContext
-
endChild
public void endChild(RenderBox box)
- Specified by:
endChild
in interfaceOrphanContext
-
getOrphanValue
public long getOrphanValue()
Description copied from interface:OrphanContext
Orphan value is the y2/bottom-boundary for the element after which the box becomes breakable.- Specified by:
getOrphanValue
in interfaceOrphanContext
- Returns:
-
getWidowValue
public long getWidowValue()
-
registerFinishedNode
public void registerFinishedNode(FinishedRenderNode node)
- Specified by:
registerFinishedNode
in interfaceOrphanContext
-
registerBreakMark
public void registerBreakMark(RenderBox box)
- Specified by:
registerBreakMark
in interfaceOrphanContext
-
commit
public OrphanContext commit(RenderBox box)
Description copied from interface:OrphanContext
Widow is the y/top boundary for the element after which the box becomes unbreakable.- Specified by:
commit
in interfaceOrphanContext
- Returns:
-
subContextCommitted
public void subContextCommitted(RenderBox contextBox)
- Specified by:
subContextCommitted
in interfaceOrphanContext
-
clearForPooledReuse
public void clearForPooledReuse()
- Specified by:
clearForPooledReuse
in interfaceOrphanContext
-
-