commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath javax/swing/text/BoxView.java javax/s...


From: Roman Kennke
Subject: [commit-cp] classpath javax/swing/text/BoxView.java javax/s...
Date: Fri, 25 Aug 2006 11:20:48 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Roman Kennke <rabbit78> 06/08/25 11:20:48

Modified files:
        javax/swing/text: BoxView.java GlyphView.java LabelView.java 
                          ParagraphView.java 
        .              : ChangeLog 

Log message:
        2006-08-24  Roman Kennke  <address@hidden>
        
                * javax/swing/text/BoxView.java
                (childReqs): Removed obsolete field.
                (baselineLayout): Reimplemented for correct baseline layout.
                (baselineRequirements): Reimplemented for correct baseline
                layout.
                (updateChildRequirements): Removed obsolete method.
                * javax/swing/text/GlyphView.java
                (DefaultGlyphPainter.getSpan): Removed unused statement.
                (DefaultGlyphPainter.paint): Dont paint subscript/superscript
                specially. The subscript/superscript layout is performed
                via the alignment, the font is supplied by the StyleContext.
                (breakView): Removed unused statements.
                (getAlignment): Adjust alignment according to the
                superscript/subscript setting.
                (getFont): Reimplemented to fetch the font from the style
                context, or from the document if the stylecontext is not
                available.
                (getPreferredSpan): Adjust span for superscript. Use switch
                instead of if-else.
                * javax/swing/text/LabelView.java
                (setPropertiesFromAttributes): Fetch background and foreground
                from document / style context.
                (isSubscript): Resync properties if needed.
                * javax/swing/text/ParagraphView.java
                (Row.calculateMinorAxisRequirements): Overridden to perform
                a baseline layout.
                (Row.layoutMinorAxis): Overridden to perform a baseline layout.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/BoxView.java?cvsroot=classpath&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/GlyphView.java?cvsroot=classpath&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/LabelView.java?cvsroot=classpath&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/ParagraphView.java?cvsroot=classpath&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8456&r2=1.8457




reply via email to

[Prev in Thread] Current Thread [Next in Thread]