< prev index next >

src/java.desktop/share/classes/javax/swing/text/PlainView.java

Print this page

        

*** 518,527 **** --- 518,530 ---- * the case when the insert/remove is only on one line. * If lines are added or removed, damages the whole * view. The longest line is checked to see if it has * changed. * + * @param changes the change information from the associated document + * @param a the current allocation of the view + * @param f the factory to use to rebuild if the view has children * @since 1.4 */ protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { Component host = getContainer(); updateMetrics();
*** 602,611 **** --- 605,615 ---- } } /** * Determine the rectangle that represents the given line. + * @return the rectangle that represents the given line * * @param a the region allocated for the view to render into * @param line the line number to find the region of. This must * be a valid line number in the model. * @since 1.4
< prev index next >