CVSROOT: /cvsroot/classpath Module name: classpath Changes by: Roman Kennke <rabbit78> 06/08/25 21:03:47
Modified files: javax/swing/text: CompositeView.java . : ChangeLog Log message: 2006-08-25 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/text/CompositeView.java (insets): Removed. Replaced by single short fields. (top): New field. Replaces insets. (bottom): New field. Replaces insets. (left): New field. Replaces insets. (right): New field. Replaces insets. (CompositeView): Initialize insets fields. (createDefaultLocation): Removed unneeded method. (getBottomInset): Return field directly. (getTopInset): Return field directly. (getLeftInset): Return field directly. (getRightInset): Return field directly. (getInsideAllocation): Adjusted to work on new insets fields. (getViewIndex): Fixed check. (loadChildren): Don't replace the old children. (replace): Make sure that there is an array to operate on. Only set parent to null, when it is this View. (setInsets): Adjusted to work with new insets fields. (setParagraphInsets): Fixed to pull insets directly from StyleConstants. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/CompositeView.java?cvsroot=classpath&r1=1.20&r2=1.21 http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8461&r2=1.8462