Class JFormattedTextFieldNavigationManager
- java.lang.Object
-
- org.nuiton.jaxx.widgets.jformattedtextfield.JFormattedTextFieldNavigationManager
-
public class JFormattedTextFieldNavigationManager extends Object
Manager to navigate inside a JFormattedTextField using a MaskFormatter.Created on 3/21/15.
- Since:
- 2.23
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJFormattedTextFieldNavigationManager(JFormatterTextFieldInternalGroups groups, JFormattedTextField component)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanGoLeft(KeyEvent e)protected booleancanGoRight(KeyEvent e)protected booleancanTransferFocus(KeyEvent e)protected booleancanTransferFocusBackward(KeyEvent e)protected JFormatterTextFieldInternalGroupgetCurrentGroup(JFormattedTextField source)protected JFormatterTextFieldInternalGroupgetGroup(JFormattedTextField source, int caretPosition)protected voidgoLeft(JFormattedTextField source, int caretPosition)protected voidgoRight(JFormattedTextField source, int caretPosition)protected voidgotoComponent(JFormattedTextField source, JFormatterTextFieldInternalGroup group)static voidinstall(JFormattedTextField component)protected voidselectComponent(JFormatterTextFieldInternalGroup currentGroup)static voiduninstall(JFormattedTextField component)
-
-
-
Constructor Detail
-
JFormattedTextFieldNavigationManager
protected JFormattedTextFieldNavigationManager(JFormatterTextFieldInternalGroups groups, JFormattedTextField component)
-
-
Method Detail
-
install
public static void install(JFormattedTextField component)
-
uninstall
public static void uninstall(JFormattedTextField component)
-
gotoComponent
protected void gotoComponent(JFormattedTextField source, JFormatterTextFieldInternalGroup group)
-
selectComponent
protected void selectComponent(JFormatterTextFieldInternalGroup currentGroup)
-
getCurrentGroup
protected JFormatterTextFieldInternalGroup getCurrentGroup(JFormattedTextField source)
-
getGroup
protected JFormatterTextFieldInternalGroup getGroup(JFormattedTextField source, int caretPosition)
-
goRight
protected void goRight(JFormattedTextField source, int caretPosition)
-
goLeft
protected void goLeft(JFormattedTextField source, int caretPosition)
-
canGoRight
protected boolean canGoRight(KeyEvent e)
-
canGoLeft
protected boolean canGoLeft(KeyEvent e)
-
canTransferFocus
protected boolean canTransferFocus(KeyEvent e)
-
canTransferFocusBackward
protected boolean canTransferFocusBackward(KeyEvent e)
-
-