< prev index next >

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

Print this page

        

@@ -244,20 +244,22 @@
     /**
      * Returns the closest model position to <code>x</code>.
      * <code>rowIndex</code> gives the index of the view that corresponds
      * that should be looked in.
      * @param pos  position into the model
+     * @param b the bias
      * @param a the allocated region to render into
      * @param direction one of the following values:
      * <ul>
      * <li><code>SwingConstants.NORTH</code>
      * <li><code>SwingConstants.SOUTH</code>
      * </ul>
      * @param biasRet an array containing the bias that were checked
      *  in this method
      * @param rowIndex the index of the view
      * @param x the x coordinate of interest
+     * @throws BadLocationException if a bad location is encountered
      * @return the closest model position to <code>x</code>
      */
     // NOTE: This will not properly work if ParagraphView contains
     // other ParagraphViews. It won't raise, but this does not message
     // the children views with getNextVisualPositionFrom.
< prev index next >