Package org.robovm.apple.uikit
Class UITextField
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIResponder
-
- org.robovm.apple.uikit.UIView
-
- org.robovm.apple.uikit.UIControl
-
- org.robovm.apple.uikit.UITextField
-
- All Implemented Interfaces:
CALayerDelegate
,NSCoding
,NSObjectProtocol
,UIAccessibility
,UIAccessibilityIdentification
,UIAppearanceContainer
,UIContentSizeCategoryAdjusting
,UICoordinateSpace
,UIDynamicItem
,UIFocusEnvironment
,UIFocusItem
,UIFocusItemContainer
,UIKeyInput
,UIPasteConfigurationSupporting
,UITextDraggable
,UITextDroppable
,UITextInput
,UITextInputTraits
,UITextPasteConfigurationSupporting
,UITraitEnvironment
,org.robovm.objc.ObjCProtocol
public class UITextField extends UIControl implements UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UITextDraggable, UITextDroppable, UITextPasteConfigurationSupporting
- Since:
- Available in iOS 2.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UITextField.Notifications
static class
UITextField.UITextFieldPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIControl
UIControl.Listener, UIControl.OnEditingChangedListener, UIControl.OnEditingDidBeginListener, UIControl.OnEditingDidEndListener, UIControl.OnEditingDidEndOnExitListener, UIControl.OnPrimaryActionTriggeredListener, UIControl.OnTouchCancelListener, UIControl.OnTouchDownListener, UIControl.OnTouchDownRepeatListener, UIControl.OnTouchDragEnterListener, UIControl.OnTouchDragExitListener, UIControl.OnTouchDragInsideListener, UIControl.OnTouchDragOutsideListener, UIControl.OnTouchUpInsideListener, UIControl.OnTouchUpOutsideListener, UIControl.OnValueChangedListener, UIControl.UIControlPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIView
UIView.UIViewPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIResponder
UIResponder.UIResponderPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description UITextField()
UITextField(CGRect frame)
UITextField(NSCoder decoder)
protected
UITextField(NSObject.Handle h, long handle)
protected
UITextField(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.uikit.UIControl
addOnEditingChangedListener, addOnEditingDidBegin, addOnEditingDidEndListener, addOnEditingDidEndOnExitListener, addOnPrimaryActionTriggeredListener, addOnTouchCancelListener, addOnTouchDownListener, addOnTouchDownRepeatListener, addOnTouchDragEnterListener, addOnTouchDragExitListener, addOnTouchDragInsideListener, addOnTouchDragOutsideListener, addOnTouchUpInsideListener, addOnTouchUpOutsideListener, addOnValueChangedListener, addTarget, beginTracking, cancelTracking, continueTracking, endTracking, getActions, getAllControlEvents, getAllTargets, getContentHorizontalAlignment, getContentVerticalAlignment, getEffectiveContentHorizontalAlignment, getState, isEnabled, isHighlighted, isSelected, isTouchInside, isTracking, removeListener, removeTarget, sendAction, sendControlEventsActions, setContentHorizontalAlignment, setContentVerticalAlignment, setEnabled, setHighlighted, setSelected
-
Methods inherited from class org.robovm.apple.uikit.UIView
addConstraint, addConstraints, addGestureRecognizer, addInteraction, addKeyframe, addLayoutGuide, addMotionEffect, addSubview, animate, animate, animate, animate, animateKeyframes, areAnimationsEnabled, autoresizesSubviews, beginAnimations, bringSubviewToFront, canBecomeFocused, clearsContextBeforeDrawing, clipsToBounds, commitAnimations, convertPointFromCoordinateSpace, convertPointFromView, convertPointToCoordinateSpace, convertPointToView, convertRectFromCoordinateSpace, convertRectFromView, convertRectToCoordinateSpace, convertRectToView, decodeRestorableState, didAddSubview, didHintFocusMovement, didMoveToSuperview, didMoveToWindow, didUpdateFocus, displayLayer, draw, draw, drawLayer, drawViewHierarchy, encode, encodeRestorableState, endEditing, exchangeSubview, exerciseAmbiguityInLayout, focusItemsInRect, gestureRecognizerShouldBegin, getAccessibilityIdentifier, getAction, getAlignmentRectForFrame, getAlignmentRectInsets, getAlpha, getAutoresizingMask, getBackgroundColor, getBottomAnchor, getBounds, getCenter, getCenterXAnchor, getCenterYAnchor, getCollisionBoundingPath, getCollisionBoundsType, getConstraints, getConstraintsAffectingLayout, getContentCompressionResistancePriority, getContentHuggingPriority, getContentMode, getContentScaleFactor, getCoordinateSpace, getDirectionalLayoutMargins, getEffectiveUserInterfaceLayoutDirection, getFirstBaselineAnchor, getFocusItemContainer, getFrame, getFrameForAlignmentRect, getGestureRecognizers, getHeightAnchor, getInheritedAnimationDuration, getInteractions, getIntrinsicContentSize, getLastBaselineAnchor, getLayer, getLayerClass, getLayoutGuides, getLayoutMargins, getLayoutMarginsGuide, getLeadingAnchor, getLeftAnchor, getMaskView, getMotionEffects, getParentFocusEnvironment, getPreferredFocusedView, getPreferredFocusEnvironments, getReadableContentGuide, getResizableSnapshot, getRestorationIdentifier, getRightAnchor, getSafeAreaInsets, getSafeAreaLayoutGuide, getSemanticContentAttribute, getSizeThatFits, getSnapshot, getSubviews, getSuperview, getSystemLayoutSizeFittingSize, getSystemLayoutSizeFittingSize, getTag, getTintAdjustmentMode, getTintColor, getTopAnchor, getTrailingAnchor, getTraitCollection, getTransform, getUserInterfaceLayoutDirection, getUserInterfaceLayoutDirection, getViewForBaselineLayout, getViewForFirstBaselineLayout, getViewForLastBaselineLayout, getViewPrintFormatter, getViewWithTag, getWidthAnchor, getWindow, hasAmbiguousLayout, hitTest, init, init, insertSubview, insertSubviewAbove, insertSubviewBelow, invalidateIntrinsicContentSize, isAccessibilityIgnoresInvertColors, isDescendantOf, isExclusiveTouch, isFocused, isHidden, isInsetsLayoutMarginsFromSafeArea, isMultipleTouchEnabled, isOpaque, isPointInside, isUserInteractionEnabled, layoutIfNeeded, layoutMarginsDidChange, layoutSublayers, layoutSubviews, needsUpdateConstraints, NoIntrinsicMetric, performSystemAnimation, performWithoutAnimation, preservesSuperviewLayoutMargins, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, requiresConstraintBasedLayout, safeAreaInsetsDidChange, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAnimationBeginsFromCurrentState, setAnimationCurve, setAnimationDelay, setAnimationDelegate, setAnimationDidStopSelector, setAnimationDurationInSeconds, setAnimationRepeatAutoreverses, setAnimationRepeatCount, setAnimationsEnabled, setAnimationStartDate, setAnimationTransition, setAnimationWillStartSelector, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriority, setContentHuggingPriority, setContentMode, setContentScaleFactor, setDirectionalLayoutMargins, setExclusiveTouch, setFrame, setGestureRecognizers, setHidden, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLayoutMargins, setMaskView, setMotionEffects, setMultipleTouchEnabled, setNeedsDisplay, setNeedsDisplay, setNeedsFocusUpdate, setNeedsLayout, setNeedsUpdateConstraints, setOpaque, setPreservesSuperviewLayoutMargins, setRestorationIdentifier, setSemanticContentAttribute, setTag, setTintAdjustmentMode, setTintColor, setTransform, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocus, sizeToFit, tintColorDidChange, traitCollectionDidChange, transition, transition, translatesAutoresizingMaskIntoConstraints, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, willDrawLayer, willMoveToSuperview, willMoveToWindow, willRemoveSubview
-
Methods inherited from class org.robovm.apple.uikit.UIResponder
areAccessibilityElementsHidden, becomeFirstResponder, canBecomeFirstResponder, canPerformAction, canResignFirstResponder, clearTextInputContextIdentifier, getAccessibilityActivationPoint, getAccessibilityAttributedHint, getAccessibilityAttributedLabel, getAccessibilityAttributedValue, getAccessibilityFrame, getAccessibilityHint, getAccessibilityLabel, getAccessibilityLanguage, getAccessibilityNavigationStyle, getAccessibilityPath, getAccessibilityTraits, getAccessibilityValue, getActionTarget, getInputAccessoryViewController, getInputAssistantItem, getInputViewController, getKeyCommands, getNextResponder, getTextInputContextIdentifier, getTextInputMode, getUndoManager, getUserActivity, isAccessibilityElement, isAccessibilityViewModal, isFirstResponder, motionBegan, motionCancelled, motionEnded, pressesBegan, pressesCancelled, pressesChanged, pressesEnded, reloadInputViews, remoteControlReceived, resignFirstResponder, restoreUserActivityState, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedValue, setAccessibilityElement, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityTraits, setAccessibilityValue, setAccessibilityViewModal, setShouldGroupAccessibilityChildren, setUserActivity, shouldGroupAccessibilityChildren, touchesBegan, touchesCancelled, touchesEnded, touchesEstimatedPropertiesUpdated, touchesMoved, updateUserActivityState
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
UITextField
public UITextField()
-
UITextField
protected UITextField(NSObject.Handle h, long handle)
-
UITextField
protected UITextField(NSObject.SkipInit skipInit)
-
UITextField
public UITextField(CGRect frame)
-
UITextField
public UITextField(NSCoder decoder)
-
-
Method Detail
-
getDefaultTextAttributes
public NSAttributedStringAttributes getDefaultTextAttributes()
- Since:
- Available in iOS 7.0 and later.
-
getDefaultTextMarkupAttributes
public CMTextMarkupAttributes getDefaultTextMarkupAttributes()
- Since:
- Available in iOS 7.0 and later.
-
getDefaultCoreTextAttributes
public CTAttributedStringAttributes getDefaultCoreTextAttributes()
- Since:
- Available in iOS 7.0 and later.
-
setDefaultTextAttributes
public void setDefaultTextAttributes(NSAttributedStringAttributes v)
- Since:
- Available in iOS 7.0 and later.
-
setDefaultTextMarkupAttributes
public void setDefaultTextMarkupAttributes(CMTextMarkupAttributes v)
- Since:
- Available in iOS 7.0 and later.
-
setDefaultCoreTextAttributes
public void setDefaultCoreTextAttributes(CTAttributedStringAttributes v)
- Since:
- Available in iOS 7.0 and later.
-
getTypingAttributes
public NSAttributedStringAttributes getTypingAttributes()
- Since:
- Available in iOS 6.0 and later.
-
getTypingTextMarkupAttributes
public CMTextMarkupAttributes getTypingTextMarkupAttributes()
- Since:
- Available in iOS 6.0 and later.
-
getTypingCoreTextAttributes
public CTAttributedStringAttributes getTypingCoreTextAttributes()
- Since:
- Available in iOS 6.0 and later.
-
setTypingAttributes
public void setTypingAttributes(NSAttributedStringAttributes v)
- Since:
- Available in iOS 6.0 and later.
-
setTypingTextMarkupAttributes
public void setTypingTextMarkupAttributes(CMTextMarkupAttributes v)
- Since:
- Available in iOS 6.0 and later.
-
setTypingCoreTextAttributes
public void setTypingCoreTextAttributes(CTAttributedStringAttributes v)
- Since:
- Available in iOS 6.0 and later.
-
getText
public java.lang.String getText()
-
setText
public void setText(java.lang.String v)
-
getAttributedText
public NSAttributedString getAttributedText()
- Since:
- Available in iOS 6.0 and later.
-
setAttributedText
public void setAttributedText(NSAttributedString v)
- Since:
- Available in iOS 6.0 and later.
-
getTextColor
public UIColor getTextColor()
-
setTextColor
public void setTextColor(UIColor v)
-
getFont
public UIFont getFont()
-
setFont
public void setFont(UIFont v)
-
getTextAlignment
public NSTextAlignment getTextAlignment()
-
setTextAlignment
public void setTextAlignment(NSTextAlignment v)
-
getBorderStyle
public UITextBorderStyle getBorderStyle()
-
setBorderStyle
public void setBorderStyle(UITextBorderStyle v)
-
getDefaultTextAttributesDictionary
public NSDictionary<NSString,?> getDefaultTextAttributesDictionary()
- Since:
- Available in iOS 7.0 and later.
-
setDefaultTextAttributesDictionary
public void setDefaultTextAttributesDictionary(NSDictionary<NSString,?> v)
- Since:
- Available in iOS 7.0 and later.
-
getPlaceholder
public java.lang.String getPlaceholder()
-
setPlaceholder
public void setPlaceholder(java.lang.String v)
-
getAttributedPlaceholder
public NSAttributedString getAttributedPlaceholder()
- Since:
- Available in iOS 6.0 and later.
-
setAttributedPlaceholder
public void setAttributedPlaceholder(NSAttributedString v)
- Since:
- Available in iOS 6.0 and later.
-
clearsOnBeginEditing
public boolean clearsOnBeginEditing()
-
setClearsOnBeginEditing
public void setClearsOnBeginEditing(boolean v)
-
adjustsFontSizeToFitWidth
public boolean adjustsFontSizeToFitWidth()
-
setAdjustsFontSizeToFitWidth
public void setAdjustsFontSizeToFitWidth(boolean v)
-
getMinimumFontSize
public double getMinimumFontSize()
-
setMinimumFontSize
public void setMinimumFontSize(double v)
-
getDelegate
public UITextFieldDelegate getDelegate()
-
setDelegate
public void setDelegate(UITextFieldDelegate v)
-
getBackground
public UIImage getBackground()
-
setBackground
public void setBackground(UIImage v)
-
getDisabledBackground
public UIImage getDisabledBackground()
-
setDisabledBackground
public void setDisabledBackground(UIImage v)
-
isEditing
public boolean isEditing()
-
allowsEditingTextAttributes
public boolean allowsEditingTextAttributes()
- Since:
- Available in iOS 6.0 and later.
-
setAllowsEditingTextAttributes
public void setAllowsEditingTextAttributes(boolean v)
- Since:
- Available in iOS 6.0 and later.
-
getTypingAttributesDictionary
public NSDictionary<NSString,?> getTypingAttributesDictionary()
- Since:
- Available in iOS 6.0 and later.
-
setTypingAttributesDictionary
public void setTypingAttributesDictionary(NSDictionary<NSString,?> v)
- Since:
- Available in iOS 6.0 and later.
-
getClearButtonMode
public UITextFieldViewMode getClearButtonMode()
-
setClearButtonMode
public void setClearButtonMode(UITextFieldViewMode v)
-
getLeftView
public UIView getLeftView()
-
setLeftView
public void setLeftView(UIView v)
-
getLeftViewMode
public UITextFieldViewMode getLeftViewMode()
-
setLeftViewMode
public void setLeftViewMode(UITextFieldViewMode v)
-
getRightView
public UIView getRightView()
-
setRightView
public void setRightView(UIView v)
-
getRightViewMode
public UITextFieldViewMode getRightViewMode()
-
setRightViewMode
public void setRightViewMode(UITextFieldViewMode v)
-
getInputView
public UIView getInputView()
- Overrides:
getInputView
in classUIResponder
-
setInputView
public void setInputView(UIView v)
-
getInputAccessoryView
public UIView getInputAccessoryView()
- Overrides:
getInputAccessoryView
in classUIResponder
-
setInputAccessoryView
public void setInputAccessoryView(UIView v)
-
clearsOnInsertion
public boolean clearsOnInsertion()
- Since:
- Available in iOS 6.0 and later.
-
setClearsOnInsertion
public void setClearsOnInsertion(boolean v)
- Since:
- Available in iOS 6.0 and later.
-
getSelectedTextRange
public UITextRange getSelectedTextRange()
- Specified by:
getSelectedTextRange
in interfaceUITextInput
-
setSelectedTextRange
public void setSelectedTextRange(UITextRange v)
- Specified by:
setSelectedTextRange
in interfaceUITextInput
-
getMarkedTextRange
public UITextRange getMarkedTextRange()
- Specified by:
getMarkedTextRange
in interfaceUITextInput
-
getMarkedTextStyle
public UITextInputTextStyle getMarkedTextStyle()
- Specified by:
getMarkedTextStyle
in interfaceUITextInput
-
setMarkedTextStyle
public void setMarkedTextStyle(UITextInputTextStyle v)
- Specified by:
setMarkedTextStyle
in interfaceUITextInput
-
getBeginningOfDocument
public UITextPosition getBeginningOfDocument()
- Specified by:
getBeginningOfDocument
in interfaceUITextInput
-
getEndOfDocument
public UITextPosition getEndOfDocument()
- Specified by:
getEndOfDocument
in interfaceUITextInput
-
getInputDelegate
public UITextInputDelegate getInputDelegate()
- Specified by:
getInputDelegate
in interfaceUITextInput
-
setInputDelegate
public void setInputDelegate(UITextInputDelegate v)
- Specified by:
setInputDelegate
in interfaceUITextInput
-
getTokenizer
public UITextInputTokenizer getTokenizer()
- Specified by:
getTokenizer
in interfaceUITextInput
-
getTextInputView
public UIView getTextInputView()
- Specified by:
getTextInputView
in interfaceUITextInput
-
getSelectionAffinity
public UITextStorageDirection getSelectionAffinity()
- Specified by:
getSelectionAffinity
in interfaceUITextInput
-
setSelectionAffinity
public void setSelectionAffinity(UITextStorageDirection v)
- Specified by:
setSelectionAffinity
in interfaceUITextInput
-
getInsertDictationResultPlaceholder
public NSObject getInsertDictationResultPlaceholder()
- Specified by:
getInsertDictationResultPlaceholder
in interfaceUITextInput
-
hasText
public boolean hasText()
- Specified by:
hasText
in interfaceUIKeyInput
-
getAutocapitalizationType
public UITextAutocapitalizationType getAutocapitalizationType()
- Specified by:
getAutocapitalizationType
in interfaceUITextInputTraits
-
setAutocapitalizationType
public void setAutocapitalizationType(UITextAutocapitalizationType v)
- Specified by:
setAutocapitalizationType
in interfaceUITextInputTraits
-
getAutocorrectionType
public UITextAutocorrectionType getAutocorrectionType()
- Specified by:
getAutocorrectionType
in interfaceUITextInputTraits
-
setAutocorrectionType
public void setAutocorrectionType(UITextAutocorrectionType v)
- Specified by:
setAutocorrectionType
in interfaceUITextInputTraits
-
getSpellCheckingType
public UITextSpellCheckingType getSpellCheckingType()
- Specified by:
getSpellCheckingType
in interfaceUITextInputTraits
- Since:
- Available in iOS 5.0 and later.
-
setSpellCheckingType
public void setSpellCheckingType(UITextSpellCheckingType v)
- Specified by:
setSpellCheckingType
in interfaceUITextInputTraits
- Since:
- Available in iOS 5.0 and later.
-
getSmartQuotesType
public UITextSmartQuotesType getSmartQuotesType()
- Specified by:
getSmartQuotesType
in interfaceUITextInputTraits
- Since:
- Available in iOS 11.0 and later.
-
setSmartQuotesType
public void setSmartQuotesType(UITextSmartQuotesType v)
- Specified by:
setSmartQuotesType
in interfaceUITextInputTraits
- Since:
- Available in iOS 11.0 and later.
-
getSmartDashesType
public UITextSmartDashesType getSmartDashesType()
- Specified by:
getSmartDashesType
in interfaceUITextInputTraits
- Since:
- Available in iOS 11.0 and later.
-
setSmartDashesType
public void setSmartDashesType(UITextSmartDashesType v)
- Specified by:
setSmartDashesType
in interfaceUITextInputTraits
- Since:
- Available in iOS 11.0 and later.
-
getSmartInsertDeleteType
public UITextSmartInsertDeleteType getSmartInsertDeleteType()
- Specified by:
getSmartInsertDeleteType
in interfaceUITextInputTraits
- Since:
- Available in iOS 11.0 and later.
-
setSmartInsertDeleteType
public void setSmartInsertDeleteType(UITextSmartInsertDeleteType v)
- Specified by:
setSmartInsertDeleteType
in interfaceUITextInputTraits
- Since:
- Available in iOS 11.0 and later.
-
getKeyboardType
public UIKeyboardType getKeyboardType()
- Specified by:
getKeyboardType
in interfaceUITextInputTraits
-
setKeyboardType
public void setKeyboardType(UIKeyboardType v)
- Specified by:
setKeyboardType
in interfaceUITextInputTraits
-
getKeyboardAppearance
public UIKeyboardAppearance getKeyboardAppearance()
- Specified by:
getKeyboardAppearance
in interfaceUITextInputTraits
-
setKeyboardAppearance
public void setKeyboardAppearance(UIKeyboardAppearance v)
- Specified by:
setKeyboardAppearance
in interfaceUITextInputTraits
-
getReturnKeyType
public UIReturnKeyType getReturnKeyType()
- Specified by:
getReturnKeyType
in interfaceUITextInputTraits
-
setReturnKeyType
public void setReturnKeyType(UIReturnKeyType v)
- Specified by:
setReturnKeyType
in interfaceUITextInputTraits
-
enablesReturnKeyAutomatically
public boolean enablesReturnKeyAutomatically()
- Specified by:
enablesReturnKeyAutomatically
in interfaceUITextInputTraits
-
setEnablesReturnKeyAutomatically
public void setEnablesReturnKeyAutomatically(boolean v)
- Specified by:
setEnablesReturnKeyAutomatically
in interfaceUITextInputTraits
-
isSecureTextEntry
public boolean isSecureTextEntry()
- Specified by:
isSecureTextEntry
in interfaceUITextInputTraits
-
setSecureTextEntry
public void setSecureTextEntry(boolean v)
- Specified by:
setSecureTextEntry
in interfaceUITextInputTraits
-
getTextContentType
public UITextContentType getTextContentType()
- Specified by:
getTextContentType
in interfaceUITextInputTraits
- Since:
- Available in iOS 10.0 and later.
-
setTextContentType
public void setTextContentType(UITextContentType v)
- Specified by:
setTextContentType
in interfaceUITextInputTraits
- Since:
- Available in iOS 10.0 and later.
-
getPasswordRules
public UITextInputPasswordRules getPasswordRules()
- Specified by:
getPasswordRules
in interfaceUITextInputTraits
- Since:
- Available in iOS 12.0 and later.
-
setPasswordRules
public void setPasswordRules(UITextInputPasswordRules v)
- Specified by:
setPasswordRules
in interfaceUITextInputTraits
- Since:
- Available in iOS 12.0 and later.
-
adjustsFontForContentSizeCategory
public boolean adjustsFontForContentSizeCategory()
- Specified by:
adjustsFontForContentSizeCategory
in interfaceUIContentSizeCategoryAdjusting
-
setAdjustsFontForContentSizeCategory
public void setAdjustsFontForContentSizeCategory(boolean v)
- Specified by:
setAdjustsFontForContentSizeCategory
in interfaceUIContentSizeCategoryAdjusting
-
getTextDragDelegate
public UITextDragDelegate getTextDragDelegate()
- Specified by:
getTextDragDelegate
in interfaceUITextDraggable
-
setTextDragDelegate
public void setTextDragDelegate(UITextDragDelegate v)
- Specified by:
setTextDragDelegate
in interfaceUITextDraggable
-
getTextDragInteraction
public UIDragInteraction getTextDragInteraction()
- Specified by:
getTextDragInteraction
in interfaceUITextDraggable
-
isTextDragActive
public boolean isTextDragActive()
- Specified by:
isTextDragActive
in interfaceUITextDraggable
-
getTextDragOptions
public UITextDragOptions getTextDragOptions()
- Specified by:
getTextDragOptions
in interfaceUITextDraggable
-
setTextDragOptions
public void setTextDragOptions(UITextDragOptions v)
- Specified by:
setTextDragOptions
in interfaceUITextDraggable
-
getTextDropDelegate
public UITextDropDelegate getTextDropDelegate()
- Specified by:
getTextDropDelegate
in interfaceUITextDroppable
-
setTextDropDelegate
public void setTextDropDelegate(UITextDropDelegate v)
- Specified by:
setTextDropDelegate
in interfaceUITextDroppable
-
getTextDropInteraction
public UIDropInteraction getTextDropInteraction()
- Specified by:
getTextDropInteraction
in interfaceUITextDroppable
-
isTextDropActive
public boolean isTextDropActive()
- Specified by:
isTextDropActive
in interfaceUITextDroppable
-
getPasteDelegate
public UITextPasteDelegate getPasteDelegate()
- Specified by:
getPasteDelegate
in interfaceUITextPasteConfigurationSupporting
-
setPasteDelegate
public void setPasteDelegate(UITextPasteDelegate v)
- Specified by:
setPasteDelegate
in interfaceUITextPasteConfigurationSupporting
-
getPasteConfiguration
public UIPasteConfiguration getPasteConfiguration()
- Specified by:
getPasteConfiguration
in interfaceUIPasteConfigurationSupporting
-
setPasteConfiguration
public void setPasteConfiguration(UIPasteConfiguration v)
- Specified by:
setPasteConfiguration
in interfaceUIPasteConfigurationSupporting
-
DidBeginEditingNotification
public static NSString DidBeginEditingNotification()
-
DidEndEditingNotification
public static NSString DidEndEditingNotification()
-
DidChangeNotification
public static NSString DidChangeNotification()
-
DidEndEditingReasonKey
protected static NSString DidEndEditingReasonKey()
- Since:
- Available in iOS 10.0 and later.
-
drawText
public void drawText(CGRect rect)
-
drawPlaceholder
public void drawPlaceholder(CGRect rect)
-
getText
public java.lang.String getText(UITextRange range)
- Specified by:
getText
in interfaceUITextInput
-
replaceText
public void replaceText(UITextRange range, java.lang.String text)
- Specified by:
replaceText
in interfaceUITextInput
-
setMarkedText
public void setMarkedText(java.lang.String markedText, NSRange selectedRange)
- Specified by:
setMarkedText
in interfaceUITextInput
-
unmarkText
public void unmarkText()
- Specified by:
unmarkText
in interfaceUITextInput
-
getTextRange
public UITextRange getTextRange(UITextPosition fromPosition, UITextPosition toPosition)
- Specified by:
getTextRange
in interfaceUITextInput
-
getPosition
public UITextPosition getPosition(UITextPosition position, long offset)
- Specified by:
getPosition
in interfaceUITextInput
-
getPosition
public UITextPosition getPosition(UITextPosition position, UITextLayoutDirection direction, long offset)
- Specified by:
getPosition
in interfaceUITextInput
-
comparePositions
public NSComparisonResult comparePositions(UITextPosition position, UITextPosition other)
- Specified by:
comparePositions
in interfaceUITextInput
-
getOffset
public long getOffset(UITextPosition from, UITextPosition toPosition)
- Specified by:
getOffset
in interfaceUITextInput
-
getPosition
public UITextPosition getPosition(UITextRange range, UITextLayoutDirection direction)
- Specified by:
getPosition
in interfaceUITextInput
-
getCharacterRange
public UITextRange getCharacterRange(UITextPosition position, UITextLayoutDirection direction)
- Specified by:
getCharacterRange
in interfaceUITextInput
-
getBaseWritingDirection
public UITextWritingDirection getBaseWritingDirection(UITextPosition position, UITextStorageDirection direction)
- Specified by:
getBaseWritingDirection
in interfaceUITextInput
-
setBaseWritingDirection
public void setBaseWritingDirection(UITextWritingDirection writingDirection, UITextRange range)
- Specified by:
setBaseWritingDirection
in interfaceUITextInput
-
getFirstRect
public CGRect getFirstRect(UITextRange range)
- Specified by:
getFirstRect
in interfaceUITextInput
-
getCaretRect
public CGRect getCaretRect(UITextPosition position)
- Specified by:
getCaretRect
in interfaceUITextInput
-
getSelectionRects
public NSArray<UITextSelectionRect> getSelectionRects(UITextRange range)
- Specified by:
getSelectionRects
in interfaceUITextInput
- Since:
- Available in iOS 6.0 and later.
-
getClosestPosition
public UITextPosition getClosestPosition(CGPoint point)
- Specified by:
getClosestPosition
in interfaceUITextInput
-
getClosestPosition
public UITextPosition getClosestPosition(CGPoint point, UITextRange range)
- Specified by:
getClosestPosition
in interfaceUITextInput
-
getCharacterRange
public UITextRange getCharacterRange(CGPoint point)
- Specified by:
getCharacterRange
in interfaceUITextInput
-
shouldChangeText
public boolean shouldChangeText(UITextRange range, java.lang.String text)
- Specified by:
shouldChangeText
in interfaceUITextInput
- Since:
- Available in iOS 6.0 and later.
-
getTextStyling
public UITextInputTextStyle getTextStyling(UITextPosition position, UITextStorageDirection direction)
- Specified by:
getTextStyling
in interfaceUITextInput
-
getPosition
public UITextPosition getPosition(UITextRange range, long offset)
- Specified by:
getPosition
in interfaceUITextInput
-
getCharacterOffset
public long getCharacterOffset(UITextPosition position, UITextRange range)
- Specified by:
getCharacterOffset
in interfaceUITextInput
-
insertDictationResult
public void insertDictationResult(NSArray<UIDictationPhrase> dictationResult)
- Specified by:
insertDictationResult
in interfaceUITextInput
-
dictationRecordingDidEnd
public void dictationRecordingDidEnd()
- Specified by:
dictationRecordingDidEnd
in interfaceUITextInput
-
dictationRecognitionFailed
public void dictationRecognitionFailed()
- Specified by:
dictationRecognitionFailed
in interfaceUITextInput
-
getDictationResultPlaceholderFrame
public CGRect getDictationResultPlaceholderFrame(NSObject placeholder)
- Specified by:
getDictationResultPlaceholderFrame
in interfaceUITextInput
-
removeDictationResultPlaceholder
public void removeDictationResultPlaceholder(NSObject placeholder, boolean willInsertResult)
- Specified by:
removeDictationResultPlaceholder
in interfaceUITextInput
-
beginFloatingCursor
public void beginFloatingCursor(CGPoint point)
- Specified by:
beginFloatingCursor
in interfaceUITextInput
- Since:
- Available in iOS 9.0 and later.
-
updateFloatingCursor
public void updateFloatingCursor(CGPoint point)
- Specified by:
updateFloatingCursor
in interfaceUITextInput
- Since:
- Available in iOS 9.0 and later.
-
endFloatingCursor
public void endFloatingCursor()
- Specified by:
endFloatingCursor
in interfaceUITextInput
- Since:
- Available in iOS 9.0 and later.
-
insertText
public void insertText(java.lang.String text)
- Specified by:
insertText
in interfaceUIKeyInput
-
deleteBackward
public void deleteBackward()
- Specified by:
deleteBackward
in interfaceUIKeyInput
-
pasteItemProviders
public void pasteItemProviders(NSArray<NSItemProvider> itemProviders)
- Specified by:
pasteItemProviders
in interfaceUIPasteConfigurationSupporting
-
canPasteItemProviders
public boolean canPasteItemProviders(NSArray<NSItemProvider> itemProviders)
- Specified by:
canPasteItemProviders
in interfaceUIPasteConfigurationSupporting
-
-