/[classpath]/classpath/javax/swing/text/WrappedPlainView.java
ViewVC logotype

Diff of /classpath/javax/swing/text/WrappedPlainView.java

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

revision 1.8 by abalkiss, Wed Nov 16 18:58:51 2005 UTC revision 1.9 by rabbit78, Wed Nov 23 14:23:14 2005 UTC
# Line 620  public class WrappedPlainView extends Bo Line 620  public class WrappedPlainView extends Bo
620              currLineStart = currLineEnd;              currLineStart = currLineEnd;
621          }          }
622      }          }    
   
     /**  
      * Returns the document position that is (visually) nearest to the given  
      * document position <code>pos</code> in the given direction <code>d</code>.  
      *  
      * @param c the text component  
      * @param pos the document position  
      * @param b the bias for <code>pos</code>  
      * @param d the direction, must be either {@link SwingConstants#NORTH},  
      *        {@link SwingConstants#SOUTH}, {@link SwingConstants#WEST} or  
      *        {@link SwingConstants#EAST}  
      * @param biasRet an array of {@link Position.Bias} that can hold at least  
      *        one element, which is filled with the bias of the return position  
      *        on method exit  
      *  
      * @return the document position that is (visually) nearest to the given  
      *         document position <code>pos</code> in the given direction  
      *         <code>d</code>  
      *  
      * @throws BadLocationException if <code>pos</code> is not a valid offset  
      *         in the document model  
      */  
     public int getNextVisualPositionFrom(JTextComponent c, int pos,  
                                          Position.Bias b, int d,  
                                          Position.Bias[] biasRet)  
       throws BadLocationException  
     {  
       // TODO: Implement this properly.  
       throw new AssertionError("Not implemented yet.");  
     }  
623            
624      /**      /**
625       * This method is called from insertUpdate and removeUpdate.       * This method is called from insertUpdate and removeUpdate.

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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