- <init>
Constructs a new instance of this class on the given device. You must dispose
the text layout when i
- dispose
- setText
Sets the receiver's text. Note: Setting the text also clears all the styles.
This method returns wit
- draw
Draws the receiver's text using the specified GC at the specified point. The
parameter flags can inc
- getBounds
Returns the bounds for the specified range of characters. The bounds is the
smallest rectangle that
- setFont
Sets the default font which will be used by the receiver to draw and measure
text. If the argument i
- setStyle
Sets the style of the receiver for the specified range. Styles previously set
for that range will be
- setOrientation
Sets the orientation of the receiver, which must be one of SWT.LEFT_TO_RIGHT or
SWT.RIGHT_TO_LEFT.
- getLineBounds
Returns the bounds of the line for the specified line index.
- getLineCount
Returns the receiver's line count. This includes lines caused by wrapping.
- getNextOffset
Returns the next offset for the specified offset and movement type. The movement
is one of SWT.MOVEM
- getPreviousOffset
Returns the previous offset for the specified offset and movement type. The
movement is one of SWT.M