Package org.apache.pivot.wtk
Class TextInputListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.TextInputListener.Adapter
-
- All Implemented Interfaces:
TextInputListener
- Enclosing interface:
- TextInputListener
@Deprecated public static class TextInputListener.Adapter extends java.lang.Object implements TextInputListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Text input listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TextInputListener
TextInputListener.Adapter, TextInputListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
editableChanged(TextInput textInput)
Deprecated.Called when the editable state has changed.void
maximumLengthChanged(TextInput textInput, int previousMaximumLength)
Deprecated.Called when a text input's maximum length has changed.void
passwordChanged(TextInput textInput)
Deprecated.Called when a text input's password flag has changed.void
promptChanged(TextInput textInput, java.lang.String previousPrompt)
Deprecated.Called when a text input's prompt has changed.void
strictValidationChanged(TextInput textInput)
Deprecated.Called when a text input's strict validation flag has changed.void
textSizeChanged(TextInput textInput, int previousTextSize)
Deprecated.Called when a text input's text size has changed.void
textValidatorChanged(TextInput textInput, Validator previousValidator)
Deprecated.Called when the validator changes.void
textValidChanged(TextInput textInput)
Deprecated.Called when the text changes validity.
-
-
-
Method Detail
-
textSizeChanged
public void textSizeChanged(TextInput textInput, int previousTextSize)
Deprecated.Description copied from interface:TextInputListener
Called when a text input's text size has changed.- Specified by:
textSizeChanged
in interfaceTextInputListener
- Parameters:
textInput
- The source of this event.previousTextSize
- The previous text size for the control
-
maximumLengthChanged
public void maximumLengthChanged(TextInput textInput, int previousMaximumLength)
Deprecated.Description copied from interface:TextInputListener
Called when a text input's maximum length has changed.- Specified by:
maximumLengthChanged
in interfaceTextInputListener
- Parameters:
textInput
- The source of this event.previousMaximumLength
- The previous maximum text length.
-
passwordChanged
public void passwordChanged(TextInput textInput)
Deprecated.Description copied from interface:TextInputListener
Called when a text input's password flag has changed.- Specified by:
passwordChanged
in interfaceTextInputListener
- Parameters:
textInput
- The source of this event.
-
promptChanged
public void promptChanged(TextInput textInput, java.lang.String previousPrompt)
Deprecated.Description copied from interface:TextInputListener
Called when a text input's prompt has changed.- Specified by:
promptChanged
in interfaceTextInputListener
- Parameters:
textInput
- The source of this event.previousPrompt
- The previous prompt string.
-
textValidatorChanged
public void textValidatorChanged(TextInput textInput, Validator previousValidator)
Deprecated.Description copied from interface:TextInputListener
Called when the validator changes.- Specified by:
textValidatorChanged
in interfaceTextInputListener
- Parameters:
textInput
- The source of this event.previousValidator
- The previous validator for the text.
-
strictValidationChanged
public void strictValidationChanged(TextInput textInput)
Deprecated.Description copied from interface:TextInputListener
Called when a text input's strict validation flag has changed.- Specified by:
strictValidationChanged
in interfaceTextInputListener
- Parameters:
textInput
- The text input that has changed.
-
textValidChanged
public void textValidChanged(TextInput textInput)
Deprecated.Description copied from interface:TextInputListener
Called when the text changes validity.- Specified by:
textValidChanged
in interfaceTextInputListener
- Parameters:
textInput
- The text input that has been changed.
-
editableChanged
public void editableChanged(TextInput textInput)
Deprecated.Description copied from interface:TextInputListener
Called when the editable state has changed.- Specified by:
editableChanged
in interfaceTextInputListener
- Parameters:
textInput
- The text input whose state has changed.
-
-