-
Enhancement
-
Resolution: Fixed
-
P3
-
1.2.0
-
beta
-
generic
-
generic
Name: diC59631 Date: 01/07/99
Several methods should be protected so they can be overridden, or called from a
sublcass, in the case of the currently-private methods. These would be:
[package] final void updateMetrics()
[package] void updateDamage(DocumentEvent, Shape, ViewFactory)
private void damageLineRange(int, int, Shape, Component)
private Rectangle lineToRect(Shape, int)
In the case in question, I need to do different processing in updateDamage. To
do this, I must override every method that calls updateDamage to call my version
instead, and I must also copy the private methods listed because I need to call
them in my version of updateDamage.
(Review ID: 48602)
======================================================================