public class OrphanCanvasContext extends Object implements OrphanContext
Constructor and Description |
---|
OrphanCanvasContext() |
Modifier and Type | Method and 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.
|
long |
getWidowValue() |
void |
init(StackedObjectPool<OrphanCanvasContext> pool,
OrphanContext parent) |
void |
registerBreakMark(RenderBox box) |
void |
registerFinishedNode(FinishedRenderNode node) |
void |
startChild(RenderBox box) |
void |
subContextCommitted(RenderBox contextBox) |
public void init(StackedObjectPool<OrphanCanvasContext> pool, OrphanContext parent)
public void startChild(RenderBox box)
startChild
in interface OrphanContext
public void registerFinishedNode(FinishedRenderNode node)
registerFinishedNode
in interface OrphanContext
public void registerBreakMark(RenderBox box)
registerBreakMark
in interface OrphanContext
public void endChild(RenderBox box)
endChild
in interface OrphanContext
public OrphanContext commit(RenderBox box)
OrphanContext
commit
in interface OrphanContext
public void subContextCommitted(RenderBox contextBox)
subContextCommitted
in interface OrphanContext
public long getOrphanValue()
OrphanContext
getOrphanValue
in interface OrphanContext
public long getWidowValue()
public void clearForPooledReuse()
clearForPooledReuse
in interface OrphanContext
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.