KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > text > NavigationFilter

javax.swing.text
Class NavigationFilter

java.lang.Object
  extended by javax.swing.text.NavigationFilter
See Also:
Source Code, Caret, DefaultCaret, View

public int getNextVisualPositionFrom(JTextComponent text,
                                     int pos,
                                     Position.Bias bias,
                                     int direction,
                                     Position.Bias[] biasRet)
                              throws BadLocationException
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void moveDot(NavigationFilter.FilterBypass fb,
                    int dot,
                    Position.Bias bias)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public NavigationFilter()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[854]Move cursor back
By Anonymous on 2004/08/10 21:42:28  Rate
NavigationFilter filterText = new NavigationFilter (  ) ; 
         NavigationFilter.FilterBypass fb = NavigationFilter.FilterBypass (  ) ; 
         filterText.moveDot ( fb,10,Position.Bias.Backward ) ; 
         descricaoTextField.setNavigationFilter ( filterText ) ; 
         


public void setDot(NavigationFilter.FilterBypass fb,
                   int dot,
                   Position.Bias bias)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags