jdk/src/java.desktop/share/classes/javax/swing/text/View.java
changeset 26742 ff54dcccf417
parent 25859 3317bb8137f4
child 27063 964ad56e8d1c
equal deleted inserted replaced
26741:bc80bcd0765a 26742:ff54dcccf417
  1196         }
  1196         }
  1197         firstUpdateIndex = Math.max(firstUpdateIndex, 0);
  1197         firstUpdateIndex = Math.max(firstUpdateIndex, 0);
  1198     }
  1198     }
  1199 
  1199 
  1200     /**
  1200     /**
       
  1201      * Updates the view to reflect the changes.
       
  1202      */
       
  1203     void updateAfterChange() {
       
  1204         // Do nothing by default. Should be overridden in subclasses, if any.
       
  1205     }
       
  1206 
       
  1207     /**
  1201      * Forwards the <code>DocumentEvent</code> to the give child view.  This
  1208      * Forwards the <code>DocumentEvent</code> to the give child view.  This
  1202      * simply messages the view with a call to <code>insertUpdate</code>,
  1209      * simply messages the view with a call to <code>insertUpdate</code>,
  1203      * <code>removeUpdate</code>, or <code>changedUpdate</code> depending
  1210      * <code>removeUpdate</code>, or <code>changedUpdate</code> depending
  1204      * upon the type of the event.  This is called by
  1211      * upon the type of the event.  This is called by
  1205      * {@link #forwardUpdate forwardUpdate} to forward
  1212      * {@link #forwardUpdate forwardUpdate} to forward