CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Roman Kennke <[EMAIL PROTECTED]>        05/06/27 14:41:10

Modified files:
        .              : ChangeLog 
        javax/swing    : BoxLayout.java 

Log message:
        2005-06-27  Roman Kennke  <[EMAIL PROTECTED]>
        
        * javax/swing/BoxLayout.java
        (Direction): New inner interface. This abstracts the layout algorithm
        from the layout direction.
        (Horizontal): Implementation for the above interface for the
        horizontal direction.
        (Vertical): Implementation for the above interface for the
        vertical direction.
        (SizeReq): An inner helper class that holds size requirements for
        Components that are laid out. This is similar but not equal to
        the SizeRequirements class in javax.swing.
        (layoutContainer): Removed the actual algorithm into a new method,
        using the Direction interface.
        (layoutAlgorithm): This is the new layout algorithm. This uses
        the Direction interface, so that the algorithm is not duplicated
        and can be expressed more readable.
        (distributeSpace): A new helper method that distributes excess
        space over a set of components. This is the actual 'worker' in
        BoxLayout.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.3917&tr2=1.3918&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/BoxLayout.java.diff?tr1=1.12&tr2=1.13&r1=text&r2=text



_______________________________________________
Commit-classpath mailing list
Commit-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/commit-classpath

Reply via email to