public class UITextView extends UIScrollView implements UITextInput, UIContentSizeCategoryAdjusting, UITextDraggable, UITextDroppable, UITextPasteConfigurationSupporting
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationAnimations, UIView.Block_animateWithDurationAnimationsCompletion_1, UIView.Block_animateWithDurationAnimationsCompletion_2, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4, UIView.Block_performWithoutAnimation, UIView.Block_transitionFromViewToViewDurationOptionsCompletion, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retUIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler| Modifier | Constructor and Description |
|---|---|
protected |
UITextView(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
UITextView |
_appearance()
To customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class.
|
UITextView |
_appearanceForTraitCollection(UITraitCollection trait) |
UITextView |
_appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait,
UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
UITextView |
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait,
NSArray<?> containerTypes) |
UITextView |
_appearanceWhenContainedIn(UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
UITextView |
_appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes) |
static boolean |
accessInstanceVariablesDirectly() |
static void |
addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime,
double frameDuration,
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations) |
boolean |
adjustsFontForContentSizeCategory()
Indicates whether the corresponding element should automatically update its font when the device’s UIContentSizeCategory is changed.
|
static UITextView |
alloc() |
static UITextView |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
boolean |
allowsEditingTextAttributes()
defaults to NO
|
static void |
animateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration,
double delay,
long options,
UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations,
UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion) |
static void |
animateWithDurationAnimations(double duration,
UIView.Block_animateWithDurationAnimations animations) |
static void |
animateWithDurationAnimationsCompletion(double duration,
UIView.Block_animateWithDurationAnimationsCompletion_1 animations,
UIView.Block_animateWithDurationAnimationsCompletion_2 completion) |
static void |
animateWithDurationDelayOptionsAnimationsCompletion(double duration,
double delay,
long options,
UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations,
UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion) |
static void |
animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration,
double delay,
double dampingRatio,
double velocity,
long options,
UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations,
UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion) |
static UITextView |
appearance() |
static UITextView |
appearanceForTraitCollection(UITraitCollection trait) |
static UITextView |
appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait,
UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
static UITextView |
appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait,
NSArray<?> containerTypes) |
static UITextView |
appearanceWhenContainedIn(UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
static UITextView |
appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes) |
static boolean |
areAnimationsEnabled() |
NSAttributedString |
attributedText() |
long |
autocapitalizationType()
default is UITextAutocapitalizationTypeSentences
|
long |
autocorrectionType()
default is UITextAutocorrectionTypeDefault
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
long |
baseWritingDirectionForPositionInDirection(UITextPosition position,
long direction)
Writing direction
|
static void |
beginAnimationsContext(java.lang.String animationID,
org.moe.natj.general.ptr.VoidPtr context) |
void |
beginFloatingCursorAtPoint(CGPoint point)
The following three optional methods are for clients that wish to display a floating cursor to
guide user manipulation of the selected text range via the system-provided keyboard.
|
UITextPosition |
beginningOfDocument()
The end and beginning of the the text document.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
boolean |
canPasteItemProviders(NSArray<? extends NSItemProvider> itemProviders) |
CGRect |
caretRectForPosition(UITextPosition position) |
long |
characterOffsetOfPositionWithinRange(UITextPosition position,
UITextRange range) |
UITextRange |
characterRangeAtPoint(CGPoint point) |
UITextRange |
characterRangeByExtendingPositionInDirection(UITextPosition position,
long direction) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
boolean |
clearsOnInsertion()
defaults to NO.
|
static void |
clearTextInputContextIdentifier(java.lang.String identifier) |
UITextPosition |
closestPositionToPoint(CGPoint point)
Hit testing.
|
UITextPosition |
closestPositionToPointWithinRange(CGPoint point,
UITextRange range) |
static void |
commitAnimations() |
long |
comparePositionToPosition(UITextPosition position,
UITextPosition other)
Simple evaluation of positions
|
long |
dataDetectorTypes() |
static java.lang.String |
debugDescription_static() |
java.lang.Object |
delegate()
default nil.
|
void |
deleteBackward() |
static java.lang.String |
description_static() |
void |
dictationRecognitionFailed() |
void |
dictationRecordingDidEnd()
These are optional methods for clients that wish to know when there are pending dictation results.
|
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)
|
void |
endFloatingCursor() |
UITextPosition |
endOfDocument() |
CGRect |
firstRectForRange(UITextRange range)
Geometry used to provide, for example, a correction rect.
|
UIFont |
font() |
CGRect |
frameForDictationResultPlaceholder(java.lang.Object placeholder) |
static long |
hash_static() |
boolean |
hasText() |
static double |
inheritedAnimationDuration() |
UITextView |
init() |
UITextView |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
UITextView |
initWithFrame(CGRect frame) |
UITextView |
initWithFrameTextContainer(CGRect frame,
NSTextContainer textContainer)
Create a new text view with the specified text container (can be nil) - this is the new designated initializer for this class
|
UIView |
inputAccessoryView() |
UITextInputDelegate |
inputDelegate()
A system-provided input delegate is assigned when the system is interested in input changes.
|
UIView |
inputView()
Presented when object becomes first responder.
|
void |
insertDictationResult(NSArray<? extends UIDictationPhrase> dictationResult)
This is an optional method for clients that wish to support dictation phrase alternatives.
|
java.lang.Object |
insertDictationResultPlaceholder()
The following three optional methods are for clients that wish to support a placeholder for
pending dictation results.
|
void |
insertText(java.lang.String text) |
void |
insertTextAlternativesStyle(java.lang.String text,
NSArray<java.lang.String> alternatives,
long style)
This is an optional method for clients that wish to support text phrase alternatives.
|
UITextPlaceholder |
insertTextPlaceholderWithSize(CGSize size)
Insert a placeholder
If `size.height` is <= 0, then the placeholder is inline and line height.
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
java.lang.Object |
interactionState()
Note that the interaction state of a UITextView does _not_ encode the
textual content of the field.
|
boolean |
isEditable() |
boolean |
isSecureTextEntry()
default is NO
|
boolean |
isSelectable()
toggle selectability, which controls the ability of the user to select content and interact with URLs & attachments.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
boolean |
isTextDragActive()
Returns whether this control currently has at least one active drag session.
|
boolean |
isTextDropActive()
Returns whether this control currently has at least one active drag session.
|
long |
keyboardAppearance()
default is UIKeyboardAppearanceDefault
|
long |
keyboardType()
default is UIKeyboardTypeDefault
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static org.moe.natj.objc.Class |
layerClass() |
NSLayoutManager |
layoutManager()
Convenience accessors (access through the text container)
|
NSDictionary<java.lang.String,?> |
linkTextAttributes()
Style for links
|
UITextRange |
markedTextRange()
Nil if no marked text.
|
NSDictionary<java.lang.String,?> |
markedTextStyle()
Describes how the marked text should be drawn.
|
static void |
modifyAnimationsWithRepeatCountAutoreversesAnimations(double count,
boolean autoreverses,
UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations) |
static UITextView |
new_objc() |
long |
offsetFromPositionToPosition(UITextPosition from,
UITextPosition toPosition) |
UITextInputPasswordRules |
passwordRules()
default is nil
|
UIPasteConfiguration |
pasteConfiguration() |
UITextPasteDelegate |
pasteDelegate() |
void |
pasteItemProviders(NSArray<? extends NSItemProvider> itemProviders) |
static void |
performSystemAnimationOnViewsOptionsAnimationsCompletion(long animation,
NSArray<? extends UIView> views,
long options,
UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations,
UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion) |
static void |
performWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation) |
UITextPosition |
positionFromPositionInDirectionOffset(UITextPosition position,
long direction,
long offset) |
UITextPosition |
positionFromPositionOffset(UITextPosition position,
long offset) |
UITextPosition |
positionWithinRangeAtCharacterOffset(UITextRange range,
long offset)
To be implemented if there is not a one-to-one correspondence between text positions within range and character offsets into the associated string.
|
UITextPosition |
positionWithinRangeFarthestInDirection(UITextRange range,
long direction)
Layout questions.
|
void |
removeDictationResultPlaceholderWillInsertResult(java.lang.Object placeholder,
boolean willInsertResult)
willInsertResult will be NO if the recognition failed.
|
void |
removeTextPlaceholder(UITextPlaceholder textPlaceholder)
Remove the placeholder.
|
void |
replaceRangeWithText(UITextRange range,
java.lang.String text) |
static boolean |
requiresConstraintBasedLayout() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
long |
returnKeyType()
default is UIReturnKeyDefault (See note under UIReturnKeyType enum)
|
void |
scrollRangeToVisible(NSRange range) |
NSRange |
selectedRange() |
UITextRange |
selectedTextRange()
Text may have a selection, either zero-length (a caret) or ranged.
|
long |
selectionAffinity()
Selection affinity determines whether, for example, the insertion point appears after the last
character on a line or before the first character on the following line in cases where text
wraps across line boundaries.
|
NSArray<? extends UITextSelectionRect> |
selectionRectsForRange(UITextRange range)
Returns an array of UITextSelectionRects
|
void |
setAdjustsFontForContentSizeCategory(boolean value)
Indicates whether the corresponding element should automatically update its font when the device’s UIContentSizeCategory is changed.
|
void |
setAllowsEditingTextAttributes(boolean value)
defaults to NO
|
static void |
setAnimationBeginsFromCurrentState(boolean fromCurrentState) |
static void |
setAnimationCurve(long curve) |
static void |
setAnimationDelay(double delay) |
static void |
setAnimationDelegate(java.lang.Object delegate) |
static void |
setAnimationDidStopSelector(org.moe.natj.objc.SEL selector) |
static void |
setAnimationDuration_static(double duration) |
static void |
setAnimationRepeatAutoreverses(boolean repeatAutoreverses) |
static void |
setAnimationRepeatCount_static(float repeatCount) |
static void |
setAnimationsEnabled(boolean enabled) |
static void |
setAnimationStartDate(NSDate startDate) |
static void |
setAnimationTransitionForViewCache(long transition,
UIView view,
boolean cache) |
static void |
setAnimationWillStartSelector(org.moe.natj.objc.SEL selector) |
void |
setAttributedMarkedTextSelectedRange(NSAttributedString markedText,
NSRange selectedRange)
set attributedString as markedText, selectedRange is a range within the markedText
|
void |
setAttributedText(NSAttributedString value) |
void |
setAutocapitalizationType(long value)
default is UITextAutocapitalizationTypeSentences
|
void |
setAutocorrectionType(long value)
default is UITextAutocorrectionTypeDefault
|
void |
setBaseWritingDirectionForRange(long writingDirection,
UITextRange range) |
void |
setClearsOnInsertion(boolean value)
defaults to NO.
|
void |
setDataDetectorTypes(long value) |
void |
setDelegate_unsafe(java.lang.Object value)
default nil.
|
void |
setDelegate(java.lang.Object value)
default nil.
|
void |
setEditable(boolean value) |
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)
|
void |
setFont(UIFont value) |
void |
setInputAccessoryView(UIView value) |
void |
setInputDelegate_unsafe(UITextInputDelegate value)
A system-provided input delegate is assigned when the system is interested in input changes.
|
void |
setInputDelegate(UITextInputDelegate value) |
void |
setInputView(UIView value)
Presented when object becomes first responder.
|
void |
setInteractionState(java.lang.Object value)
Note that the interaction state of a UITextView does _not_ encode the
textual content of the field.
|
void |
setKeyboardAppearance(long value)
default is UIKeyboardAppearanceDefault
|
void |
setKeyboardType(long value)
default is UIKeyboardTypeDefault
|
void |
setLinkTextAttributes(NSDictionary<java.lang.String,?> value)
Style for links
|
void |
setMarkedTextSelectedRange(java.lang.String markedText,
NSRange selectedRange)
selectedRange is a range within the markedText
|
void |
setMarkedTextStyle(NSDictionary<java.lang.String,?> value)
Describes how the marked text should be drawn.
|
void |
setPasswordRules(UITextInputPasswordRules value)
default is nil
|
void |
setPasteConfiguration(UIPasteConfiguration value) |
void |
setPasteDelegate_unsafe(UITextPasteDelegate value) |
void |
setPasteDelegate(UITextPasteDelegate value) |
void |
setReturnKeyType(long value)
default is UIReturnKeyDefault (See note under UIReturnKeyType enum)
|
void |
setSecureTextEntry(boolean value)
default is NO
|
void |
setSelectable(boolean value)
toggle selectability, which controls the ability of the user to select content and interact with URLs & attachments.
|
void |
setSelectedRange(NSRange value) |
void |
setSelectedTextRange(UITextRange value)
Text may have a selection, either zero-length (a caret) or ranged.
|
void |
setSelectionAffinity(long value)
Selection affinity determines whether, for example, the insertion point appears after the last
character on a line or before the first character on the following line in cases where text
wraps across line boundaries.
|
void |
setSmartDashesType(long value)
default is UITextSmartDashesTypeDefault;
|
void |
setSmartInsertDeleteType(long value)
default is UITextSmartInsertDeleteTypeDefault;
|
void |
setSmartQuotesType(long value)
default is UITextSmartQuotesTypeDefault;
|
void |
setSpellCheckingType(long value)
default is UITextSpellCheckingTypeDefault;
|
void |
setText(java.lang.String value) |
void |
setTextAlignment(long value)
default is NSLeftTextAlignment
|
void |
setTextColor(UIColor value) |
void |
setTextContainerInset(UIEdgeInsets value)
Inset the text container's layout area within the text view's content area
|
void |
setTextContentType(java.lang.String value)
default is nil
|
void |
setTextDragDelegate_unsafe(UITextDragDelegate value) |
void |
setTextDragDelegate(UITextDragDelegate value) |
void |
setTextDragOptions(long value) |
void |
setTextDropDelegate_unsafe(UITextDropDelegate value) |
void |
setTextDropDelegate(UITextDropDelegate value) |
void |
setTypingAttributes(NSDictionary<java.lang.String,?> value)
automatically resets when the selection changes
|
void |
setUsesStandardTextScaling(boolean value)
When turned on, this changes the rendering scale of the text to match the standard text scaling and preserves the original font point sizes when the contents of the text view are copied to the pasteboard.
|
static void |
setVersion_static(long aVersion) |
boolean |
shouldChangeTextInRangeReplacementText(UITextRange range,
java.lang.String text)
return NO to not change text
|
long |
smartDashesType()
default is UITextSmartDashesTypeDefault;
|
long |
smartInsertDeleteType()
default is UITextSmartInsertDeleteTypeDefault;
|
long |
smartQuotesType()
default is UITextSmartQuotesTypeDefault;
|
long |
spellCheckingType()
default is UITextSpellCheckingTypeDefault;
|
static org.moe.natj.objc.Class |
superclass_static() |
java.lang.String |
text() |
long |
textAlignment()
default is NSLeftTextAlignment
|
UIColor |
textColor() |
NSTextContainer |
textContainer()
Get the text container for the text view
|
UIEdgeInsets |
textContainerInset()
Inset the text container's layout area within the text view's content area
|
java.lang.String |
textContentType()
default is nil
|
UITextDragDelegate |
textDragDelegate() |
UIDragInteraction |
textDragInteraction()
The text drag interaction that UIKit installs on the text control.
|
long |
textDragOptions() |
UITextDropDelegate |
textDropDelegate() |
UIDropInteraction |
textDropInteraction()
The text drop interaction that UIKit installs on the text control.
|
UIView |
textInputView()
An affiliated view that provides a coordinate system for all geometric values in this protocol.
|
java.lang.String |
textInRange(UITextRange range)
Methods for manipulating text.
|
UITextRange |
textRangeFromPositionToPosition(UITextPosition fromPosition,
UITextPosition toPosition)
Methods for creating ranges and positions.
|
NSTextStorage |
textStorage() |
NSDictionary<java.lang.String,?> |
textStylingAtPositionInDirection(UITextPosition position,
long direction)
Text styling information can affect, for example, the appearance of a correction rect.
|
UITextInputTokenizer |
tokenizer()
A tokenizer must be provided to inform the text input system about text units of varying granularity.
|
static void |
transitionFromViewToViewDurationOptionsCompletion(UIView fromView,
UIView toView,
double duration,
long options,
UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion) |
static void |
transitionWithViewDurationOptionsAnimationsCompletion(UIView view,
double duration,
long options,
UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations,
UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion) |
NSDictionary<java.lang.String,?> |
typingAttributes()
automatically resets when the selection changes
|
void |
unmarkText() |
void |
updateFloatingCursorAtPoint(CGPoint point) |
static long |
userInterfaceLayoutDirectionForSemanticContentAttribute(long attribute) |
static long |
userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute,
long layoutDirection) |
boolean |
usesStandardTextScaling()
When turned on, this changes the rendering scale of the text to match the standard text scaling and preserves the original font point sizes when the contents of the text view are copied to the pasteboard.
|
static long |
version_static() |
adjustedContentInset, adjustedContentInsetDidChange, alwaysBounceHorizontal, alwaysBounceVertical, automaticallyAdjustsScrollIndicatorInsets, bounces, bouncesZoom, canCancelContentTouches, contentInset, contentInsetAdjustmentBehavior, contentLayoutGuide, contentOffset, contentSize, coordinateSpace, decelerationRate, delaysContentTouches, directionalPressGestureRecognizer, encodeWithCoder, flashScrollIndicators, focusItemsInRect, frameLayoutGuide, horizontalScrollIndicatorInsets, indexDisplayMode, indicatorStyle, isDecelerating, isDirectionalLockEnabled, isDragging, isPagingEnabled, isScrollEnabled, isTracking, isZoomBouncing, isZooming, keyboardDismissMode, maximumZoomScale, minimumZoomScale, panGestureRecognizer, pinchGestureRecognizer, refreshControl, scrollIndicatorInsets, scrollRectToVisibleAnimated, scrollsToTop, setAlwaysBounceHorizontal, setAlwaysBounceVertical, setAutomaticallyAdjustsScrollIndicatorInsets, setBounces, setBouncesZoom, setCanCancelContentTouches, setContentInset, setContentInsetAdjustmentBehavior, setContentOffset, setContentOffsetAnimated, setContentSize, setDecelerationRate, setDelaysContentTouches, setDirectionalLockEnabled, setHorizontalScrollIndicatorInsets, setIndexDisplayMode, setIndicatorStyle, setKeyboardDismissMode, setMaximumZoomScale, setMinimumZoomScale, setPagingEnabled, setRefreshControl, setScrollEnabled, setScrollIndicatorInsets, setScrollsToTop, setShowsHorizontalScrollIndicator, setShowsVerticalScrollIndicator, setVerticalScrollIndicatorInsets, setZoomScale, setZoomScaleAnimated, showsHorizontalScrollIndicator, showsVerticalScrollIndicator, touchesShouldBeginWithEventInContentView, touchesShouldCancelInContentView, verticalScrollIndicatorInsets, visibleSize, zoomScale, zoomToRectAnimatedaccessibilityIdentifier, accessibilityIgnoresInvertColors, actionForLayerForKey, addConstraint, addConstraints, addGestureRecognizer, addInteraction, addLayoutGuide, addMotionEffect, addSubview, alignmentRectForFrame, alignmentRectInsets, alpha, appliedContentSizeCategoryLimitsDescription, autoresizesSubviews, autoresizingMask, backgroundColor, bottomAnchor, bounds, bringSubviewToFront, canBecomeFocused, center, centerXAnchor, centerYAnchor, clearsContextBeforeDrawing, clipsToBounds, collisionBoundingPath, collisionBoundsType, constraints, constraintsAffectingLayoutForAxis, contentCompressionResistancePriorityForAxis, contentHuggingPriorityForAxis, contentMode, contentScaleFactor, contentStretch, convertPointFromCoordinateSpace, convertPointFromView, convertPointToCoordinateSpace, convertPointToView, convertRectFromCoordinateSpace, convertRectFromView, convertRectToCoordinateSpace, convertRectToView, decodeRestorableStateWithCoder, didAddSubview, didHintFocusMovement, didMoveToSuperview, didMoveToWindow, didUpdateFocusInContextWithAnimationCoordinator, directionalLayoutMargins, displayLayer, drawLayerInContext, drawRect, drawRectForViewPrintFormatter, drawViewHierarchyInRectAfterScreenUpdates, effectiveUserInterfaceLayoutDirection, encodeRestorableStateWithCoder, endEditing, exchangeSubviewAtIndexWithSubviewAtIndex, exerciseAmbiguityInLayout, firstBaselineAnchor, focusEffect, focusGroupIdentifier, focusGroupPriority, focusItemContainer, frame, frameForAlignmentRect, gestureRecognizers, gestureRecognizerShouldBegin, hasAmbiguousLayout, heightAnchor, hitTestWithEvent, insertSubviewAboveSubview, insertSubviewAtIndex, insertSubviewBelowSubview, insetsLayoutMarginsFromSafeArea, interactions, intrinsicContentSize, invalidateIntrinsicContentSize, isDescendantOfView, isExclusiveTouch, isFocused, isHidden, isMultipleTouchEnabled, isOpaque, isTransparentFocusItem, isUserInteractionEnabled, keyboardLayoutGuide, largeContentImage, largeContentImageInsets, largeContentTitle, lastBaselineAnchor, layer, layerWillDraw, layoutGuides, layoutIfNeeded, layoutMargins, layoutMarginsDidChange, layoutMarginsGuide, layoutSublayersOfLayer, layoutSubviews, leadingAnchor, leftAnchor, maskView, maximumContentSizeCategory, minimumContentSizeCategory, motionEffects, needsUpdateConstraints, overrideUserInterfaceStyle, parentFocusEnvironment, pointInsideWithEvent, preferredFocusedView, preferredFocusEnvironments, preservesSuperviewLayoutMargins, readableContentGuide, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, resizableSnapshotViewFromRectAfterScreenUpdatesWithCapInsets, restorationIdentifier, rightAnchor, safeAreaInsets, safeAreaInsetsDidChange, safeAreaLayoutGuide, scalesLargeContentImage, semanticContentAttribute, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriorityForAxis, setContentHuggingPriorityForAxis, setContentMode, setContentScaleFactor, setContentStretch, setDirectionalLayoutMargins, setExclusiveTouch, setFocusEffect, setFocusGroupIdentifier, setFocusGroupPriority, setFrame, setGestureRecognizers, setHidden, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLargeContentImage, setLargeContentImageInsets, setLargeContentTitle, setLayoutMargins, setMaskView, setMaximumContentSizeCategory, setMinimumContentSizeCategory, setMotionEffects, setMultipleTouchEnabled, setNeedsDisplay, setNeedsDisplayInRect, setNeedsFocusUpdate, setNeedsLayout, setNeedsUpdateConstraints, setOpaque, setOverrideUserInterfaceStyle, setPreservesSuperviewLayoutMargins, setRestorationIdentifier, setScalesLargeContentImage, setSemanticContentAttribute, setShowsLargeContentViewer, setTag, setTintAdjustmentMode, setTintColor, setTransform, setTransform3D, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocusInContext, showsLargeContentViewer, sizeThatFits, sizeToFit, snapshotViewAfterScreenUpdates, subviews, superview, systemLayoutSizeFittingSize, systemLayoutSizeFittingSizeWithHorizontalFittingPriorityVerticalFittingPriority, tag, tintAdjustmentMode, tintColor, tintColorDidChange, topAnchor, trailingAnchor, traitCollection, traitCollectionDidChange, transform, transform3D, translatesAutoresizingMaskIntoConstraints, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, viewForBaselineLayout, viewForFirstBaselineLayout, viewForLastBaselineLayout, viewPrintFormatter, viewWithTag, widthAnchor, willMoveToSuperview, willMoveToWindow, willRemoveSubview, windowactivityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryViewController, inputAssistantItem, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommandaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static void addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime,
double frameDuration,
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)
public static UITextView alloc()
public static UITextView allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static void animateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration,
double delay,
long options,
UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations,
UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)
public static void animateWithDurationAnimations(double duration,
UIView.Block_animateWithDurationAnimations animations)
public static void animateWithDurationAnimationsCompletion(double duration,
UIView.Block_animateWithDurationAnimationsCompletion_1 animations,
UIView.Block_animateWithDurationAnimationsCompletion_2 completion)
public static void animateWithDurationDelayOptionsAnimationsCompletion(double duration,
double delay,
long options,
UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations,
UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)
public static void animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration,
double delay,
double dampingRatio,
double velocity,
long options,
UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations,
UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)
public static UITextView appearance()
public static UITextView appearanceForTraitCollection(UITraitCollection trait)
@Deprecated public static UITextView appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
public static UITextView appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
@Deprecated public static UITextView appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
public static UITextView appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
public static boolean areAnimationsEnabled()
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void beginAnimationsContext(java.lang.String animationID,
org.moe.natj.general.ptr.VoidPtr context)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static void clearTextInputContextIdentifier(java.lang.String identifier)
public static void commitAnimations()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static double inheritedAnimationDuration()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static org.moe.natj.objc.Class layerClass()
public static UITextView new_objc()
public static void performSystemAnimationOnViewsOptionsAnimationsCompletion(long animation,
NSArray<? extends UIView> views,
long options,
UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations,
UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)
public static void performWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation)
public static boolean requiresConstraintBasedLayout()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setAnimationBeginsFromCurrentState(boolean fromCurrentState)
public static void setAnimationCurve(long curve)
public static void setAnimationDelay(double delay)
public static void setAnimationDelegate(java.lang.Object delegate)
public static void setAnimationDidStopSelector(org.moe.natj.objc.SEL selector)
public static void setAnimationDuration_static(double duration)
public static void setAnimationRepeatAutoreverses(boolean repeatAutoreverses)
public static void setAnimationRepeatCount_static(float repeatCount)
public static void setAnimationStartDate(NSDate startDate)
public static void setAnimationTransitionForViewCache(long transition,
UIView view,
boolean cache)
public static void setAnimationWillStartSelector(org.moe.natj.objc.SEL selector)
public static void setAnimationsEnabled(boolean enabled)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static void transitionFromViewToViewDurationOptionsCompletion(UIView fromView, UIView toView, double duration, long options, UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)
public static void transitionWithViewDurationOptionsAnimationsCompletion(UIView view, double duration, long options, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)
public static long userInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)
public static long userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute,
long layoutDirection)
public static long version_static()
public boolean adjustsFontForContentSizeCategory()
UIContentSizeCategoryAdjustingadjustsFontForContentSizeCategory in interface UIContentSizeCategoryAdjustingpublic boolean allowsEditingTextAttributes()
public UITextView _appearance()
UIAppearanceNote for iOS7: On iOS7 the tintColor property has moved to UIView, and now has special inherited behavior described in UIView.h. This inherited behavior can conflict with the appearance proxy, and therefore tintColor is now disallowed with the appearance proxy.
_appearance in interface UIAppearance_appearance in class UIScrollViewpublic UITextView _appearanceForTraitCollection(UITraitCollection trait)
_appearanceForTraitCollection in interface UIAppearance_appearanceForTraitCollection in class UIScrollView@Deprecated public UITextView _appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
_appearanceForTraitCollectionWhenContainedIn in interface UIAppearance_appearanceForTraitCollectionWhenContainedIn in class UIScrollViewpublic UITextView _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses in interface UIAppearance_appearanceForTraitCollectionWhenContainedInInstancesOfClasses in class UIScrollView@Deprecated public UITextView _appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
UIAppearance[[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UISplitViewController class]]] setBarTintColor:myColor]; [[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UITabBarController class], [UISplitViewController class]]] setBarTintColor:myTabbedNavBarColor];
In any given view hierarchy the outermost appearance proxy wins. Specificity (depth of the chain) is the tie-breaker.
In other words, the containment statement is treated as a partial ordering. Given a concrete ordering (actual subview hierarchy), we select the partial ordering that is the first unique match when reading the actual hierarchy from the window down.
_appearanceWhenContainedIn in interface UIAppearance_appearanceWhenContainedIn in class UIScrollViewpublic UITextView _appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
_appearanceWhenContainedInInstancesOfClasses in interface UIAppearance_appearanceWhenContainedInInstancesOfClasses in class UIScrollViewpublic NSAttributedString attributedText()
public long autocapitalizationType()
UITextInputTraitsautocapitalizationType in interface UITextInputTraitspublic long autocorrectionType()
UITextInputTraitsautocorrectionType in interface UITextInputTraitspublic long baseWritingDirectionForPositionInDirection(UITextPosition position, long direction)
UITextInputbaseWritingDirectionForPositionInDirection in interface UITextInputpublic void beginFloatingCursorAtPoint(CGPoint point)
UITextInputbeginFloatingCursorAtPoint in interface UITextInputpublic UITextPosition beginningOfDocument()
UITextInputbeginningOfDocument in interface UITextInputpublic CGRect caretRectForPosition(UITextPosition position)
caretRectForPosition in interface UITextInputpublic long characterOffsetOfPositionWithinRange(UITextPosition position, UITextRange range)
characterOffsetOfPositionWithinRange in interface UITextInputpublic UITextRange characterRangeAtPoint(CGPoint point)
characterRangeAtPoint in interface UITextInputpublic UITextRange characterRangeByExtendingPositionInDirection(UITextPosition position, long direction)
characterRangeByExtendingPositionInDirection in interface UITextInputpublic boolean clearsOnInsertion()
public UITextPosition closestPositionToPoint(CGPoint point)
UITextInputclosestPositionToPoint in interface UITextInputpublic UITextPosition closestPositionToPointWithinRange(CGPoint point, UITextRange range)
closestPositionToPointWithinRange in interface UITextInputpublic long comparePositionToPosition(UITextPosition position, UITextPosition other)
UITextInputcomparePositionToPosition in interface UITextInputpublic long dataDetectorTypes()
public java.lang.Object delegate()
UIScrollViewdelegate in class UIScrollViewpublic void deleteBackward()
deleteBackward in interface UIKeyInputpublic void dictationRecognitionFailed()
dictationRecognitionFailed in interface UITextInputpublic void dictationRecordingDidEnd()
UITextInputdictationRecordingDidEnd in interface UITextInputpublic boolean enablesReturnKeyAutomatically()
UITextInputTraitsenablesReturnKeyAutomatically in interface UITextInputTraitspublic void endFloatingCursor()
endFloatingCursor in interface UITextInputpublic UITextPosition endOfDocument()
endOfDocument in interface UITextInputpublic CGRect firstRectForRange(UITextRange range)
UITextInputfirstRectForRange in interface UITextInputpublic UIFont font()
public CGRect frameForDictationResultPlaceholder(java.lang.Object placeholder)
frameForDictationResultPlaceholder in interface UITextInputpublic boolean hasText()
hasText in interface UIKeyInputpublic UITextView init()
init in class UIScrollViewpublic UITextView initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class UIScrollViewpublic UITextView initWithFrame(CGRect frame)
initWithFrame in class UIScrollViewpublic UITextView initWithFrameTextContainer(CGRect frame, NSTextContainer textContainer)
public UIView inputAccessoryView()
inputAccessoryView in class UIResponderpublic UITextInputDelegate inputDelegate()
UITextInputinputDelegate in interface UITextInputpublic UIView inputView()
inputView in class UIResponderpublic void insertDictationResult(NSArray<? extends UIDictationPhrase> dictationResult)
UITextInputinsertDictationResult in interface UITextInputpublic java.lang.Object insertDictationResultPlaceholder()
UITextInputinsertDictationResultPlaceholder in interface UITextInputpublic void insertText(java.lang.String text)
insertText in interface UIKeyInputpublic boolean isEditable()
public void setEditable(boolean value)
public boolean isSecureTextEntry()
UITextInputTraitsisSecureTextEntry in interface UITextInputTraitspublic void setSecureTextEntry(boolean value)
UITextInputTraitssetSecureTextEntry in interface UITextInputTraitspublic boolean isSelectable()
public void setSelectable(boolean value)
public long keyboardAppearance()
UITextInputTraitskeyboardAppearance in interface UITextInputTraitspublic long keyboardType()
UITextInputTraitskeyboardType in interface UITextInputTraitspublic NSLayoutManager layoutManager()
public NSDictionary<java.lang.String,?> linkTextAttributes()
public UITextRange markedTextRange()
UITextInputmarkedTextRange in interface UITextInputpublic NSDictionary<java.lang.String,?> markedTextStyle()
UITextInputmarkedTextStyle in interface UITextInputpublic long offsetFromPositionToPosition(UITextPosition from, UITextPosition toPosition)
offsetFromPositionToPosition in interface UITextInputpublic UITextPosition positionFromPositionInDirectionOffset(UITextPosition position, long direction, long offset)
positionFromPositionInDirectionOffset in interface UITextInputpublic UITextPosition positionFromPositionOffset(UITextPosition position, long offset)
positionFromPositionOffset in interface UITextInputpublic UITextPosition positionWithinRangeAtCharacterOffset(UITextRange range, long offset)
UITextInputpositionWithinRangeAtCharacterOffset in interface UITextInputpublic UITextPosition positionWithinRangeFarthestInDirection(UITextRange range, long direction)
UITextInputpositionWithinRangeFarthestInDirection in interface UITextInputpublic void removeDictationResultPlaceholderWillInsertResult(java.lang.Object placeholder,
boolean willInsertResult)
UITextInputremoveDictationResultPlaceholderWillInsertResult in interface UITextInputpublic void replaceRangeWithText(UITextRange range, java.lang.String text)
replaceRangeWithText in interface UITextInputpublic long returnKeyType()
UITextInputTraitsreturnKeyType in interface UITextInputTraitspublic void scrollRangeToVisible(NSRange range)
public NSRange selectedRange()
public UITextRange selectedTextRange()
UITextInputselectedTextRange in interface UITextInputpublic long selectionAffinity()
UITextInputselectionAffinity in interface UITextInputpublic NSArray<? extends UITextSelectionRect> selectionRectsForRange(UITextRange range)
UITextInputselectionRectsForRange in interface UITextInputpublic void setAdjustsFontForContentSizeCategory(boolean value)
UIContentSizeCategoryAdjustingsetAdjustsFontForContentSizeCategory in interface UIContentSizeCategoryAdjustingpublic void setAllowsEditingTextAttributes(boolean value)
public void setAttributedText(NSAttributedString value)
public void setAutocapitalizationType(long value)
UITextInputTraitssetAutocapitalizationType in interface UITextInputTraitspublic void setAutocorrectionType(long value)
UITextInputTraitssetAutocorrectionType in interface UITextInputTraitspublic void setBaseWritingDirectionForRange(long writingDirection,
UITextRange range)
setBaseWritingDirectionForRange in interface UITextInputpublic void setClearsOnInsertion(boolean value)
public void setDataDetectorTypes(long value)
public void setDelegate_unsafe(java.lang.Object value)
UIScrollViewsetDelegate_unsafe in class UIScrollViewpublic void setDelegate(java.lang.Object value)
UIScrollViewsetDelegate in class UIScrollViewpublic void setEnablesReturnKeyAutomatically(boolean value)
UITextInputTraitssetEnablesReturnKeyAutomatically in interface UITextInputTraitspublic void setFont(UIFont value)
public void setInputAccessoryView(UIView value)
public void setInputDelegate_unsafe(UITextInputDelegate value)
UITextInputsetInputDelegate_unsafe in interface UITextInputpublic void setInputDelegate(UITextInputDelegate value)
public void setInputView(UIView value)
public void setKeyboardAppearance(long value)
UITextInputTraitssetKeyboardAppearance in interface UITextInputTraitspublic void setKeyboardType(long value)
UITextInputTraitssetKeyboardType in interface UITextInputTraitspublic void setLinkTextAttributes(NSDictionary<java.lang.String,?> value)
public void setMarkedTextSelectedRange(java.lang.String markedText,
NSRange selectedRange)
UITextInputsetMarkedTextSelectedRange in interface UITextInputpublic void setMarkedTextStyle(NSDictionary<java.lang.String,?> value)
UITextInputsetMarkedTextStyle in interface UITextInputpublic void setReturnKeyType(long value)
UITextInputTraitssetReturnKeyType in interface UITextInputTraitspublic void setSelectedRange(NSRange value)
public void setSelectedTextRange(UITextRange value)
UITextInputsetSelectedTextRange in interface UITextInputpublic void setSelectionAffinity(long value)
UITextInputsetSelectionAffinity in interface UITextInputpublic void setSpellCheckingType(long value)
UITextInputTraitssetSpellCheckingType in interface UITextInputTraitspublic void setText(java.lang.String value)
public void setTextAlignment(long value)
public void setTextColor(UIColor value)
public void setTextContainerInset(UIEdgeInsets value)
public void setTextContentType(java.lang.String value)
UITextInputTraitssetTextContentType in interface UITextInputTraitspublic void setTypingAttributes(NSDictionary<java.lang.String,?> value)
public boolean shouldChangeTextInRangeReplacementText(UITextRange range, java.lang.String text)
UITextInputshouldChangeTextInRangeReplacementText in interface UITextInputpublic long spellCheckingType()
UITextInputTraitsspellCheckingType in interface UITextInputTraitspublic java.lang.String text()
public long textAlignment()
public UIColor textColor()
public NSTextContainer textContainer()
public UIEdgeInsets textContainerInset()
public java.lang.String textContentType()
UITextInputTraitstextContentType in interface UITextInputTraitspublic java.lang.String textInRange(UITextRange range)
UITextInputtextInRange in interface UITextInputpublic UIView textInputView()
UITextInputtextInputView in interface UITextInputpublic UITextRange textRangeFromPositionToPosition(UITextPosition fromPosition, UITextPosition toPosition)
UITextInputtextRangeFromPositionToPosition in interface UITextInputpublic NSTextStorage textStorage()
public NSDictionary<java.lang.String,?> textStylingAtPositionInDirection(UITextPosition position, long direction)
UITextInputtextStylingAtPositionInDirection in interface UITextInputpublic UITextInputTokenizer tokenizer()
UITextInputtokenizer in interface UITextInputpublic NSDictionary<java.lang.String,?> typingAttributes()
public void unmarkText()
unmarkText in interface UITextInputpublic void updateFloatingCursorAtPoint(CGPoint point)
updateFloatingCursorAtPoint in interface UITextInputpublic boolean canPasteItemProviders(NSArray<? extends NSItemProvider> itemProviders)
canPasteItemProviders in interface UIPasteConfigurationSupportingcanPasteItemProviders in class UIResponderpublic boolean isTextDragActive()
UITextDraggableisTextDragActive in interface UITextDraggablepublic boolean isTextDropActive()
UITextDroppableisTextDropActive in interface UITextDroppablepublic UIPasteConfiguration pasteConfiguration()
pasteConfiguration in interface UIPasteConfigurationSupportingpasteConfiguration in class UIResponderpublic UITextPasteDelegate pasteDelegate()
pasteDelegate in interface UITextPasteConfigurationSupportingpublic void pasteItemProviders(NSArray<? extends NSItemProvider> itemProviders)
pasteItemProviders in interface UIPasteConfigurationSupportingpasteItemProviders in class UIResponderpublic void setPasteConfiguration(UIPasteConfiguration value)
setPasteConfiguration in interface UIPasteConfigurationSupportingsetPasteConfiguration in class UIResponderpublic void setPasteDelegate_unsafe(UITextPasteDelegate value)
setPasteDelegate_unsafe in interface UITextPasteConfigurationSupportingpublic void setPasteDelegate(UITextPasteDelegate value)
public void setSmartDashesType(long value)
UITextInputTraitssetSmartDashesType in interface UITextInputTraitspublic void setSmartInsertDeleteType(long value)
UITextInputTraitssetSmartInsertDeleteType in interface UITextInputTraitspublic void setSmartQuotesType(long value)
UITextInputTraitssetSmartQuotesType in interface UITextInputTraitspublic void setTextDragDelegate_unsafe(UITextDragDelegate value)
setTextDragDelegate_unsafe in interface UITextDraggablepublic void setTextDragDelegate(UITextDragDelegate value)
public void setTextDragOptions(long value)
setTextDragOptions in interface UITextDraggablepublic void setTextDropDelegate_unsafe(UITextDropDelegate value)
setTextDropDelegate_unsafe in interface UITextDroppablepublic void setTextDropDelegate(UITextDropDelegate value)
public long smartDashesType()
UITextInputTraitssmartDashesType in interface UITextInputTraitspublic long smartInsertDeleteType()
UITextInputTraitssmartInsertDeleteType in interface UITextInputTraitspublic long smartQuotesType()
UITextInputTraitssmartQuotesType in interface UITextInputTraitspublic UITextDragDelegate textDragDelegate()
textDragDelegate in interface UITextDraggablepublic UIDragInteraction textDragInteraction()
UITextDraggabletextDragInteraction in interface UITextDraggablepublic long textDragOptions()
textDragOptions in interface UITextDraggablepublic UITextDropDelegate textDropDelegate()
textDropDelegate in interface UITextDroppablepublic UIDropInteraction textDropInteraction()
UITextDroppabletextDropInteraction in interface UITextDroppablepublic void insertTextAlternativesStyle(java.lang.String text,
NSArray<java.lang.String> alternatives,
long style)
UITextInputinsertTextAlternativesStyle in interface UITextInputpublic UITextPlaceholder insertTextPlaceholderWithSize(CGSize size)
UITextInputinsertTextPlaceholderWithSize in interface UITextInputpublic static void modifyAnimationsWithRepeatCountAutoreversesAnimations(double count,
boolean autoreverses,
UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)
public UITextInputPasswordRules passwordRules()
UITextInputTraitspasswordRules in interface UITextInputTraitspublic void removeTextPlaceholder(UITextPlaceholder textPlaceholder)
UITextInputremoveTextPlaceholder in interface UITextInputpublic void setAttributedMarkedTextSelectedRange(NSAttributedString markedText, NSRange selectedRange)
UITextInputsetAttributedMarkedTextSelectedRange in interface UITextInputpublic void setPasswordRules(UITextInputPasswordRules value)
UITextInputTraitssetPasswordRules in interface UITextInputTraitspublic void setUsesStandardTextScaling(boolean value)
public boolean usesStandardTextScaling()
public java.lang.Object interactionState()
public void setInteractionState(java.lang.Object value)