public interface UITextInputTraits
Modifier and Type | Method and Description |
---|---|
default int |
autocapitalizationType()
Returns the type of auto-capitalization of the content of the text field.
|
default int |
autocorrectionType()
Returns the type of auto-correction of the content of this text field.
|
default boolean |
enablesReturnKeyAutomatically()
Returns a Boolean that shows whether the return key is automatically
enabled.
|
default boolean |
isSecureTextEntry()
Returns a Boolean that shows whether the text that is being entered in
the text field is hidden.
|
default int |
keyboardAppearance()
Returns the appearance type of the keyboard used along with the text
field.
|
default int |
keyboardType()
Returns the style of the keyboard that is used along with the text field.
|
default int |
returnKeyType()
Returns the type of the return key.
|
default void |
setAutocapitalizationType(int UITextAutocapitalizationType)
Sets the type of auto-capitalization for the content of the text field.
|
default void |
setAutocorrectionType(int UITextAutocorrectionType)
Sets the type of auto-correction for the content of this text field.
|
default void |
setEnablesReturnKeyAutomatically(boolean enablesReturnKeyAutomatically)
Sets a Boolean that defines whether the return key is automatically
enabled.
|
default void |
setKeyboardAppearance(int UIKeyboardAppearance)
Sets appearance type of the keyboard used along with the text field.
|
default void |
setKeyboardType(int UIKeyboardType)
Sets the style of the keyboard that will be used along with the text
field.
|
default void |
setReturnKeyType(int UIReturnKeyType)
Sets the type of the return key.
|
default void |
setSecureTextEntry(boolean secureTextEntry)
Sets a Boolean that defines if the text that is being entered in the text
field should be hidden.
|
default void |
setSmartDashesType(int UITextSmartDashesType)
Sets the smart dashes type for the text
|
default void |
setSmartInsertDeleteType(int UITextSmartInsertDeleteType)
Sets the smart insert - delete type for space characters
|
default void |
setSmartQuotesType(int UITextSmartQuotesType)
Sets the smart quotes type for the text
|
default void |
setSpellCheckingType(int UITextSpellCheckingType)
Sets the auto spell checking type for the text
|
default void |
setTextContentType(String UITextContentType)
Sets the type of text expected in the text input area
|
default int |
smartDashesType()
The smart quotes type for the text
|
default int |
smartInsertDeleteType()
The smart insert - delete type for space characters
|
default int |
smartQuotesType()
The smart quotes type for the text
|
default int |
spellCheckingType()
The auto correction type for the text
|
default String |
textContentType()
The type of text expected in the text input area
|
default int autocapitalizationType()
default void setAutocapitalizationType(int UITextAutocapitalizationType)
UITextAutocapitalizationType
- The auto-capitalization style for the
content of the text field.UITextAutocapitalizationType
default int autocorrectionType()
default void setAutocorrectionType(int UITextAutocorrectionType)
UITextAutocorrectionType
- The type of auto-correction for the
content of this text field.UITextAutocorrectionType
default int spellCheckingType()
default void setSpellCheckingType(int UITextSpellCheckingType)
UITextSpellCheckingType
- The auto spell checking type for the textdefault int smartQuotesType()
default void setSmartQuotesType(int UITextSmartQuotesType)
UITextSmartQuotesType
- The smart quotes type for the textdefault int smartDashesType()
default void setSmartDashesType(int UITextSmartDashesType)
UITextSmartDashesType
- The smart dashes type for the textdefault int smartInsertDeleteType()
default void setSmartInsertDeleteType(int UITextSmartInsertDeleteType)
UITextSmartInsertDeleteType
- The smart insert - delete type for space charactersdefault int keyboardType()
default void setKeyboardType(int UIKeyboardType)
UIKeyboardType
- The style of keyboard that will be used along with
the text field.UIKeyboardType
default int keyboardAppearance()
UIKeyboardAppearance
default void setKeyboardAppearance(int UIKeyboardAppearance)
UIKeyboardAppearance
- The appearance type of the keyboard used
along with the text field.UIKeyboardAppearance
default int returnKeyType()
UIReturnKeyType
default void setReturnKeyType(int UIReturnKeyType)
UIReturnKeyType
- The type of the return key.UIReturnKeyType
default boolean enablesReturnKeyAutomatically()
default void setEnablesReturnKeyAutomatically(boolean enablesReturnKeyAutomatically)
enablesReturnKeyAutomatically
- A Boolean that defines whether the
return key is automatically enabled.default boolean isSecureTextEntry()
default void setSecureTextEntry(boolean secureTextEntry)
secureTextEntry
- A Boolean that defines if the text that is being
entered in the text field should be hidden.default String textContentType()
default void setTextContentType(String UITextContentType)
UITextContentType
- The type of text expected in the text input areaCopyright © 2020. All rights reserved.