Package org.robovm.apple.uikit
Class UITextField
- All Implemented Interfaces:
CALayerDelegate,NSCoding,NSObjectProtocol,UIAccessibilityIdentification,UIActivityItemsConfigurationProviding,UIAppearanceContainer,UIContentSizeCategoryAdjusting,UIContextMenuInteractionDelegate,UICoordinateSpace,UIDynamicItem,UIFocusEnvironment,UIFocusItem,UIFocusItemContainer,UIKeyInput,UILargeContentViewerItem,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UITextDraggable,UITextDroppable,UITextInput,UITextInputTraits,UITextPasteConfigurationSupporting,UITraitEnvironment,UIUserActivityRestoring,ObjCProtocol
- Direct Known Subclasses:
UISearchTextField
public class UITextField extends UIControl implements UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UITextDraggable, UITextDroppable, UITextPasteConfigurationSupporting
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUITextField.Notificationsstatic classUITextField.UITextFieldPtrNested 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.UIControlPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UIResponder
UIResponder.UIResponderPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description UITextField()UITextField(CGRect frame)UITextField(CGRect frame, UIAction primaryAction)UITextField(NSCoder coder)protectedUITextField(NSObject.Handle h, long handle)protectedUITextField(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.uikit.UIControl
addAction, addOnEditingChangedListener, addOnEditingDidBegin, addOnEditingDidEndListener, addOnEditingDidEndOnExitListener, addOnPrimaryActionTriggeredListener, addOnTouchCancelListener, addOnTouchDownListener, addOnTouchDownRepeatListener, addOnTouchDragEnterListener, addOnTouchDragExitListener, addOnTouchDragInsideListener, addOnTouchDragOutsideListener, addOnTouchUpInsideListener, addOnTouchUpOutsideListener, addOnValueChangedListener, addTarget, beginTracking, cancelTracking, continueTracking, endTracking, enumerateEventHandlers, getActions, getAllControlEvents, getAllTargets, getConfiguration, getContentHorizontalAlignment, getContentVerticalAlignment, getContextMenuInteraction, getEffectiveContentHorizontalAlignment, getPreviewForDismissingMenu, getPreviewForHighlightingMenu, getState, getToolTip, getToolTipInteraction, init, init, init, isContextMenuInteractionEnabled, isEnabled, isHighlighted, isSelected, isTouchInside, isTracking, menuAttachmentPointForConfiguration, removeAction, removeAction, removeListener, removeTarget, sendAction, sendAction, sendControlEventsActions, setContentHorizontalAlignment, setContentVerticalAlignment, setContextMenuInteractionEnabled, setEnabled, setHighlighted, setSelected, setShowsMenuAsPrimaryAction, setToolTip, showsMenuAsPrimaryAction, willDisplayMenu, willEnd, willPerformPreviewActionMethods 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, getAppliedContentSizeCategoryLimitsDescription, getAutoresizingMask, getBackgroundColor, getBottomAnchor, getBounds, getCenter, getCenterXAnchor, getCenterYAnchor, getCollisionBoundingPath, getCollisionBoundsType, getConstraints, getConstraintsAffectingLayout, getContentCompressionResistancePriority, getContentHuggingPriority, getContentMode, getContentScaleFactor, getCoordinateSpace, getDirectionalLayoutMargins, getEffectiveUserInterfaceLayoutDirection, getFirstBaselineAnchor, getFocusEffect, getFocusGroupIdentifier, getFocusGroupPriority, getFocusItemContainer, getFrame, getFrameForAlignmentRect, getGestureRecognizers, getHeightAnchor, getInheritedAnimationDuration, getInteractions, getIntrinsicContentSize, getKeyboardLayoutGuide, getLargeContentImage, getLargeContentImageInsets, getLargeContentTitle, getLastBaselineAnchor, getLayer, getLayoutGuides, getLayoutMargins, getLayoutMarginsGuide, getLeadingAnchor, getLeftAnchor, getMaskView, getMaximumContentSizeCategory, getMinimumContentSizeCategory, getMotionEffects, getOverrideUserInterfaceStyle, getParentFocusEnvironment, getPreferredFocusedView, getPreferredFocusEnvironments, getReadableContentGuide, getResizableSnapshot, getRestorationIdentifier, getRightAnchor, getSafeAreaInsets, getSafeAreaLayoutGuide, getSemanticContentAttribute, getSizeThatFits, getSnapshot, getSubviews, getSuperview, getSystemLayoutSizeFittingSize, getSystemLayoutSizeFittingSize, getTag, getTintAdjustmentMode, getTintColor, getTopAnchor, getTrailingAnchor, getTraitCollection, getTransform, getTransform3D, getViewForBaselineLayout, getViewForFirstBaselineLayout, getViewForLastBaselineLayout, getViewPrintFormatter, getViewWithTag, getWidthAnchor, getWindow, hasAmbiguousLayout, hitTest, insertSubview, insertSubviewAbove, insertSubviewBelow, invalidateIntrinsicContentSize, isAccessibilityIgnoresInvertColors, isDescendantOf, isExclusiveTouch, isFocused, isHidden, isInsetsLayoutMarginsFromSafeArea, isMultipleTouchEnabled, isOpaque, isPointInside, isScalesLargeContentImage, isTransparentFocusItem, isUserInteractionEnabled, layoutIfNeeded, layoutMarginsDidChange, layoutSublayers, layoutSubviews, modifyAnimations, 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, setFocusEffect, setFocusGroupIdentifier, setFocusGroupPriority, setFrame, setGestureRecognizers, setHidden, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLargeContentImage, setLargeContentImageInsets, setLargeContentTitle, setLayoutMargins, setMaskView, setMaximumContentSizeCategory, setMinimumContentSizeCategory, setMotionEffects, setMultipleTouchEnabled, setNeedsDisplay, setNeedsDisplay, setNeedsFocusUpdate, setNeedsLayout, setNeedsUpdateConstraints, setOpaque, setOverrideUserInterfaceStyle, setPreservesSuperviewLayoutMargins, setRestorationIdentifier, setScalesLargeContentImage, setSemanticContentAttribute, setShowsLargeContentViewer, setTag, setTintAdjustmentMode, setTintColor, setTransform, setTransform3D, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocus, showsLargeContentViewer, sizeToFit, tintColorDidChange, traitCollectionDidChange, transition, transition, translatesAutoresizingMaskIntoConstraints, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, willDrawLayer, willMoveToSuperview, willMoveToWindow, willRemoveSubviewMethods inherited from class org.robovm.apple.uikit.UIResponder
becomeFirstResponder, buildMenu, canBecomeFirstResponder, canPasteItemProviders, canPerformAction, canResignFirstResponder, captureTextFromCamera, clearTextInputContextIdentifier, copy, cut, decreaseSize, delete, getActionTarget, getActivityItemsConfiguration, getEditingInteractionConfiguration, getInputAccessoryViewController, getInputAssistantItem, getInputViewController, getKeyCommands, getNextResponder, getPasteConfiguration, getTextInputContextIdentifier, getTextInputMode, getUndoManager, getUserActivity, increaseSize, isFirstResponder, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBegan, motionCancelled, motionEnded, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteItemProviders, pressesBegan, pressesCancelled, pressesChanged, pressesEnded, print, reloadInputViews, remoteControlReceived, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, toggleBoldface, toggleItalics, toggleUnderline, touchesBegan, touchesCancelled, touchesEnded, touchesEstimatedPropertiesUpdated, touchesMoved, updateTextAttributes, updateUserActivityState, validateCommandMethods 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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from interface org.robovm.apple.uikit.UIPasteConfigurationSupporting
canPasteItemProviders, getPasteConfiguration, pasteItemProviders, setPasteConfiguration
-
Constructor Details
-
UITextField
public UITextField() -
UITextField
-
UITextField
-
UITextField
-
UITextField
-
UITextField
- Since:
- Available in iOS 14.0 and later.
-
-
Method Details
-
getDefaultTextAttributes
- Since:
- Available in iOS 7.0 and later.
-
getDefaultTextMarkupAttributes
- Since:
- Available in iOS 7.0 and later.
-
getDefaultCoreTextAttributes
- Since:
- Available in iOS 7.0 and later.
-
setDefaultTextAttributes
- Since:
- Available in iOS 7.0 and later.
-
setDefaultTextMarkupAttributes
- Since:
- Available in iOS 7.0 and later.
-
setDefaultCoreTextAttributes
- Since:
- Available in iOS 7.0 and later.
-
getTypingAttributes
- Since:
- Available in iOS 6.0 and later.
-
getTypingTextMarkupAttributes
- Since:
- Available in iOS 6.0 and later.
-
getTypingCoreTextAttributes
- Since:
- Available in iOS 6.0 and later.
-
setTypingAttributes
- Since:
- Available in iOS 6.0 and later.
-
setTypingTextMarkupAttributes
- Since:
- Available in iOS 6.0 and later.
-
setTypingCoreTextAttributes
- Since:
- Available in iOS 6.0 and later.
-
getText
-
setText
-
getAttributedText
-
setAttributedText
-
getTextColor
-
setTextColor
-
getFont
-
setFont
-
getTextAlignment
-
setTextAlignment
-
getBorderStyle
-
setBorderStyle
-
getDefaultTextAttributesDictionary
-
setDefaultTextAttributesDictionary
-
getPlaceholder
-
setPlaceholder
-
getAttributedPlaceholder
-
setAttributedPlaceholder
-
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
-
setDelegate
-
getBackground
-
setBackground
-
getDisabledBackground
-
setDisabledBackground
-
isEditing
public boolean isEditing() -
allowsEditingTextAttributes
public boolean allowsEditingTextAttributes() -
setAllowsEditingTextAttributes
public void setAllowsEditingTextAttributes(boolean v) -
getTypingAttributesDictionary
-
setTypingAttributesDictionary
-
getClearButtonMode
-
setClearButtonMode
-
getLeftView
-
setLeftView
-
getLeftViewMode
-
setLeftViewMode
-
getRightView
-
setRightView
-
getRightViewMode
-
setRightViewMode
-
getInputView
- Overrides:
getInputViewin classUIResponder
-
setInputView
-
getInputAccessoryView
- Overrides:
getInputAccessoryViewin classUIResponder
-
setInputAccessoryView
-
clearsOnInsertion
public boolean clearsOnInsertion() -
setClearsOnInsertion
public void setClearsOnInsertion(boolean v) -
getLayerClass
-
getInteractionState
- Since:
- Available in iOS 15.0 and later.
-
setInteractionState
- Since:
- Available in iOS 15.0 and later.
-
getSelectedTextRange
- Specified by:
getSelectedTextRangein interfaceUITextInput
-
setSelectedTextRange
- Specified by:
setSelectedTextRangein interfaceUITextInput
-
getMarkedTextRange
- Specified by:
getMarkedTextRangein interfaceUITextInput
-
getMarkedTextStyle
- Specified by:
getMarkedTextStylein interfaceUITextInput
-
setMarkedTextStyle
- Specified by:
setMarkedTextStylein interfaceUITextInput
-
getBeginningOfDocument
- Specified by:
getBeginningOfDocumentin interfaceUITextInput
-
getEndOfDocument
- Specified by:
getEndOfDocumentin interfaceUITextInput
-
getInputDelegate
- Specified by:
getInputDelegatein interfaceUITextInput
-
setInputDelegate
- Specified by:
setInputDelegatein interfaceUITextInput
-
getTokenizer
- Specified by:
getTokenizerin interfaceUITextInput
-
getTextInputView
- Specified by:
getTextInputViewin interfaceUITextInput
-
getSelectionAffinity
- Specified by:
getSelectionAffinityin interfaceUITextInput
-
setSelectionAffinity
- Specified by:
setSelectionAffinityin interfaceUITextInput
-
getInsertDictationResultPlaceholder
- Specified by:
getInsertDictationResultPlaceholderin interfaceUITextInput
-
hasText
public boolean hasText()- Specified by:
hasTextin interfaceUIKeyInput
-
getAutocapitalizationType
- Specified by:
getAutocapitalizationTypein interfaceUITextInputTraits
-
setAutocapitalizationType
- Specified by:
setAutocapitalizationTypein interfaceUITextInputTraits
-
getAutocorrectionType
- Specified by:
getAutocorrectionTypein interfaceUITextInputTraits
-
setAutocorrectionType
- Specified by:
setAutocorrectionTypein interfaceUITextInputTraits
-
getSpellCheckingType
- Specified by:
getSpellCheckingTypein interfaceUITextInputTraits
-
setSpellCheckingType
- Specified by:
setSpellCheckingTypein interfaceUITextInputTraits
-
getSmartQuotesType
- Specified by:
getSmartQuotesTypein interfaceUITextInputTraits- Since:
- Available in iOS 11.0 and later.
-
setSmartQuotesType
- Specified by:
setSmartQuotesTypein interfaceUITextInputTraits- Since:
- Available in iOS 11.0 and later.
-
getSmartDashesType
- Specified by:
getSmartDashesTypein interfaceUITextInputTraits- Since:
- Available in iOS 11.0 and later.
-
setSmartDashesType
- Specified by:
setSmartDashesTypein interfaceUITextInputTraits- Since:
- Available in iOS 11.0 and later.
-
getSmartInsertDeleteType
- Specified by:
getSmartInsertDeleteTypein interfaceUITextInputTraits- Since:
- Available in iOS 11.0 and later.
-
setSmartInsertDeleteType
- Specified by:
setSmartInsertDeleteTypein interfaceUITextInputTraits- Since:
- Available in iOS 11.0 and later.
-
getKeyboardType
- Specified by:
getKeyboardTypein interfaceUITextInputTraits
-
setKeyboardType
- Specified by:
setKeyboardTypein interfaceUITextInputTraits
-
getKeyboardAppearance
- Specified by:
getKeyboardAppearancein interfaceUITextInputTraits
-
setKeyboardAppearance
- Specified by:
setKeyboardAppearancein interfaceUITextInputTraits
-
getReturnKeyType
- Specified by:
getReturnKeyTypein interfaceUITextInputTraits
-
setReturnKeyType
- Specified by:
setReturnKeyTypein interfaceUITextInputTraits
-
enablesReturnKeyAutomatically
public boolean enablesReturnKeyAutomatically()- Specified by:
enablesReturnKeyAutomaticallyin interfaceUITextInputTraits
-
setEnablesReturnKeyAutomatically
public void setEnablesReturnKeyAutomatically(boolean v)- Specified by:
setEnablesReturnKeyAutomaticallyin interfaceUITextInputTraits
-
isSecureTextEntry
public boolean isSecureTextEntry()- Specified by:
isSecureTextEntryin interfaceUITextInputTraits
-
setSecureTextEntry
public void setSecureTextEntry(boolean v)- Specified by:
setSecureTextEntryin interfaceUITextInputTraits
-
getTextContentType
- Specified by:
getTextContentTypein interfaceUITextInputTraits- Since:
- Available in iOS 10.0 and later.
-
setTextContentType
- Specified by:
setTextContentTypein interfaceUITextInputTraits- Since:
- Available in iOS 10.0 and later.
-
getPasswordRules
- Specified by:
getPasswordRulesin interfaceUITextInputTraits- Since:
- Available in iOS 12.0 and later.
-
setPasswordRules
- Specified by:
setPasswordRulesin interfaceUITextInputTraits- Since:
- Available in iOS 12.0 and later.
-
adjustsFontForContentSizeCategory
public boolean adjustsFontForContentSizeCategory()- Specified by:
adjustsFontForContentSizeCategoryin interfaceUIContentSizeCategoryAdjusting
-
setAdjustsFontForContentSizeCategory
public void setAdjustsFontForContentSizeCategory(boolean v)- Specified by:
setAdjustsFontForContentSizeCategoryin interfaceUIContentSizeCategoryAdjusting
-
getTextDragDelegate
- Specified by:
getTextDragDelegatein interfaceUITextDraggable
-
setTextDragDelegate
- Specified by:
setTextDragDelegatein interfaceUITextDraggable
-
getTextDragInteraction
- Specified by:
getTextDragInteractionin interfaceUITextDraggable
-
isTextDragActive
public boolean isTextDragActive()- Specified by:
isTextDragActivein interfaceUITextDraggable
-
getTextDragOptions
- Specified by:
getTextDragOptionsin interfaceUITextDraggable
-
setTextDragOptions
- Specified by:
setTextDragOptionsin interfaceUITextDraggable
-
getTextDropDelegate
- Specified by:
getTextDropDelegatein interfaceUITextDroppable
-
setTextDropDelegate
- Specified by:
setTextDropDelegatein interfaceUITextDroppable
-
getTextDropInteraction
- Specified by:
getTextDropInteractionin interfaceUITextDroppable
-
isTextDropActive
public boolean isTextDropActive()- Specified by:
isTextDropActivein interfaceUITextDroppable
-
getPasteDelegate
- Specified by:
getPasteDelegatein interfaceUITextPasteConfigurationSupporting
-
setPasteDelegate
- Specified by:
setPasteDelegatein interfaceUITextPasteConfigurationSupporting
-
DidBeginEditingNotification
-
DidEndEditingNotification
-
DidChangeNotification
-
DidEndEditingReasonKey
- Since:
- Available in iOS 10.0 and later.
-
getBorderRect
-
getTextRect
-
getPlaceholderRect
-
getEditingRect
-
getClearButtonRect
-
getLeftViewRect
-
getRightViewRect
-
drawText
Deprecated.Deprecated in iOS 15.0. This method is no longer called. -
drawPlaceholder
-
getUserInterfaceLayoutDirection
public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection(UISemanticContentAttribute attribute)- Since:
- Available in iOS 9.0 and later.
-
getUserInterfaceLayoutDirection
public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection(UISemanticContentAttribute semanticContentAttribute, UIUserInterfaceLayoutDirection layoutDirection)- Since:
- Available in iOS 10.0 and later.
-
getText
- Specified by:
getTextin interfaceUITextInput
-
replaceText
- Specified by:
replaceTextin interfaceUITextInput
-
setMarkedText
- Specified by:
setMarkedTextin interfaceUITextInput
-
unmarkText
public void unmarkText()- Specified by:
unmarkTextin interfaceUITextInput
-
getTextRange
- Specified by:
getTextRangein interfaceUITextInput
-
getPosition
- Specified by:
getPositionin interfaceUITextInput
-
getPosition
public UITextPosition getPosition(UITextPosition position, UITextLayoutDirection direction, long offset)- Specified by:
getPositionin interfaceUITextInput
-
comparePositions
- Specified by:
comparePositionsin interfaceUITextInput
-
getOffset
- Specified by:
getOffsetin interfaceUITextInput
-
getPosition
- Specified by:
getPositionin interfaceUITextInput
-
getCharacterRange
- Specified by:
getCharacterRangein interfaceUITextInput
-
getBaseWritingDirection
public NSWritingDirection getBaseWritingDirection(UITextPosition position, UITextStorageDirection direction)- Specified by:
getBaseWritingDirectionin interfaceUITextInput
-
setBaseWritingDirection
- Specified by:
setBaseWritingDirectionin interfaceUITextInput
-
getFirstRect
- Specified by:
getFirstRectin interfaceUITextInput
-
getCaretRect
- Specified by:
getCaretRectin interfaceUITextInput
-
getSelectionRects
- Specified by:
getSelectionRectsin interfaceUITextInput
-
getClosestPosition
- Specified by:
getClosestPositionin interfaceUITextInput
-
getClosestPosition
- Specified by:
getClosestPositionin interfaceUITextInput
-
getCharacterRange
- Specified by:
getCharacterRangein interfaceUITextInput
-
shouldChangeText
- Specified by:
shouldChangeTextin interfaceUITextInput
-
getTextStyling
public UITextInputTextStyle getTextStyling(UITextPosition position, UITextStorageDirection direction)- Specified by:
getTextStylingin interfaceUITextInput
-
getPosition
- Specified by:
getPositionin interfaceUITextInput
-
getCharacterOffset
- Specified by:
getCharacterOffsetin interfaceUITextInput
-
insertDictationResult
- Specified by:
insertDictationResultin interfaceUITextInput
-
dictationRecordingDidEnd
public void dictationRecordingDidEnd()- Specified by:
dictationRecordingDidEndin interfaceUITextInput
-
dictationRecognitionFailed
public void dictationRecognitionFailed()- Specified by:
dictationRecognitionFailedin interfaceUITextInput
-
getDictationResultPlaceholderFrame
- Specified by:
getDictationResultPlaceholderFramein interfaceUITextInput
-
removeDictationResultPlaceholder
- Specified by:
removeDictationResultPlaceholderin interfaceUITextInput
-
insertText
- Specified by:
insertTextin interfaceUITextInput
-
setAttributedMarkedText
- Specified by:
setAttributedMarkedTextin interfaceUITextInput
-
insertTextPlaceholder
- Specified by:
insertTextPlaceholderin interfaceUITextInput
-
removeTextPlaceholder
- Specified by:
removeTextPlaceholderin interfaceUITextInput
-
beginFloatingCursor
- Specified by:
beginFloatingCursorin interfaceUITextInput- Since:
- Available in iOS 9.0 and later.
-
updateFloatingCursor
- Specified by:
updateFloatingCursorin interfaceUITextInput- Since:
- Available in iOS 9.0 and later.
-
endFloatingCursor
public void endFloatingCursor()- Specified by:
endFloatingCursorin interfaceUITextInput- Since:
- Available in iOS 9.0 and later.
-
insertText
- Specified by:
insertTextin interfaceUIKeyInput
-
deleteBackward
public void deleteBackward()- Specified by:
deleteBackwardin interfaceUIKeyInput
-