commit-classpath
[Top][All Lists]
Advanced

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

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


From: Roman Kennke
Subject: [commit-cp] classpath ./ChangeLog javax/swing/text/BoxView....
Date: Thu, 06 Oct 2005 16:16:32 -0400

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Roman Kennke <address@hidden>   05/10/06 20:16:32

Modified files:
        .              : ChangeLog 
        javax/swing/text: BoxView.java CompositeView.java FlowView.java 
                          GlyphView.java Utilities.java View.java 

Log message:
        2005-10-06  Roman Kennke  <address@hidden>
        
        * javax/swing/text/BoxView.java
        (paint): Only call paintChild if child allocation is not empty.
        (layout): Don't store the width and height fields here.
        (setSize): Store the width and height fields here.
        * javax/swing/text/CompositeView.java
        (getViewIndexAtPosition): Reworked child view searching.
        (getInsideAllocation): Fixed insets calculation.
        * javax/swing/text/FlowView.java
        (FlowStrategy.layoutRow): Return an offset of -1 if no more child
        views are in the logical view.
        (FlowStrategy.createView): If there are no more child views,
        then return null.
        (LogicalView.getViewIndex): New method. Implements child view
        searching for the LogicalView.
        * javax/swing/text/GlyphView.java
        (DefaultGlyphPainter.getHeight): Use Toolkit FontMetrics instead
        of parent containers FontMetrics.
        (DefaultGlyphPainter.getSpan): Use Toolkit FontMetrics instead
        of parent containers FontMetrics.
        * javax/swing/text/Utilities.java
        (getTabbedTextOffset): Check for 0 in the char array and stop
        there.
        * javax/swing/text/View.java
        (getContainer): If there's no parent, don't throw an Error, instead
        return null as specified.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5139&tr2=1.5140&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/BoxView.java.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/CompositeView.java.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/FlowView.java.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/GlyphView.java.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/Utilities.java.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/View.java.diff?tr1=1.20&tr2=1.21&r1=text&r2=text





reply via email to

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