Package apple.uikit.protocol
Interface UITextInputTraits
-
- All Known Subinterfaces:
UIKeyInput,UITextDocumentProxy,UITextDraggable,UITextDroppable,UITextInput
- All Known Implementing Classes:
UISearchBar,UISearchTextField,UITextField,UITextView
public interface UITextInputTraitsUITextInputTraits Controls features of text widgets (or other custom objects that might wish to respond to keyboard input).
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default longautocapitalizationType()default is UITextAutocapitalizationTypeSentencesdefault longautocorrectionType()default is UITextAutocorrectionTypeDefaultdefault booleanenablesReturnKeyAutomatically()default is NO (when YES, will automatically disable return key when text widget has zero-length contents, and will automatically enable when text widget has non-zero-length contents)default booleanisSecureTextEntry()default is NOdefault longkeyboardAppearance()default is UIKeyboardAppearanceDefaultdefault longkeyboardType()default is UIKeyboardTypeDefaultdefault UITextInputPasswordRulespasswordRules()default is nildefault longreturnKeyType()default is UIReturnKeyDefault (See note under UIReturnKeyType enum)default voidsetAutocapitalizationType(long value)default is UITextAutocapitalizationTypeSentencesdefault voidsetAutocorrectionType(long value)default is UITextAutocorrectionTypeDefaultdefault voidsetEnablesReturnKeyAutomatically(boolean value)default is NO (when YES, will automatically disable return key when text widget has zero-length contents, and will automatically enable when text widget has non-zero-length contents)default voidsetKeyboardAppearance(long value)default is UIKeyboardAppearanceDefaultdefault voidsetKeyboardType(long value)default is UIKeyboardTypeDefaultdefault voidsetPasswordRules(UITextInputPasswordRules value)default is nildefault voidsetReturnKeyType(long value)default is UIReturnKeyDefault (See note under UIReturnKeyType enum)default voidsetSecureTextEntry(boolean value)default is NOdefault voidsetSmartDashesType(long value)default is UITextSmartDashesTypeDefault;default voidsetSmartInsertDeleteType(long value)default is UITextSmartInsertDeleteTypeDefault;default voidsetSmartQuotesType(long value)default is UITextSmartQuotesTypeDefault;default voidsetSpellCheckingType(long value)default is UITextSpellCheckingTypeDefault;default voidsetTextContentType(java.lang.String value)default is nildefault longsmartDashesType()default is UITextSmartDashesTypeDefault;default longsmartInsertDeleteType()default is UITextSmartInsertDeleteTypeDefault;default longsmartQuotesType()default is UITextSmartQuotesTypeDefault;default longspellCheckingType()default is UITextSpellCheckingTypeDefault;default java.lang.StringtextContentType()default is nil
-
-
-
Method Detail
-
autocapitalizationType
default long autocapitalizationType()
default is UITextAutocapitalizationTypeSentences
-
autocorrectionType
default long autocorrectionType()
default is UITextAutocorrectionTypeDefault
-
enablesReturnKeyAutomatically
default boolean enablesReturnKeyAutomatically()
default is NO (when YES, will automatically disable return key when text widget has zero-length contents, and will automatically enable when text widget has non-zero-length contents)
-
isSecureTextEntry
default boolean isSecureTextEntry()
default is NO
-
setSecureTextEntry
default void setSecureTextEntry(boolean value)
default is NO
-
keyboardAppearance
default long keyboardAppearance()
default is UIKeyboardAppearanceDefault
-
keyboardType
default long keyboardType()
default is UIKeyboardTypeDefault
-
returnKeyType
default long returnKeyType()
default is UIReturnKeyDefault (See note under UIReturnKeyType enum)
-
setAutocapitalizationType
default void setAutocapitalizationType(long value)
default is UITextAutocapitalizationTypeSentences
-
setAutocorrectionType
default void setAutocorrectionType(long value)
default is UITextAutocorrectionTypeDefault
-
setEnablesReturnKeyAutomatically
default void setEnablesReturnKeyAutomatically(boolean value)
default is NO (when YES, will automatically disable return key when text widget has zero-length contents, and will automatically enable when text widget has non-zero-length contents)
-
setKeyboardAppearance
default void setKeyboardAppearance(long value)
default is UIKeyboardAppearanceDefault
-
setKeyboardType
default void setKeyboardType(long value)
default is UIKeyboardTypeDefault
-
setReturnKeyType
default void setReturnKeyType(long value)
default is UIReturnKeyDefault (See note under UIReturnKeyType enum)
-
setSpellCheckingType
default void setSpellCheckingType(long value)
default is UITextSpellCheckingTypeDefault;
-
setTextContentType
default void setTextContentType(java.lang.String value)
default is nil
-
spellCheckingType
default long spellCheckingType()
default is UITextSpellCheckingTypeDefault;
-
textContentType
default java.lang.String textContentType()
default is nil
-
setSmartDashesType
default void setSmartDashesType(long value)
default is UITextSmartDashesTypeDefault;
-
setSmartInsertDeleteType
default void setSmartInsertDeleteType(long value)
default is UITextSmartInsertDeleteTypeDefault;
-
setSmartQuotesType
default void setSmartQuotesType(long value)
default is UITextSmartQuotesTypeDefault;
-
smartDashesType
default long smartDashesType()
default is UITextSmartDashesTypeDefault;
-
smartInsertDeleteType
default long smartInsertDeleteType()
default is UITextSmartInsertDeleteTypeDefault;
-
smartQuotesType
default long smartQuotesType()
default is UITextSmartQuotesTypeDefault;
-
passwordRules
default UITextInputPasswordRules passwordRules()
default is nil
-
setPasswordRules
default void setPasswordRules(UITextInputPasswordRules value)
default is nil
-
-