|
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
A FlowBox that can contain other FlowBoxes. The contained FlowBoxes are called fragments.
Constructor Summary | |
CompositeBox()
|
Method Summary | |
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. |
Methods inherited from class org.eclipse.draw2d.text.FlowBox |
containsPoint, getAscent, getBaseline, getDescent, getWidth, getX, requiresBidi, setWidth, setX |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CompositeBox()
Method Detail |
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 coordinate
|
Eclipse Draw2d 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |