public abstract class TextLayout extends FlowFigureLayout
Constructor and Description |
---|
TextLayout(TextFlow flow)
Creates a new TextLayout with the given TextFlow
|
Modifier and Type | Method and Description |
---|---|
protected TextFragmentBox |
getFragment(int i,
java.util.List fragments)
Reuses an existing
TextFragmentBox , or creates a new one. |
getConstraint, getContext, getFlowFigure, getMinimumSize, getPreferredSize, invalidate, layout, layout, remove, setConstraint, setFlowContext
public TextLayout(TextFlow flow)
flow
- The TextFlowprotected TextFragmentBox getFragment(int i, java.util.List fragments)
TextFragmentBox
, or creates a new one.i
- the indexfragments
- the original list of fragmentsCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.