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/Abstract...


From: Roman Kennke
Subject: [commit-cp] classpath ./ChangeLog javax/swing/text/Abstract...
Date: Fri, 29 Jul 2005 06:47:16 -0400

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Roman Kennke <address@hidden>   05/07/29 10:47:16

Modified files:
        .              : ChangeLog 
        javax/swing/text: AbstractDocument.java 
                          DefaultStyledDocument.java GapContent.java 
                          PlainDocument.java 
Added files:
        javax/swing/text: LabelView.java 

Log message:
        2005-07-29  Roman Kennke  <address@hidden>
        
        * javax/swing/text/AbstractDocument.java
        (createPosition): Delegate this call to the actual Content.
        (LeafElement.constructor): Manage the start and end marks via
        Position objects.
        (LeafElement.getEndOffset): Use Position instead of static mark.
        (LeafElement.getStartOffset): Use Position instead of static mark.
        * javax/swing/text/DefaultStyledDocument.java
        (ElementBuffer.change): New method. Performs structural changes
        in the element tree that are necessary in order to change
        text attributes.
        (ElementBuffer.changeUpdate): New method. This is the method for
        change().
        (ElementBuffer.split): New package-private method. Splits an
        element into two elements.
        (setCharacterAttributes): Implemented this method. This sets
        character attributes on a piece of content.
        * javax/swing/text/GapContent.java
        (GapContentPosition): New inner class. Implements the Position
        interface for GapContent.
        (constructor): Initialize the list that stores the Position objects.
        (createPosition): Reimplemented. Now uses the GapContentPosition
        class.
        (shiftEnd): Update the stored positions.
        (shiftGap): Update the stored positions.
        * javax/swing/text/LabelView.java: New class.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4282&tr2=1.4283&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/LabelView.java?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/AbstractDocument.java.diff?tr1=1.19&tr2=1.20&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/DefaultStyledDocument.java.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/GapContent.java.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/PlainDocument.java.diff?tr1=1.12&tr2=1.13&r1=text&r2=text





reply via email to

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