Interface OrphanContext
-
- All Known Implementing Classes:
OrphanBlockContext
,OrphanCanvasContext
,OrphanPassThroughContext
public interface OrphanContext
-
-
Method Summary
All Methods Instance Methods Abstract 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.void
registerBreakMark(RenderBox box)
void
registerFinishedNode(FinishedRenderNode node)
void
startChild(RenderBox box)
void
subContextCommitted(RenderBox contextBox)
-
-
-
Method Detail
-
startChild
void startChild(RenderBox box)
-
endChild
void endChild(RenderBox box)
-
registerFinishedNode
void registerFinishedNode(FinishedRenderNode node)
-
getOrphanValue
long getOrphanValue()
Orphan value is the y2/bottom-boundary for the element after which the box becomes breakable.- Returns:
-
commit
OrphanContext commit(RenderBox box)
Widow is the y/top boundary for the element after which the box becomes unbreakable.- Returns:
-
subContextCommitted
void subContextCommitted(RenderBox contextBox)
-
clearForPooledReuse
void clearForPooledReuse()
-
registerBreakMark
void registerBreakMark(RenderBox box)
-
-