public abstract class ContentBox extends FlowBox
Constructor and Description |
---|
ContentBox() |
Modifier and Type | Method and Description |
---|---|
int |
getBaseline()
Returns y coordinate for the box's baseline.
|
int |
getBidiLevel() |
boolean |
requiresBidi()
Returns
true if the bidi level for this box is specified,
and is not the default level (0). |
void |
setBidiLevel(int newLevel)
Sets the Bidi level of this fragment.
|
containsPoint, getAscent, getDescent, getWidth, getX, setWidth, setX
public int getBaseline()
FlowBox
getBaseline
in class FlowBox
FlowBox.getBaseline()
public int getBidiLevel()
setBidiLevel(int)
public boolean requiresBidi()
true
if the bidi level for this box is specified,
and is not the default level (0).requiresBidi
in class FlowBox
true
if the box is bi-directionalFlowBox.requiresBidi()
public void setBidiLevel(int newLevel)
newLevel
- the new BidiLevelgetBidiLevel()
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.