public final class BoxAlignContext extends AlignContext
Constructor and Description |
---|
BoxAlignContext(RenderBox box) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(AlignContext context) |
long |
getAfterEdge() |
long |
getBaselineDistance(int baseline) |
long |
getBeforeEdge() |
AlignContext |
getFirstChild() |
long |
getInsetsBottom() |
long |
getInsetsTop() |
boolean |
isSimpleNode() |
void |
setAfterEdge(long offset) |
void |
setBeforeEdge(long offset) |
void |
shift(long delta) |
void |
validate() |
getDominantBaseline, getNext, getNode, setDominantBaseline, setNext
public BoxAlignContext(RenderBox box)
public boolean isSimpleNode()
isSimpleNode
in class AlignContext
public void addChild(AlignContext context)
public AlignContext getFirstChild()
public long getInsetsTop()
public long getInsetsBottom()
public long getBaselineDistance(int baseline)
getBaselineDistance
in class AlignContext
public void shift(long delta)
shift
in class AlignContext
public long getAfterEdge()
getAfterEdge
in class AlignContext
public long getBeforeEdge()
getBeforeEdge
in class AlignContext
public void setBeforeEdge(long offset)
public void setAfterEdge(long offset)
public void validate()