|
Eclipse Draw2d 3.0 |
||||||||||
| 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
org.eclipse.draw2d.text.LineRoot
| Constructor Summary | |
LineRoot(boolean isMirrored)
|
|
| Method Summary | |
void |
add(FlowBox child)
Adds the given box and updates properties of this composite box. |
void |
commit()
Committing a LineRoot will position its children correctly. |
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. |
void |
setBaseline(int baseline)
|
void |
setLineTop(int top)
Positions the box vertically by setting the y coordinate for the top of the content of the line. |
| Methods inherited from class org.eclipse.draw2d.text.LineBox |
getAscent, getDescent, isOccupied, requiresBidi |
| Methods inherited from class org.eclipse.draw2d.text.CompositeBox |
getRecommendedWidth, setRecommendedWidth |
| Methods inherited from class org.eclipse.draw2d.text.FlowBox |
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 LineRoot(boolean isMirrored)
| Method Detail |
public void add(FlowBox child)
CompositeBox
add in class LineBoxpublic void commit()
public boolean containsPoint(int x,
int y)
FlowBox
containsPoint in class FlowBoxx - Xy - Y
true if the FlowBox contains the pointpublic int getBaseline()
FlowBox
getBaseline in class FlowBoxpublic void setBaseline(int baseline)
public void setLineTop(int top)
CompositeBox
setLineTop in class CompositeBoxtop - the y coordinate
|
Eclipse Draw2d 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||