commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] classpath ./ChangeLog java/awt/Container.java j...


From: Roman Kennke
Subject: [commit-cp] classpath ./ChangeLog java/awt/Container.java j...
Date: Mon, 25 Jul 2005 10:18:03 -0400

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Roman Kennke <address@hidden>   05/07/25 14:18:03

Modified files:
        .              : ChangeLog 
        java/awt       : Container.java Component.java 
        gnu/java/awt   : AWTUtilities.java 

Log message:
        2005-07-25  Roman Kennke  <address@hidden>
        
        * gnu/java/awt/AWTUtilities.java:
        Added methods from SwingUtilities so that AWT does not have to
        depend on Swing.
        * java/awt/Component.java:
        Reverted my DEFAULT_FONT patch from yesterday. This does not
        seem to work with the Gtk peers.
        * java/awt/Container.java
        (addImpl): Call addNotify() on the added child. Invalidate not
        only the container but also the added child. Repaint the container.
        (remove): Repaint the container.
        (invalidate): Also invalidate the LayoutManager.
        (invalidateTree): Call super.invalidate to invalidate the container
        itself. Also invalidate the LayoutManager.
        (setFont): Only set the font if the specified argument actually
        differs from the current font.
        (preferredSize): Optimized this method so the LayoutManager is only
        called if the layout is invalid. Otherwise we return the preferred
        size that has been stored during last validation/layout.
        (getAlignmentX): Despite common belief, this method does _not_
        call the LayoutManagers getAlignmentX in the JDK. So we also don't.
        (getAlignmentY): Despite common belief, this method does _not_
        call the LayoutManagers getAlignmentX in the JDK. So we also don't.
        (dispatchEventImpl): Let the dispatcher decide if it is enabled
        for the incoming event type.
        (eventTypeEnabled): Enables only container events for containers.
        (addNotifyContainerChildren): Coalesced two if statements into one.
        Enable events on the dispatcher for this container.
        (LightweightDispatcher): Made this class reentrant. Handle
        events enabling/disabling here.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4214&tr2=1.4215&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/awt/Container.java.diff?tr1=1.54&tr2=1.55&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/awt/Component.java.diff?tr1=1.64&tr2=1.65&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/gnu/java/awt/AWTUtilities.java.diff?tr1=1.3&tr2=1.4&r1=text&r2=text





reply via email to

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