129130131132133134135
// awt.04='{0}' iterator parameter has zero length throw new IllegalArgumentException(Messages.getString("awt.04", "text")); //$NON-NLS-1$ //$NON-NLS-2$ } this.breaker = new TextRunBreaker(text, frc); caretManager = new CaretManager(breaker); }
134135136137138139140
caretManager = new CaretManager(breaker); } TextLayout(TextRunBreaker breaker) { this.breaker = breaker; caretManager = new CaretManager(this.breaker); }
87888990919293
} AttributedString as = new AttributedString(string); as.addAttribute(TextAttribute.FONT, font); this.breaker = new TextRunBreaker(as.getIterator(), frc); caretManager = new CaretManager(breaker); }
113114115116117118119
AttributedString as = new AttributedString(string); as.addAttributes(attributes, 0, string.length()); this.breaker = new TextRunBreaker(as.getIterator(), frc); caretManager = new CaretManager(breaker); }
128129130131132133134
133134135136137138139