src/share/classes/javax/swing/text/GlyphView.java

Print this page

        

*** 1248,1258 **** * @param biasRet either <code>Position.Bias.Forward</code> * or <code>Position.Bias.Backward</code> * is returned as the zero-th element of this array * @return the location within the model that best represents the next * location visual position. ! * @exception BadLocationException * @exception IllegalArgumentException for an invalid direction */ public int getNextVisualPositionFrom(GlyphView v, int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet) --- 1248,1258 ---- * @param biasRet either <code>Position.Bias.Forward</code> * or <code>Position.Bias.Backward</code> * is returned as the zero-th element of this array * @return the location within the model that best represents the next * location visual position. ! * @exception BadLocationException for a bad location within a document model * @exception IllegalArgumentException for an invalid direction */ public int getNextVisualPositionFrom(GlyphView v, int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)