|
Eclipse Draw2d 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.text.FlowBox
org.eclipse.draw2d.text.CompositeBox
org.eclipse.draw2d.text.LineBox
Constructor Summary | |
LineBox()
|
Method Summary | |
void |
add(FlowBox child)
Adds the given box and updates properties of this composite box. |
int |
getAscent()
Returns the amount of line content in pixels which is above the baseline. |
int |
getDescent()
Returns the amount of line content in pixels which is below the baseline. |
boolean |
isOccupied()
|
boolean |
requiresBidi()
Returns true if any of the children are bi-directional. |
Methods inherited from class org.eclipse.draw2d.text.CompositeBox |
getRecommendedWidth, setLineTop, setRecommendedWidth |
Methods inherited from class org.eclipse.draw2d.text.FlowBox |
containsPoint, getBaseline, getWidth, getX, setWidth, setX |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LineBox()
Method Detail |
public void add(FlowBox child)
CompositeBox
add
in class CompositeBox
child
- the child being addedCompositeBox.add(org.eclipse.draw2d.text.FlowBox)
public int getAscent()
FlowBox
getAscent
in class FlowBox
FlowBox.getAscent()
public int getDescent()
FlowBox
getDescent
in class FlowBox
FlowBox.getDescent()
public boolean isOccupied()
true
if this box contains any fragmentspublic boolean requiresBidi()
FlowBox
true
if any of the children are bi-directional. Default
implementation returns false.
requiresBidi
in class FlowBox
true
if the box is bi-directionalFlowBox.requiresBidi()
|
Eclipse Draw2d 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |