[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: View fixes
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: View fixes |
Date: |
Wed, 23 Nov 2005 12:01:06 +0000 |
Hi,
For some reason the method getNextVisualPositionFrom was declared
abstract in javax.swing.text.View and also had the wrong signature. I
fixed this. I also had to fix all the other views. Some of them have
this method removed completely now (since it is no more abstract),
others only have the signatures fixed.
2005-11-23 Roman Kennke <address@hidden>
* javax/swing/text/View.java
(getNextVisualPositionFrom): Fixed signature and (partly)
implemented this method.
* javax/swing/text/Utilities.java
(getPositionAbove): Fixed to use the correct signature for the
call
to above method.
(getPositionBelow): Fixed to use the correct signature for the
call
to above method.
* javax/swing/text/ComponentView.java
(getNextVisualPositionFrom): Removed method. This is not specified
to be implemented.
* javax/swing/text/CompositeView.java
(getNextVisualPositionFrom): Removed method with wrong signature.
A method with the correct signature is already in place.
* javax/swing/text/FlowView.java
(LogicalView.getNextVisualPositionFrom): Removed method with wrong
signature.
* javax/swing/text/GlyphView.java
(getNextVisualPositionFrom): Removed method with wrong signature.
A method with the correct signature is already in place.
* javax/swing/text/IconView.java
(getNextVisualPositionFrom): Removed method. This is not specified
to be implemented.
* javax/swing/text/PlainView.java
(getNextVisualPositionFrom): Removed method. This is not specified
to be implemented.
* javax/swing/text/WrappedPlainView.java
(WrappedLine.getNextVisualPositionFrom): Removed method with wrong
signature.
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.getNextVisualPositionFrom): Fixed signature.
/Roman
patch.diff
Description: Text Data
- [cp-patches] FYI: View fixes,
Roman Kennke <=