org.apache.pivot.wtk
Interface TextInputListener

All Known Implementing Classes:
TerraTextInputSkin, TextInputListener.Adapter

public interface TextInputListener

Text input listener interface.


Nested Class Summary
static class TextInputListener.Adapter
          Text input listener adapter.
 
Method Summary
 void editableChanged(TextInput textInput)
          Called when the editable state has changed.
 void maximumLengthChanged(TextInput textInput, int previousMaximumLength)
          Called when a text input's maximum length has changed.
 void passwordChanged(TextInput textInput)
          Called when a text input's password flag has changed.
 void promptChanged(TextInput textInput, String previousPrompt)
          Called when a text input's prompt has changed.
 void strictValidationChanged(TextInput textInput)
          Called when a text input's strict validation flag has changed.
 void textSizeChanged(TextInput textInput, int previousTextSize)
          Called when a text input's text size has changed.
 void textValidatorChanged(TextInput textInput, Validator previousValidator)
          Called when the validator changes.
 void textValidChanged(TextInput textInput)
          Called when the text changes validity.
 

Method Detail

textSizeChanged

void textSizeChanged(TextInput textInput,
                     int previousTextSize)
Called when a text input's text size has changed.

Parameters:
textInput -
previousTextSize -

maximumLengthChanged

void maximumLengthChanged(TextInput textInput,
                          int previousMaximumLength)
Called when a text input's maximum length has changed.

Parameters:
textInput -
previousMaximumLength -

passwordChanged

void passwordChanged(TextInput textInput)
Called when a text input's password flag has changed.

Parameters:
textInput -

promptChanged

void promptChanged(TextInput textInput,
                   String previousPrompt)
Called when a text input's prompt has changed.

Parameters:
textInput -
previousPrompt -

textValidatorChanged

void textValidatorChanged(TextInput textInput,
                          Validator previousValidator)
Called when the validator changes.

Parameters:
textInput -
previousValidator -

strictValidationChanged

void strictValidationChanged(TextInput textInput)
Called when a text input's strict validation flag has changed.

Parameters:
textInput -

textValidChanged

void textValidChanged(TextInput textInput)
Called when the text changes validity.

Parameters:
textInput -

editableChanged

void editableChanged(TextInput textInput)
Called when the editable state has changed.

Parameters:
textInput -