Package org.robovm.apple.uikit
Class UITextView
- 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.UIScrollView
-
- org.robovm.apple.uikit.UITextView
-
- All Implemented Interfaces:
CALayerDelegate
,NSCoding
,NSObjectProtocol
,UIAccessibility
,UIAccessibilityIdentification
,UIAppearanceContainer
,UIContentSizeCategoryAdjusting
,UICoordinateSpace
,UIDynamicItem
,UIFocusEnvironment
,UIFocusItem
,UIFocusItemContainer
,UIFocusItemScrollableContainer
,UIKeyInput
,UIPasteConfigurationSupporting
,UITextDraggable
,UITextDroppable
,UITextInput
,UITextInputTraits
,UITextPasteConfigurationSupporting
,UITraitEnvironment
,org.robovm.objc.ObjCProtocol
public class UITextView extends UIScrollView implements UITextInput, UIContentSizeCategoryAdjusting, UITextDraggable, UITextDroppable, UITextPasteConfigurationSupporting
- Since:
- Available in iOS 2.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UITextView.Notifications
static class
UITextView.UITextViewPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIScrollView
UIScrollView.UIScrollViewPtr
-
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 UITextView()
UITextView(CGRect frame)
UITextView(CGRect frame, NSTextContainer textContainer)
UITextView(NSCoder decoder)
protected
UITextView(NSObject.Handle h, long handle)
protected
UITextView(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.uikit.UIScrollView
adjustedContentInsetDidChange, alwaysBounceHorizontal, alwaysBounceVertical, bounces, bouncesZoom, canCancelContentTouches, delaysContentTouches, flashScrollIndicators, getAdjustedContentInset, getContentInset, getContentInsetAdjustmentBehavior, getContentLayoutGuide, getContentOffset, getContentSize, getDecelerationRate, getDirectionalPressGestureRecognizer, getFastDecelerationRate, getFrameLayoutGuide, getIndexDisplayMode, getIndicatorStyle, getKeyboardDismissMode, getMaximumZoomScale, getMinimumZoomScale, getNormalDecelerationRate, getPanGestureRecognizer, getPinchGestureRecognizer, getRefreshControl, getScrollIndicatorInsets, getVisibleSize, getZoomScale, isDecelerating, isDirectionalLockEnabled, isDragging, isPagingEnabled, isScrollEnabled, isTracking, isZoomBouncing, isZooming, scrollRectToVisible, scrollsToTop, setAlwaysBounceHorizontal, setAlwaysBounceVertical, setBounces, setBouncesZoom, setCanCancelContentTouches, setContentInset, setContentInsetAdjustmentBehavior, setContentOffset, setContentOffset, setContentSize, setDecelerationRate, setDelaysContentTouches, setDelegate, setDirectionalLockEnabled, setIndexDisplayMode, setIndicatorStyle, setKeyboardDismissMode, setMaximumZoomScale, setMinimumZoomScale, setPagingEnabled, setRefreshControl, setScrollEnabled, setScrollIndicatorInsets, setScrollsToTop, setShowsHorizontalScrollIndicator, setShowsVerticalScrollIndicator, setZoomScale, setZoomScale, showsHorizontalScrollIndicator, showsVerticalScrollIndicator, touchesShouldBegin, touchesShouldCancelInContentView, zoomToRect
-
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, 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
-
Methods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Methods inherited from interface org.robovm.apple.uikit.UIFocusItemContainer
focusItemsInRect, getCoordinateSpace
-
-
-
-
Constructor Detail
-
UITextView
public UITextView()
-
UITextView
protected UITextView(NSObject.Handle h, long handle)
-
UITextView
protected UITextView(NSObject.SkipInit skipInit)
-
UITextView
public UITextView(CGRect frame, NSTextContainer textContainer)
- Since:
- Available in iOS 7.0 and later.
-
UITextView
public UITextView(NSCoder decoder)
-
UITextView
public UITextView(CGRect frame)
-
-
Method Detail
-
getLinkTextAttributes
public NSAttributedStringAttributes getLinkTextAttributes()
- Since:
- Available in iOS 7.0 and later.
-
getLinkTextMarkupAttributes
public CMTextMarkupAttributes getLinkTextMarkupAttributes()
- Since:
- Available in iOS 7.0 and later.
-
getLinkCoreTextAttributes
public CTAttributedStringAttributes getLinkCoreTextAttributes()
- Since:
- Available in iOS 7.0 and later.
-
setLinkTextAttributes
public void setLinkTextAttributes(NSAttributedStringAttributes v)
- Since:
- Available in iOS 7.0 and later.
-
setLinkTextMarkupAttributes
public void setLinkTextMarkupAttributes(CMTextMarkupAttributes v)
- Since:
- Available in iOS 7.0 and later.
-
setLinkCoreTextAttributes
public void setLinkCoreTextAttributes(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.
-
getDelegate
public UITextViewDelegate getDelegate()
- Overrides:
getDelegate
in classUIScrollView
-
setDelegate
public void setDelegate(UITextViewDelegate v)
-
getText
public java.lang.String getText()
-
setText
public void setText(java.lang.String v)
-
getFont
public UIFont getFont()
-
setFont
public void setFont(UIFont v)
-
getTextColor
public UIColor getTextColor()
-
setTextColor
public void setTextColor(UIColor v)
-
getTextAlignment
public NSTextAlignment getTextAlignment()
-
setTextAlignment
public void setTextAlignment(NSTextAlignment v)
-
getSelectedRange
public NSRange getSelectedRange()
-
setSelectedRange
public void setSelectedRange(NSRange v)
-
isEditable
public boolean isEditable()
-
setEditable
public void setEditable(boolean v)
-
isSelectable
public boolean isSelectable()
- Since:
- Available in iOS 7.0 and later.
-
setSelectable
public void setSelectable(boolean v)
- Since:
- Available in iOS 7.0 and later.
-
getDataDetectorTypes
public UIDataDetectorTypes getDataDetectorTypes()
- Since:
- Available in iOS 3.0 and later.
-
setDataDetectorTypes
public void setDataDetectorTypes(UIDataDetectorTypes v)
- Since:
- Available in iOS 3.0 and later.
-
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.
-
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.
-
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.
-
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.
-
getTextContainer
public NSTextContainer getTextContainer()
- Since:
- Available in iOS 7.0 and later.
-
getTextContainerInset
public UIEdgeInsets getTextContainerInset()
- Since:
- Available in iOS 7.0 and later.
-
setTextContainerInset
public void setTextContainerInset(UIEdgeInsets v)
- Since:
- Available in iOS 7.0 and later.
-
getLayoutManager
public NSLayoutManager getLayoutManager()
- Since:
- Available in iOS 7.0 and later.
-
getTextStorage
public NSTextStorage getTextStorage()
- Since:
- Available in iOS 7.0 and later.
-
getLinkTextAttributesDictionary
public NSDictionary<NSString,?> getLinkTextAttributesDictionary()
- Since:
- Available in iOS 7.0 and later.
-
setLinkTextAttributesDictionary
public void setLinkTextAttributesDictionary(NSDictionary<NSString,?> v)
- Since:
- Available in iOS 7.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()
-
DidChangeNotification
public static NSString DidChangeNotification()
-
DidEndEditingNotification
public static NSString DidEndEditingNotification()
-
scrollRangeToVisible
public void scrollRangeToVisible(NSRange range)
-
init
protected long init(CGRect frame, NSTextContainer textContainer)
- Since:
- Available in iOS 7.0 and later.
-
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
-
-