Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.layout
Class VerticalAlignContext

java.lang.Object
  extended by org.xhtmlrenderer.layout.VerticalAlignContext

public class VerticalAlignContext
extends java.lang.Object

This class performs the real work of vertically positioning inline boxes within a line (i.e. implementing the vertical-align property). Because of the requirements of vertical-align: top/bottom, a VerticalAlignContext is actually a tree of VerticalAlignContext objects which all must be taken into consideration when aligning content.


Constructor Summary
VerticalAlignContext()
           
 
Method Summary
 void alignChildren()
           
 VerticalAlignContext createChild(Box root)
           
 java.util.List getChildren()
           
 int getInlineBottom()
           
 int getInlineTop()
           
 int getLineBoxHeight()
           
 int getPaintingBottom()
           
 int getPaintingTop()
           
 VerticalAlignContext getParent()
           
 InlineBoxMeasurements getParentMeasurements()
           
 void popMeasurements()
           
 void pushMeasurements(InlineBoxMeasurements measurements)
           
 void setInitialMeasurements(InlineBoxMeasurements measurements)
           
 void setParent(VerticalAlignContext parent)
           
 void updateInlineBottom(int inlineBottom)
           
 void updateInlineTop(int inlineTop)
           
 void updatePaintingBottom(int paintingBottom)
           
 void updatePaintingTop(int paintingTop)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerticalAlignContext

public VerticalAlignContext()
Method Detail

getInlineBottom

public int getInlineBottom()

getInlineTop

public int getInlineTop()

updateInlineTop

public void updateInlineTop(int inlineTop)

updatePaintingTop

public void updatePaintingTop(int paintingTop)

updateInlineBottom

public void updateInlineBottom(int inlineBottom)

updatePaintingBottom

public void updatePaintingBottom(int paintingBottom)

getLineBoxHeight

public int getLineBoxHeight()

pushMeasurements

public void pushMeasurements(InlineBoxMeasurements measurements)

getParentMeasurements

public InlineBoxMeasurements getParentMeasurements()

popMeasurements

public void popMeasurements()

getPaintingBottom

public int getPaintingBottom()

getPaintingTop

public int getPaintingTop()

createChild

public VerticalAlignContext createChild(Box root)

getChildren

public java.util.List getChildren()

getParent

public VerticalAlignContext getParent()

setParent

public void setParent(VerticalAlignContext parent)

alignChildren

public void alignChildren()

setInitialMeasurements

public void setInitialMeasurements(InlineBoxMeasurements measurements)

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home