|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutil.ui.CaretPositionCorrector
public class CaretPositionCorrector
A class for correction of the caret position of a JFormattedTextField.
| Method Summary | |
|---|---|
static void |
createCorrector(JFormattedTextField field,
char[] jumpCharacters,
char startIndexChar)
Creates an instance of the JSpinnerCaretPositionCorrector. |
static void |
createCorrector(JFormattedTextField field,
char[] jumpCharacters,
int startPosition)
Creates an instance of the JSpinnerCaretPositionCorrector. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void createCorrector(JFormattedTextField field,
char[] jumpCharacters,
char startIndexChar)
null for jumpCharacters if you only want to
let the position set to the click position.
field - The JFormattedTextField to correct the caret position of.jumpCharacters - The character to jump from if the caret is in front of it.startIndexChar - The character that is used to find the start position of the caret.
public static void createCorrector(JFormattedTextField field,
char[] jumpCharacters,
int startPosition)
null for jumpCharacters if you only want to
let the position set to the click position.
field - The JFormattedTextField to correct the caret position of.jumpCharacters - The character to jump from if the caret is in front of it.startPosition - The start position for the caret.
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||