CVSROOT: /cvsroot/classpath Module name: classpath Changes by: Roman Kennke <rabbit78> 06/08/11 12:33:23
Modified files: javax/swing/text: GlyphView.java LabelView.java . : ChangeLog Log message: 2006-08-11 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/text/GlyphView.java (DefaultGlyphPainter.modelToView): Fixed model->view mapping. * javax/swing/text/LabelView.java (valid): New flag indicating if the text attributes are valid. (LabelView): Initialize valid field with false. (setPropertiesFromAttributes): Call setter methods instead of setting properties directly. Set valid to true. (changedUpdate): Invalidate attributes. Call super. (getBackground): Sync attributes if necessary. (getForeground): Sync attributes if necessary. (getFont): Sync attributes if necessary. (isUnderline): Sync attributes if necessary. (isSuperscript): Sync attributes if necessary. (isStrikeThrough): Sync attributes if necessary. (getFontMetrics): Sync attributes if necessary. Fetch font metrics from toolkit if Container is not available yet. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/GlyphView.java?cvsroot=classpath&r1=1.18&r2=1.19 http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/LabelView.java?cvsroot=classpath&r1=1.3&r2=1.4 http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8365&r2=1.8366