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

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

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

revision 1.9 by abalkiss, Tue Oct 25 18:54:17 2005 UTC revision 1.10 by rabbit78, Thu Nov 3 14:09:22 2005 UTC
# Line 658  public abstract class CompositeView Line 658  public abstract class CompositeView
658    {    {
659      return false;      return false;
660    }    }
661    
662      /**
663       * Returns the document position that is (visually) nearest to the given
664       * document position <code>pos</code> in the given direction <code>d</code>.
665       *
666       * @param c the text component
667       * @param pos the document position
668       * @param b the bias for <code>pos</code>
669       * @param d the direction, must be either {@link SwingConstants#NORTH},
670       *        {@link SwingConstants#SOUTH}, {@link SwingConstants#WEST} or
671       *        {@link SwingConstants#EAST}
672       * @param biasRet an array of {@link Position.Bias} that can hold at least
673       *        one element, which is filled with the bias of the return position
674       *        on method exit
675       *
676       * @return the document position that is (visually) nearest to the given
677       *         document position <code>pos</code> in the given direction
678       *         <code>d</code>
679       *
680       * @throws BadLocationException if <code>pos</code> is not a valid offset in
681       *         the document model
682       */
683      public int getNextVisualPositionFrom(JTextComponent c, int pos,
684                                           Position.Bias b, int d,
685                                           Position.Bias[] biasRet)
686        throws BadLocationException
687      {
688        // TODO: Implement this properly.
689        throw new AssertionError("Not implemented yet.");
690      }
691  }  }

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

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