84858687888990
} AttributedString as = new AttributedString(string); as.addAttribute(TextAttribute.FONT, font); this.breaker = new TextRunBreaker(as.getIterator(), frc); caretManager = new CaretManager(breaker); }
107108109110111112113
AttributedString as = new AttributedString(string); as.addAttributes(attributes, 0, string.length()); this.breaker = new TextRunBreaker(as.getIterator(), frc); caretManager = new CaretManager(breaker); }
120121122123124125126
if (text.getBeginIndex() == text.getEndIndex()){ throw new IllegalArgumentException(Messages.getString("awt.04", "text")); //$NON-NLS-1$ //$NON-NLS-2$ } this.breaker = new TextRunBreaker(text, frc); caretManager = new CaretManager(breaker); }
125126127128129130131
caretManager = new CaretManager(breaker); } TextLayout(TextRunBreaker breaker) { this.breaker = breaker; caretManager = new CaretManager(this.breaker); }
86878889909192
112113114115116117118
127128129130131132133
// 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); }
132133134135136137138
88899091929394
114115116117118119120