API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text. NavigationFilter View Source
Author(s)
Since
1.4
Version
1.6 04/07/06
Serial
Hierarchy
 Object
      NavigationFilter
Implements
Subclasses
Description
public class NavigationFilter
  NavigationFilter can be used to restrict where the cursor can be positioned.
See also:    Caret DefaultCaret View
Constructors
public NavigationFilter ()
Methods
Hide/Show inherited methods
public int getNextVisualPositionFrom (JTextComponent text, int pos, Bias bias, int direction, Bias biasRet) throws BadLocationException
  Returns the next visual position to place the caret at from an existing position.
public void moveDot (FilterBypass fb, int dot, Bias bias)
  Invoked prior to the Caret moving the dot.
public void setDot (FilterBypass fb, int dot, Bias bias)
  Invoked prior to the Caret setting the dot.
Fields
Hide/Show inherited fields
Nested Classes
  NavigationFilter.FilterBypass
Used as a way to circumvent calling back into the caret to position the cursor.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar