/[classpath]/classpath/javax/swing/plaf/basic/BasicTextUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicTextUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.56 by rabbit78, Tue Nov 15 20:32:46 2005 UTC revision 1.57 by rabbit78, Wed Nov 23 11:59:30 2005 UTC
# Line 334  public abstract class BasicTextUI extend Line 334  public abstract class BasicTextUI extend
334       * Returns the document position that is (visually) nearest to the given       * Returns the document position that is (visually) nearest to the given
335       * document position <code>pos</code> in the given direction <code>d</code>.       * document position <code>pos</code> in the given direction <code>d</code>.
336       *       *
      * @param c the text component  
337       * @param pos the document position       * @param pos the document position
338       * @param b the bias for <code>pos</code>       * @param b the bias for <code>pos</code>
339         * @param a the allocation for the view
340       * @param d the direction, must be either {@link SwingConstants#NORTH},       * @param d the direction, must be either {@link SwingConstants#NORTH},
341       *        {@link SwingConstants#SOUTH}, {@link SwingConstants#WEST} or       *        {@link SwingConstants#SOUTH}, {@link SwingConstants#WEST} or
342       *        {@link SwingConstants#EAST}       *        {@link SwingConstants#EAST}
# Line 351  public abstract class BasicTextUI extend Line 351  public abstract class BasicTextUI extend
351       * @throws BadLocationException if <code>pos</code> is not a valid offset in       * @throws BadLocationException if <code>pos</code> is not a valid offset in
352       *         the document model       *         the document model
353       */       */
354      public int getNextVisualPositionFrom(JTextComponent c, int pos,      public int getNextVisualPositionFrom(int pos, Position.Bias b, Shape a,
355                                           Position.Bias b, int d,                                           int d, Position.Bias[] biasRet)
                                          Position.Bias[] biasRet)  
356        throws BadLocationException        throws BadLocationException
357      {      {
358        return view.getNextVisualPositionFrom(c, pos, b, d, biasRet);        return view.getNextVisualPositionFrom(pos, b, a, d, biasRet);
359      }      }
360    }    }
361    

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26