public class NestedLine extends LineBox
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsPoint(int x,
int y)
This method must be called on a block that is completely positioned and
committed.
|
int |
getBaseline()
Returns y coordinate for the box's baseline.
|
int |
getOuterAscent()
Returns the outer ascent of this box.
|
int |
getOuterDescent()
Returns the outer descent of this box.
|
void |
setLineTop(int top)
Positions the box vertically by setting the y coordinate for the top of
the content of the line.
|
add, getAscent, getDescent, isOccupied, requiresBidigetRecommendedWidth, setRecommendedWidthpublic boolean containsPoint(int x,
int y)
FlowBoxcontainsPoint in class FlowBoxx - Xy - Ytrue if the FlowBox contains the pointFlowBox.containsPoint(int, int)public int getBaseline()
FlowBoxgetBaseline in class FlowBoxFlowBox.getBaseline()public int getOuterAscent()
public int getOuterDescent()
public void setLineTop(int top)
CompositeBoxsetLineTop in class CompositeBoxtop - the y coordinateCompositeBox.setLineTop(int)Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.