[Top][All Lists]

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

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

From: Roman Kennke
Subject: [commit-cp] classpath javax/swing/text/ 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:
        .              : ChangeLog 

Log message:
        2006-08-24  Roman Kennke  <address@hidden>
                * javax/swing/text/
                (childReqs): Removed obsolete field.
                (baselineLayout): Reimplemented for correct baseline layout.
                (baselineRequirements): Reimplemented for correct baseline
                (updateChildRequirements): Removed obsolete method.
                * javax/swing/text/
                (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
                (getPreferredSpan): Adjust span for superscript. Use switch
                instead of if-else.
                * javax/swing/text/
                (setPropertiesFromAttributes): Fetch background and foreground
                from document / style context.
                (isSubscript): Resync properties if needed.
                * javax/swing/text/
                (Row.calculateMinorAxisRequirements): Overridden to perform
                a baseline layout.
                (Row.layoutMinorAxis): Overridden to perform a baseline layout.


reply via email to

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