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, requiresBidi
getRecommendedWidth, setRecommendedWidth
public boolean containsPoint(int x, int y)
FlowBox
containsPoint
in class FlowBox
x
- Xy
- Ytrue
if the FlowBox contains the pointFlowBox.containsPoint(int, int)
public int getBaseline()
FlowBox
getBaseline
in class FlowBox
FlowBox.getBaseline()
public int getOuterAscent()
public int getOuterDescent()
public void setLineTop(int top)
CompositeBox
setLineTop
in class CompositeBox
top
- the y coordinateCompositeBox.setLineTop(int)
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.