Class SelectAllOnFocusListener
java.lang.Object
com.inductiveautomation.ignition.client.util.gui.SelectAllOnFocusListener
- All Implemented Interfaces:
FocusListener
,EventListener
A focus listener that attempts to select all of the text when a component gets focus. Works for all JTextComponents
and JSpinners
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SelectAllOnFocusListener
public SelectAllOnFocusListener()
-
-
Method Details
-
install
-
focusGained
- Specified by:
focusGained
in interfaceFocusListener
-
focusLost
- Specified by:
focusLost
in interfaceFocusListener
-