JDK-4350413 : The method ParagraphView.adjustRow(Row, int, int) is unusable
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_2.6
  • CPU: sparc
  • Submitted: 2000-07-05
  • Updated: 2000-12-19
  • Resolved: 2000-12-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.0 betaFixed
Related Reports
Relates :  
Description

Name: ssR10000			Date: 07/05/2000



A Row parameter in swing.text.ParagraphView.adjustRow(Row, int, int) method is package visible class.
So I cannot use or inheritance this method.

see also (JavaDoc):
protected void adjustRow(javax.swing.text.ParagraphView.Row r,
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         package visible class!

                         int desiredSpan,
                         int x)

      Adjusts the given row if possible to fit within the layout span.

======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin-beta FIXED IN: merlin-beta INTEGRATED IN: merlin-beta
14-06-2004

WORK AROUND Name: ssR10000 Date: 07/05/2000 ======================================================================
11-06-2004

EVALUATION This method is not much use anymore as the strategy implementation for maintaining the flow should be handling any row adjustments. It would be useful for Row to be public however. This would enable developers to extend ParagraphView more easily without copying code. timothy.prinzing@eng 2000-12-07 Should change Row to protected to make it easier to extend ParagraphView. Should also update comments to indicate that method does nothing. shannon.hickey@Eng 2000-12-11 Method could not have been and cannot be called or used outside of package. Method also does nothing. Will probably eventually attempt to have method removed. For now, I have updated javadoc to state that the method is for internal use only. shannon.hickey@Eng 2000-12-12
12-12-2000