public class UITextField extends UIControl implements UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UITextDraggable, UITextDroppable, UITextPasteConfigurationSupporting
UIControl.Block_enumerateEventHandlersUIView.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 |
UITextField(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
UITextField |
_appearance()
To customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class.
|
UITextField |
_appearanceForTraitCollection(UITraitCollection trait) |
UITextField |
_appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait,
UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
UITextField |
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait,
NSArray<?> containerTypes) |
UITextField |
_appearanceWhenContainedIn(UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
UITextField |
_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.
|
boolean |
adjustsFontSizeToFitWidth()
default is NO.
|
static UITextField |
alloc() |
static UITextField |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
boolean |
allowsEditingTextAttributes()
default is 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 UITextField |
appearance() |
static UITextField |
appearanceForTraitCollection(UITraitCollection trait) |
static UITextField |
appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait,
UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
static UITextField |
appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait,
NSArray<?> containerTypes) |
static UITextField |
appearanceWhenContainedIn(UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
static UITextField |
appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes) |
static boolean |
areAnimationsEnabled() |
NSAttributedString |
attributedPlaceholder()
default is nil
|
NSAttributedString |
attributedText()
default is nil
|
long |
autocapitalizationType()
default is UITextAutocapitalizationTypeSentences
|
long |
autocorrectionType()
default is UITextAutocorrectionTypeDefault
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
UIImage |
background()
default is nil.
|
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.
|
CGRect |
borderRectForBounds(CGRect bounds)
drawing and positioning overrides
|
long |
borderStyle()
default is UITextBorderStyleNone.
|
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() |
long |
clearButtonMode()
sets when the clear button shows up.
|
CGRect |
clearButtonRectForBounds(CGRect bounds) |
boolean |
clearsOnBeginEditing()
default is NO which moves cursor to location clicked.
|
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
|
static java.lang.String |
debugDescription_static() |
NSDictionary<java.lang.String,?> |
defaultTextAttributes()
applies attributes to the full range of text.
|
UITextFieldDelegate |
delegate()
default is 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.
|
UIImage |
disabledBackground()
default is nil.
|
void |
drawPlaceholderInRect(CGRect rect) |
void |
drawTextInRect(CGRect rect) |
CGRect |
editingRectForBounds(CGRect bounds) |
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 |
encodeWithCoder(NSCoder coder) |
void |
endFloatingCursor() |
UITextPosition |
endOfDocument() |
CGRect |
firstRectForRange(UITextRange range)
Geometry used to provide, for example, a correction rect.
|
UIFont |
font()
default is nil.
|
CGRect |
frameForDictationResultPlaceholder(java.lang.Object placeholder) |
static long |
hash_static() |
boolean |
hasText() |
static double |
inheritedAnimationDuration() |
UITextField |
init() |
UITextField |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
UITextField |
initWithFrame(CGRect frame) |
UITextField |
initWithFramePrimaryAction(CGRect frame,
UIAction primaryAction)
Initializes the control and adds primaryAction for the UIControlEventPrimaryActionTriggered control event.
|
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 UITextField does _not_ encode the
textual content of the field.
|
boolean |
isEditing() |
boolean |
isSecureTextEntry()
default is NO
|
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() |
UIView |
leftView()
e.g.
|
long |
leftViewMode()
sets when the left view shows up.
|
CGRect |
leftViewRectForBounds(CGRect bounds) |
UITextRange |
markedTextRange()
Nil if no marked text.
|
NSDictionary<java.lang.String,?> |
markedTextStyle()
Describes how the marked text should be drawn.
|
double |
minimumFontSize()
default is 0.0.
|
static void |
modifyAnimationsWithRepeatCountAutoreversesAnimations(double count,
boolean autoreverses,
UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations) |
static UITextField |
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) |
java.lang.String |
placeholder()
default is nil.
|
CGRect |
placeholderRectForBounds(CGRect bounds) |
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)
|
UIView |
rightView()
e.g.
|
long |
rightViewMode()
sets when the right view shows up.
|
CGRect |
rightViewRectForBounds(CGRect bounds) |
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 |
setAdjustsFontSizeToFitWidth(boolean value)
default is NO.
|
void |
setAllowsEditingTextAttributes(boolean value)
default is 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 |
setAttributedPlaceholder(NSAttributedString value)
default is nil
|
void |
setAttributedText(NSAttributedString value)
default is nil
|
void |
setAutocapitalizationType(long value)
default is UITextAutocapitalizationTypeSentences
|
void |
setAutocorrectionType(long value)
default is UITextAutocorrectionTypeDefault
|
void |
setBackground(UIImage value)
default is nil.
|
void |
setBaseWritingDirectionForRange(long writingDirection,
UITextRange range) |
void |
setBorderStyle(long value)
default is UITextBorderStyleNone.
|
void |
setClearButtonMode(long value)
sets when the clear button shows up.
|
void |
setClearsOnBeginEditing(boolean value)
default is NO which moves cursor to location clicked.
|
void |
setClearsOnInsertion(boolean value)
defaults to NO.
|
void |
setDefaultTextAttributes(NSDictionary<java.lang.String,?> value)
applies attributes to the full range of text.
|
void |
setDelegate_unsafe(UITextFieldDelegate value)
default is nil.
|
void |
setDelegate(UITextFieldDelegate value)
default is nil.
|
void |
setDisabledBackground(UIImage value)
default is nil.
|
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)
default is nil.
|
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 UITextField does _not_ encode the
textual content of the field.
|
void |
setKeyboardAppearance(long value)
default is UIKeyboardAppearanceDefault
|
void |
setKeyboardType(long value)
default is UIKeyboardTypeDefault
|
void |
setLeftView(UIView value)
e.g.
|
void |
setLeftViewMode(long value)
sets when the left view shows up.
|
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 |
setMinimumFontSize(double value)
default is 0.0.
|
void |
setPasswordRules(UITextInputPasswordRules value)
default is nil
|
void |
setPasteConfiguration(UIPasteConfiguration value) |
void |
setPasteDelegate_unsafe(UITextPasteDelegate value) |
void |
setPasteDelegate(UITextPasteDelegate value) |
void |
setPlaceholder(java.lang.String value)
default is nil.
|
void |
setReturnKeyType(long value)
default is UIReturnKeyDefault (See note under UIReturnKeyType enum)
|
void |
setRightView(UIView value)
e.g.
|
void |
setRightViewMode(long value)
sets when the right view shows up.
|
void |
setSecureTextEntry(boolean value)
default is NO
|
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)
default is nil
|
void |
setTextAlignment(long value)
default is NSLeftTextAlignment
|
void |
setTextColor(UIColor value)
default is nil.
|
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
|
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()
default is nil
|
long |
textAlignment()
default is NSLeftTextAlignment
|
UIColor |
textColor()
default is nil.
|
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.
|
CGRect |
textRectForBounds(CGRect bounds) |
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) |
static long |
version_static() |
actionsForTargetForControlEvent, addActionForControlEvents, addTargetActionForControlEvents, addTargetActionForControlEvents, allControlEvents, allTargets, beginTrackingWithTouchWithEvent, cancelTrackingWithEvent, contentHorizontalAlignment, contentVerticalAlignment, contextMenuInteraction, contextMenuInteractionConfigurationForMenuAtLocation, contextMenuInteractionPreviewForDismissingMenuWithConfiguration, contextMenuInteractionPreviewForHighlightingMenuWithConfiguration, contextMenuInteractionWillDisplayMenuForConfigurationAnimator, contextMenuInteractionWillEndForConfigurationAnimator, contextMenuInteractionWillPerformPreviewActionForMenuWithConfigurationAnimator, continueTrackingWithTouchWithEvent, effectiveContentHorizontalAlignment, endTrackingWithTouchWithEvent, enumerateEventHandlers, isContextMenuInteractionEnabled, isEnabled, isHighlighted, isSelected, isTouchInside, isTracking, menuAttachmentPointForConfiguration, removeActionForControlEvents, removeActionForIdentifierForControlEvents, removeTargetActionForControlEvents, removeTargetActionForControlEvents, sendAction, sendActionsForControlEvents, sendActionToForEvent, setContentHorizontalAlignment, setContentVerticalAlignment, setContextMenuInteractionEnabled, setEnabled, setHighlighted, setSelected, setShowsMenuAsPrimaryAction, setToolTip, showsMenuAsPrimaryAction, state, toolTip, toolTipInteractionaccessibilityIdentifier, 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, coordinateSpace, decodeRestorableStateWithCoder, didAddSubview, didHintFocusMovement, didMoveToSuperview, didMoveToWindow, didUpdateFocusInContextWithAnimationCoordinator, directionalLayoutMargins, displayLayer, drawLayerInContext, drawRect, drawRectForViewPrintFormatter, drawViewHierarchyInRectAfterScreenUpdates, effectiveUserInterfaceLayoutDirection, encodeRestorableStateWithCoder, endEditing, exchangeSubviewAtIndexWithSubviewAtIndex, exerciseAmbiguityInLayout, firstBaselineAnchor, focusEffect, focusGroupIdentifier, focusGroupPriority, focusItemContainer, focusItemsInRect, 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 UITextField alloc()
public static UITextField 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 UITextField appearance()
public static UITextField appearanceForTraitCollection(UITraitCollection trait)
@Deprecated public static UITextField appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
public static UITextField appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
@Deprecated public static UITextField appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
public static UITextField 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 UITextField 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 adjustsFontSizeToFitWidth()
public boolean allowsEditingTextAttributes()
public UITextField _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 UIControlpublic UITextField _appearanceForTraitCollection(UITraitCollection trait)
_appearanceForTraitCollection in interface UIAppearance_appearanceForTraitCollection in class UIControl@Deprecated public UITextField _appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
_appearanceForTraitCollectionWhenContainedIn in interface UIAppearance_appearanceForTraitCollectionWhenContainedIn in class UIControlpublic UITextField _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses in interface UIAppearance_appearanceForTraitCollectionWhenContainedInInstancesOfClasses in class UIControl@Deprecated public UITextField _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 UIControlpublic UITextField _appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
_appearanceWhenContainedInInstancesOfClasses in interface UIAppearance_appearanceWhenContainedInInstancesOfClasses in class UIControlpublic NSAttributedString attributedPlaceholder()
public NSAttributedString attributedText()
public long autocapitalizationType()
UITextInputTraitsautocapitalizationType in interface UITextInputTraitspublic long autocorrectionType()
UITextInputTraitsautocorrectionType in interface UITextInputTraitspublic UIImage background()
public 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 borderRectForBounds(CGRect bounds)
public long borderStyle()
public 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 long clearButtonMode()
public boolean clearsOnBeginEditing()
public 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 NSDictionary<java.lang.String,?> defaultTextAttributes()
public UITextFieldDelegate delegate()
public void deleteBackward()
deleteBackward in interface UIKeyInputpublic void dictationRecognitionFailed()
dictationRecognitionFailed in interface UITextInputpublic void dictationRecordingDidEnd()
UITextInputdictationRecordingDidEnd in interface UITextInputpublic UIImage disabledBackground()
public void drawPlaceholderInRect(CGRect rect)
public void drawTextInRect(CGRect rect)
public boolean enablesReturnKeyAutomatically()
UITextInputTraitsenablesReturnKeyAutomatically in interface UITextInputTraitspublic void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingencodeWithCoder in class UIViewpublic 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 UITextField init()
public UITextField initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class UIControlpublic UITextField initWithFrame(CGRect frame)
initWithFrame in class UIControlpublic 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 isEditing()
public boolean isSecureTextEntry()
UITextInputTraitsisSecureTextEntry in interface UITextInputTraitspublic void setSecureTextEntry(boolean value)
UITextInputTraitssetSecureTextEntry in interface UITextInputTraitspublic long keyboardAppearance()
UITextInputTraitskeyboardAppearance in interface UITextInputTraitspublic long keyboardType()
UITextInputTraitskeyboardType in interface UITextInputTraitspublic UIView leftView()
public long leftViewMode()
public UITextRange markedTextRange()
UITextInputmarkedTextRange in interface UITextInputpublic NSDictionary<java.lang.String,?> markedTextStyle()
UITextInputmarkedTextStyle in interface UITextInputpublic double minimumFontSize()
public long offsetFromPositionToPosition(UITextPosition from, UITextPosition toPosition)
offsetFromPositionToPosition in interface UITextInputpublic java.lang.String placeholder()
public 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 UIView rightView()
public long rightViewMode()
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 setAdjustsFontSizeToFitWidth(boolean value)
public void setAllowsEditingTextAttributes(boolean value)
public void setAttributedPlaceholder(NSAttributedString value)
public void setAttributedText(NSAttributedString value)
public void setAutocapitalizationType(long value)
UITextInputTraitssetAutocapitalizationType in interface UITextInputTraitspublic void setAutocorrectionType(long value)
UITextInputTraitssetAutocorrectionType in interface UITextInputTraitspublic void setBackground(UIImage value)
public void setBaseWritingDirectionForRange(long writingDirection,
UITextRange range)
setBaseWritingDirectionForRange in interface UITextInputpublic void setBorderStyle(long value)
public void setClearButtonMode(long value)
public void setClearsOnBeginEditing(boolean value)
public void setClearsOnInsertion(boolean value)
public void setDefaultTextAttributes(NSDictionary<java.lang.String,?> value)
public void setDelegate_unsafe(UITextFieldDelegate value)
public void setDelegate(UITextFieldDelegate value)
public void setDisabledBackground(UIImage value)
public 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 setLeftView(UIView value)
public void setLeftViewMode(long 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 setMinimumFontSize(double value)
public void setPlaceholder(java.lang.String value)
public void setReturnKeyType(long value)
UITextInputTraitssetReturnKeyType in interface UITextInputTraitspublic void setRightView(UIView value)
public void setRightViewMode(long 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 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 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 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 UITextField initWithFramePrimaryAction(CGRect frame, UIAction primaryAction)
UIControlinitWithFramePrimaryAction in class UIControlpublic java.lang.Object interactionState()
public void setInteractionState(java.lang.Object value)