[Top][All Lists]

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

[commit-cp] classpath javax/swing/ javax/swi...

From: Robert Schuster
Subject: [commit-cp] classpath javax/swing/ javax/swi...
Date: Thu, 13 Apr 2006 12:20:43 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Robert Schuster <address@hidden>        06/04/13 12:20:43

Modified files:
        javax/swing    : 
        .              : ChangeLog 

Log message:
        Fixes PR 26947.
        2006-04-13  Robert Schuster  <address@hidden>
        PR 26947
        * javax/swing/ Removed scrollOffset variable.
        (JTextField): Moved up initialization of horizontalVisibility field.
        (getScrollOffset): Implemented.
        (setScrollOffset): Implemented.
        (getHorizonztalVisibility): Removed note.
        (scrollRectToVisible): New method.
        * javax/swing/text/ Added cachedSpan variable.
        (checkContainer): New method.
        (updateVisibility): New method.
        (calculateHorizontalSpan): New method.
        (adjustAllocation): Removed unneeded local variables, added code
        to handle scrolling.
        (getPreferredSpan): Use new method calculateHorizontalSpan,
        avoid calculation by returning cached value cachedSpan.
        (paint): Added check whether the hosted component is a JTextField.
        (insertUpdate): Invalidate cached span value, update visibility
        if neccessary.
        (removeUpdate): Dito.
        (changeUpdate): Dito.


reply via email to

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