Package org.eclipse.draw2d.text
Class SimpleTextLayout
java.lang.Object
org.eclipse.draw2d.text.FlowFigureLayout
org.eclipse.draw2d.text.TextLayout
org.eclipse.draw2d.text.SimpleTextLayout
- All Implemented Interfaces:
LayoutManager
- Since:
- 2.1
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleTextLayout
(TextFlow flow) Creates a new SimpleTextLayout with the given TextFlow -
Method Summary
Modifier and TypeMethodDescriptionprotected void
layout()
Called duringFlowFigureLayout.layout(IFigure)
.Methods inherited from class org.eclipse.draw2d.text.TextLayout
getFragment
Methods inherited from class org.eclipse.draw2d.text.FlowFigureLayout
getConstraint, getContext, getFlowFigure, getMinimumSize, getPreferredSize, invalidate, layout, remove, setConstraint, setFlowContext
-
Constructor Details
-
SimpleTextLayout
Creates a new SimpleTextLayout with the given TextFlow- Parameters:
flow
- the TextFlow
-
-
Method Details
-
layout
protected void layout()Description copied from class:FlowFigureLayout
Called duringFlowFigureLayout.layout(IFigure)
.- Specified by:
layout
in classFlowFigureLayout
- See Also:
-