|
||||||||||
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.BlockBox
A CompositeBox suitable for containing multiple LineBox fragments.
Field Summary |
Fields inherited from class org.eclipse.draw2d.text.CompositeBox |
fragments |
Fields inherited from class org.eclipse.draw2d.text.FlowBox |
x, y |
Constructor Summary | |
BlockBox()
|
Method Summary | |
void |
add(FlowBox box)
Adds the specified FlowBox. |
void |
setHeight(int h)
Sets the height. |
protected void |
unionInfo(FlowBox box)
Unions the dimensions of this with the dimensions of the passed FlowBox. |
Methods inherited from class org.eclipse.draw2d.text.CompositeBox |
clear, getFragments, getRecommendedWidth, isOccupied, resetInfo, setRecommendedWidth |
Methods inherited from class org.eclipse.draw2d.text.FlowBox |
containsPoint, getAscent, getDescent, getHeight, getWidth, makeBaseline |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BlockBox()
Method Detail |
public void add(FlowBox box)
CompositeBox
add
in class CompositeBox
box
- the FlowBox being addedCompositeBox.add(FlowBox)
public void setHeight(int h)
h
- The heightprotected void unionInfo(FlowBox box)
unionInfo
in class CompositeBox
box
- The FlowBox to union this with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |