Constructor and Description |
---|
CompositeBox() |
Modifier and Type | Method and Description |
---|---|
abstract void |
add(FlowBox box)
Adds the given box and updates properties of this composite box.
|
int |
getRecommendedWidth()
Returns the recommended width for this CompositeBox.
|
abstract void |
setLineTop(int top)
Positions the box vertically by setting the y coordinate for the top of
the content of the line.
|
void |
setRecommendedWidth(int w)
Sets the recommended width for this CompositeBox.
|
containsPoint, getAscent, getBaseline, getDescent, getWidth, getX, requiresBidi, setWidth, setX
public abstract void add(FlowBox box)
box
- the child being addedpublic int getRecommendedWidth()
public void setRecommendedWidth(int w)
w
- the widthpublic abstract void setLineTop(int top)
top
- the y coordinateCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.