|
Eclipse Draw2d 3.0.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.draw2d.Figure
org.eclipse.draw2d.text.FlowFigure
org.eclipse.draw2d.text.BlockFlow
A FlowFigure represented by a single BlockBox fragment containing
one or more lines. A BlockFlow is a creator of LineBoxes, which its children require
during layout. A BlockFlow can be thought of as a paragraph.
BlockFlows should be nested inside other BlockFlows, but it is also valid to place
them in InlineFlows. FlowPage can be used as a "root" block and can be added to
normal draw2d Figures.
Only FlowFigures can be added to a BlockFlow.
WARNING: This class is not intended to be subclassed by clients.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.draw2d.Figure |
Figure.FigureIterator, Figure.IdentitySearch |
| Nested classes inherited from class org.eclipse.draw2d.IFigure |
IFigure.NoInsets |
| Field Summary |
| Fields inherited from class org.eclipse.draw2d.Figure |
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTip |
| Fields inherited from interface org.eclipse.draw2d.IFigure |
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS |
| Constructor Summary | |
BlockFlow()
Constructs a new BlockFlow. |
|
| Method Summary | |
protected FlowFigureLayout |
createDefaultFlowLayout()
Creates the default layout manager |
protected BlockBox |
getBlockBox()
Returns the BlockBox associated with this. |
int |
getHorizontalAligment()
Returns the horizontal aligment. |
void |
postValidate()
Called after validate has occurred. |
void |
setHorizontalAligment(int value)
Sets the horitontal aligment of the block. |
protected boolean |
useLocalCoordinates()
Returns true if this Figure uses local coordinates. |
| Methods inherited from class org.eclipse.draw2d.text.FlowFigure |
add, paintFigure, setBounds, setFlowContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BlockFlow()
| Method Detail |
protected FlowFigureLayout createDefaultFlowLayout()
FlowFigure
createDefaultFlowLayout in class FlowFigureFlowFigure.createDefaultFlowLayout()protected BlockBox getBlockBox()
public int getHorizontalAligment()
public void postValidate()
FlowFigure
postValidate in class FlowFigureFlowFigure.postValidate()public void setHorizontalAligment(int value)
PositionConstants.LEFT
PositionConstants.RIGHT
PositionConstants.CENTER
value - the aligmentprotected boolean useLocalCoordinates()
Figuretrue if this Figure uses local coordinates. This means its
children are placed relative to this Figure's top-left corner.
useLocalCoordinates in class Figuretrue if this Figure uses local coordinatesFigure.useLocalCoordinates()
|
Eclipse Draw2d 3.0.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||