Package | Description |
---|---|
org.eclipse.draw2d.text |
Figures and support classes related to the layout and rendering of rich text.
|
Modifier and Type | Method and Description |
---|---|
protected TextFragmentBox |
TextLayout.getFragment(int i,
java.util.List fragments)
Reuses an existing
TextFragmentBox , or creates a new one. |
Modifier and Type | Method and Description |
---|---|
protected float |
FlowUtilities.getAverageCharWidth(TextFragmentBox fragment,
Font font)
Gets the average character width.
|
protected java.lang.String |
TextFlow.getBidiSubstring(TextFragmentBox box,
int index) |
protected void |
FlowUtilities.setupFragment(TextFragmentBox fragment,
Font font,
java.lang.String string)
Sets up the fragment width based using the font and string passed in.
|
protected int |
FlowUtilities.wrapFragmentInContext(TextFragmentBox frag,
java.lang.String string,
FlowContext context,
org.eclipse.draw2d.text.FlowUtilities.LookAhead lookahead,
Font font,
int wrapping)
Sets up a fragment and returns the number of characters consumed from the
given String.
|
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.