[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath ./ChangeLog javax/swing/BoxLayout.java
From: |
Roman Kennke |
Subject: |
[commit-cp] classpath ./ChangeLog javax/swing/BoxLayout.java |
Date: |
Mon, 27 Jun 2005 10:41:11 -0400 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <address@hidden> 05/06/27 14:41:10
Modified files:
. : ChangeLog
javax/swing : BoxLayout.java
Log message:
2005-06-27 Roman Kennke <address@hidden>
* 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-cp] classpath ./ChangeLog javax/swing/BoxLayout.java,
Roman Kennke <=