CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Anthony Balkissoon <[EMAIL PROTECTED]> 05/10/31 20:42:04
Modified files:
. : ChangeLog
javax/swing/text: WrappedPlainView.java
Log message:
2005-10-31 Anthony Balkissoon <[EMAIL PROTECTED]>
* javax/swing/text/WrappedPlainView.java:
(viewFactory): New field.
(drawLine): New API method.
(calculateBreakPosition): Update the metrics before calling Utilities
methods. Fixed error in offset argument passed to the Utilities
methods.
(updateMetrics): New implementation method.
(getPreferredSpan): New API method.
(insertUpdate): Likewise.
(removeUpdate): Likewise.
(changedUpdate): Likewise.
(WrappedLineCreator): New class.
(paint): New API method.
(setSize): New API method.
(WrappedLine.paint): Implemented.
(WrappedLine.getPreferredSpan): Don't update the metrics, this is now
done in WrappedPlainView.paint.
(WrappedLine.modelToView): Likewise.
(WrappedLine.viewToModel): Likewise.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5398&tr2=1.5399&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/WrappedPlainView.java.diff?tr1=1.1&tr2=1.2&r1=text&r2=text