Lines Matching defs:LineBreakMeasurer

49  * The <code>LineBreakMeasurer</code> class allows styled text to be
55 * <code>LineBreakMeasurer</code> is constructed with an iterator over
58 * <code>LineBreakMeasurer</code> maintains a position in the text for the
71 * <code>LineBreakMeasurer</code> implements the most commonly used
78 * <code>LineBreakMeasurer</code> treat tabs like 0-width spaces. Clients
100 * <code>LineBreakMeasurer</code> changes, a new
101 * <code>LineBreakMeasurer</code> must be constructed to reflect
102 * the change. (The old <code>LineBreakMeasurer</code> continues to
105 * single character, an existing <code>LineBreakMeasurer</code> can be
108 * <code>LineBreakMeasurer</code> is much faster than creating a new one.
125 * LineBreakMeasurer measurer = new LineBreakMeasurer(styledText, frc);
169 * LineBreakMeasurer measurer = new LineBreakMeasurer(styledText);
248 public final class LineBreakMeasurer {
258 * Constructs a <code>LineBreakMeasurer</code> for the specified text.
260 * @param text the text for which this <code>LineBreakMeasurer</code>
264 * <code>LineBreakMeasurer</code> instance are undefined (except,
272 * <code>LineBreakMeasurer</code> and user space
273 * @see LineBreakMeasurer#insertChar
274 * @see LineBreakMeasurer#deleteChar
276 public LineBreakMeasurer(AttributedCharacterIterator text, FontRenderContext frc) {
281 * Constructs a <code>LineBreakMeasurer</code> for the specified text.
283 * @param text the text for which this <code>LineBreakMeasurer</code>
287 * <code>LineBreakMeasurer</code> instance are undefined (except,
297 * <code>LineBreakMeasurer</code> and user space
299 * @see LineBreakMeasurer#insertChar
300 * @see LineBreakMeasurer#deleteChar
302 public LineBreakMeasurer(AttributedCharacterIterator text,
320 * update the current position of this <code>LineBreakMeasurer</code>.
333 * update the current position of this <code>LineBreakMeasurer</code>.
433 * of the text used by this <code>LineBreakMeasurer</code>,
455 * Returns the current position of this <code>LineBreakMeasurer</code>.
457 * @return the current position of this <code>LineBreakMeasurer</code>
465 * Sets the current position of this <code>LineBreakMeasurer</code>.
468 * <code>LineBreakMeasurer</code>; the position should be within the
469 * text used to construct this <code>LineBreakMeasurer</code> (or in
482 * Updates this <code>LineBreakMeasurer</code> after a single
509 * Updates this <code>LineBreakMeasurer</code> after a single