[Top][All Lists]

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

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

From: Roman Kennke
Subject: [commit-cp] classpath javax/swing/text/ javax/swin...
Date: Mon, 28 Aug 2006 15:52:06 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Roman Kennke <rabbit78> 06/08/28 15:52:06

Modified files:
        .              : ChangeLog 

Log message:
        2006-08-28  Roman Kennke  <address@hidden>
                * javax/swing/text/
                (height): Removed unneeded field.
                (width): Removed unneeded field.
                (getBreakWeight): Return GoodBreakWeight when pos is after
                the view's span.
                (getToolTipText): Check view index more carefully. Avoid
                Rectangle creation.
                (insertUpdate): Only execute method body if view count > 0.
                When updateChildren returns false, clear the ec variable.
                (updateChildren): Added null checks.
                (viewToModel): Initialize bias array correctly.
                * javax/swing/text/
                (children): Made private.
                (numChildren): New field.
                (loadChildren): Check factory for null. Don't load children
                when factory is null.
                (replace): Removed null check. Nullify removed children. Made
                growing the array more efficient.
                (getViewCount): Return numChildren rather then the real array
                * javax/swing/text/
                (getViewAtPoint): Fixed algorithm for finding the view.
                (replace): Made array growing more efficient.
                (replaceLayoutArray): New helper method for growing/patching
                the layout arrays.
                (viewToModel): Make sure we have a valid layout.


reply via email to

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