Package org.robovm.apple.uikit
Class UISearchTextField
- All Implemented Interfaces:
CALayerDelegate,NSCoding,NSObjectProtocol,UIAccessibilityIdentification,UIActivityItemsConfigurationProviding,UIAppearanceContainer,UIContentSizeCategoryAdjusting,UIContextMenuInteractionDelegate,UICoordinateSpace,UIDynamicItem,UIFocusEnvironment,UIFocusItem,UIFocusItemContainer,UIKeyInput,UILargeContentViewerItem,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UITextDraggable,UITextDroppable,UITextInput,UITextInputTraits,UITextPasteConfigurationSupporting,UITraitEnvironment,UIUserActivityRestoring,ObjCProtocol
public class UISearchTextField extends UITextField
- Since:
- Available in iOS 13.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUISearchTextField.UISearchTextFieldPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UITextField
UITextField.Notifications, UITextField.UITextFieldPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UIControl
UIControl.Listener, UIControl.OnEditingChangedListener, UIControl.OnEditingDidBeginListener, UIControl.OnEditingDidEndListener, UIControl.OnEditingDidEndOnExitListener, UIControl.OnPrimaryActionTriggeredListener, UIControl.OnTouchCancelListener, UIControl.OnTouchDownListener, UIControl.OnTouchDownRepeatListener, UIControl.OnTouchDragEnterListener, UIControl.OnTouchDragExitListener, UIControl.OnTouchDragInsideListener, UIControl.OnTouchDragOutsideListener, UIControl.OnTouchUpInsideListener, UIControl.OnTouchUpOutsideListener, UIControl.OnValueChangedListener, UIControl.UIControlPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UIView
UIView.UIViewPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UIResponder
UIResponder.UIResponderPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description UISearchTextField()UISearchTextField(CGRect frame)UISearchTextField(CGRect frame, UIAction primaryAction)UISearchTextField(NSCoder coder)protectedUISearchTextField(NSObject.Handle h, long handle)protectedUISearchTextField(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.uikit.UITextField
adjustsFontForContentSizeCategory, adjustsFontSizeToFitWidth, allowsEditingTextAttributes, beginFloatingCursor, clearsOnBeginEditing, clearsOnInsertion, comparePositions, deleteBackward, dictationRecognitionFailed, dictationRecordingDidEnd, DidBeginEditingNotification, DidChangeNotification, DidEndEditingNotification, DidEndEditingReasonKey, drawPlaceholder, drawText, enablesReturnKeyAutomatically, endFloatingCursor, getAttributedPlaceholder, getAttributedText, getAutocapitalizationType, getAutocorrectionType, getBackground, getBaseWritingDirection, getBeginningOfDocument, getBorderRect, getBorderStyle, getCaretRect, getCharacterOffset, getCharacterRange, getCharacterRange, getClearButtonMode, getClearButtonRect, getClosestPosition, getClosestPosition, getDefaultCoreTextAttributes, getDefaultTextAttributes, getDefaultTextAttributesDictionary, getDefaultTextMarkupAttributes, getDelegate, getDictationResultPlaceholderFrame, getDisabledBackground, getEditingRect, getEndOfDocument, getFirstRect, getFont, getInputAccessoryView, getInputDelegate, getInputView, getInsertDictationResultPlaceholder, getInteractionState, getKeyboardAppearance, getKeyboardType, getLeftView, getLeftViewMode, getLeftViewRect, getMarkedTextRange, getMarkedTextStyle, getMinimumFontSize, getOffset, getPasswordRules, getPasteDelegate, getPlaceholder, getPlaceholderRect, getPosition, getPosition, getPosition, getPosition, getReturnKeyType, getRightView, getRightViewMode, getRightViewRect, getSelectedTextRange, getSelectionAffinity, getSelectionRects, getSmartDashesType, getSmartInsertDeleteType, getSmartQuotesType, getSpellCheckingType, getText, getText, getTextAlignment, getTextColor, getTextContentType, getTextDragDelegate, getTextDragInteraction, getTextDragOptions, getTextDropDelegate, getTextDropInteraction, getTextInputView, getTextRange, getTextRect, getTextStyling, getTokenizer, getTypingAttributes, getTypingAttributesDictionary, getTypingCoreTextAttributes, getTypingTextMarkupAttributes, hasText, insertDictationResult, insertText, insertText, insertTextPlaceholder, isEditing, isSecureTextEntry, isTextDragActive, isTextDropActive, removeDictationResultPlaceholder, removeTextPlaceholder, replaceText, setAdjustsFontForContentSizeCategory, setAdjustsFontSizeToFitWidth, setAllowsEditingTextAttributes, setAttributedMarkedText, setAttributedPlaceholder, setAttributedText, setAutocapitalizationType, setAutocorrectionType, setBackground, setBaseWritingDirection, setBorderStyle, setClearButtonMode, setClearsOnBeginEditing, setClearsOnInsertion, setDefaultCoreTextAttributes, setDefaultTextAttributes, setDefaultTextAttributesDictionary, setDefaultTextMarkupAttributes, setDelegate, setDisabledBackground, setEnablesReturnKeyAutomatically, setFont, setInputAccessoryView, setInputDelegate, setInputView, setInteractionState, setKeyboardAppearance, setKeyboardType, setLeftView, setLeftViewMode, setMarkedText, setMarkedTextStyle, setMinimumFontSize, setPasswordRules, setPasteDelegate, setPlaceholder, setReturnKeyType, setRightView, setRightViewMode, setSecureTextEntry, setSelectedTextRange, setSelectionAffinity, setSmartDashesType, setSmartInsertDeleteType, setSmartQuotesType, setSpellCheckingType, setText, setTextAlignment, setTextColor, setTextContentType, setTextDragDelegate, setTextDragOptions, setTextDropDelegate, setTypingAttributes, setTypingAttributesDictionary, setTypingCoreTextAttributes, setTypingTextMarkupAttributes, shouldChangeText, unmarkText, updateFloatingCursorMethods inherited from class org.robovm.apple.uikit.UIControl
addAction, addOnEditingChangedListener, addOnEditingDidBegin, addOnEditingDidEndListener, addOnEditingDidEndOnExitListener, addOnPrimaryActionTriggeredListener, addOnTouchCancelListener, addOnTouchDownListener, addOnTouchDownRepeatListener, addOnTouchDragEnterListener, addOnTouchDragExitListener, addOnTouchDragInsideListener, addOnTouchDragOutsideListener, addOnTouchUpInsideListener, addOnTouchUpOutsideListener, addOnValueChangedListener, addTarget, beginTracking, cancelTracking, continueTracking, endTracking, enumerateEventHandlers, getActions, getAllControlEvents, getAllTargets, getConfiguration, getContentHorizontalAlignment, getContentVerticalAlignment, getContextMenuInteraction, getEffectiveContentHorizontalAlignment, getPreviewForDismissingMenu, getPreviewForHighlightingMenu, getState, getToolTip, getToolTipInteraction, init, init, init, isContextMenuInteractionEnabled, isEnabled, isHighlighted, isSelected, isTouchInside, isTracking, menuAttachmentPointForConfiguration, removeAction, removeAction, removeListener, removeTarget, sendAction, sendAction, sendControlEventsActions, setContentHorizontalAlignment, setContentVerticalAlignment, setContextMenuInteractionEnabled, setEnabled, setHighlighted, setSelected, setShowsMenuAsPrimaryAction, setToolTip, showsMenuAsPrimaryAction, willDisplayMenu, willEnd, willPerformPreviewActionMethods inherited from class org.robovm.apple.uikit.UIView
addConstraint, addConstraints, addGestureRecognizer, addInteraction, addKeyframe, addLayoutGuide, addMotionEffect, addSubview, animate, animate, animate, animate, animateKeyframes, areAnimationsEnabled, autoresizesSubviews, beginAnimations, bringSubviewToFront, canBecomeFocused, clearsContextBeforeDrawing, clipsToBounds, commitAnimations, convertPointFromCoordinateSpace, convertPointFromView, convertPointToCoordinateSpace, convertPointToView, convertRectFromCoordinateSpace, convertRectFromView, convertRectToCoordinateSpace, convertRectToView, decodeRestorableState, didAddSubview, didHintFocusMovement, didMoveToSuperview, didMoveToWindow, didUpdateFocus, displayLayer, draw, draw, drawLayer, drawViewHierarchy, encode, encodeRestorableState, endEditing, exchangeSubview, exerciseAmbiguityInLayout, focusItemsInRect, gestureRecognizerShouldBegin, getAccessibilityIdentifier, getAction, getAlignmentRectForFrame, getAlignmentRectInsets, getAlpha, getAppliedContentSizeCategoryLimitsDescription, getAutoresizingMask, getBackgroundColor, getBottomAnchor, getBounds, getCenter, getCenterXAnchor, getCenterYAnchor, getCollisionBoundingPath, getCollisionBoundsType, getConstraints, getConstraintsAffectingLayout, getContentCompressionResistancePriority, getContentHuggingPriority, getContentMode, getContentScaleFactor, getCoordinateSpace, getDirectionalLayoutMargins, getEffectiveUserInterfaceLayoutDirection, getFirstBaselineAnchor, getFocusEffect, getFocusGroupIdentifier, getFocusGroupPriority, getFocusItemContainer, getFrame, getFrameForAlignmentRect, getGestureRecognizers, getHeightAnchor, getInheritedAnimationDuration, getInteractions, getIntrinsicContentSize, getKeyboardLayoutGuide, getLargeContentImage, getLargeContentImageInsets, getLargeContentTitle, getLastBaselineAnchor, getLayer, getLayoutGuides, getLayoutMargins, getLayoutMarginsGuide, getLeadingAnchor, getLeftAnchor, getMaskView, getMaximumContentSizeCategory, getMinimumContentSizeCategory, getMotionEffects, getOverrideUserInterfaceStyle, getParentFocusEnvironment, getPreferredFocusedView, getPreferredFocusEnvironments, getReadableContentGuide, getResizableSnapshot, getRestorationIdentifier, getRightAnchor, getSafeAreaInsets, getSafeAreaLayoutGuide, getSemanticContentAttribute, getSizeThatFits, getSnapshot, getSubviews, getSuperview, getSystemLayoutSizeFittingSize, getSystemLayoutSizeFittingSize, getTag, getTintAdjustmentMode, getTintColor, getTopAnchor, getTrailingAnchor, getTraitCollection, getTransform, getTransform3D, getViewForBaselineLayout, getViewForFirstBaselineLayout, getViewForLastBaselineLayout, getViewPrintFormatter, getViewWithTag, getWidthAnchor, getWindow, hasAmbiguousLayout, hitTest, insertSubview, insertSubviewAbove, insertSubviewBelow, invalidateIntrinsicContentSize, isAccessibilityIgnoresInvertColors, isDescendantOf, isExclusiveTouch, isFocused, isHidden, isInsetsLayoutMarginsFromSafeArea, isMultipleTouchEnabled, isOpaque, isPointInside, isScalesLargeContentImage, isTransparentFocusItem, isUserInteractionEnabled, layoutIfNeeded, layoutMarginsDidChange, layoutSublayers, layoutSubviews, modifyAnimations, needsUpdateConstraints, NoIntrinsicMetric, performSystemAnimation, performWithoutAnimation, preservesSuperviewLayoutMargins, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, requiresConstraintBasedLayout, safeAreaInsetsDidChange, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAnimationBeginsFromCurrentState, setAnimationCurve, setAnimationDelay, setAnimationDelegate, setAnimationDidStopSelector, setAnimationDurationInSeconds, setAnimationRepeatAutoreverses, setAnimationRepeatCount, setAnimationsEnabled, setAnimationStartDate, setAnimationTransition, setAnimationWillStartSelector, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriority, setContentHuggingPriority, setContentMode, setContentScaleFactor, setDirectionalLayoutMargins, setExclusiveTouch, setFocusEffect, setFocusGroupIdentifier, setFocusGroupPriority, setFrame, setGestureRecognizers, setHidden, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLargeContentImage, setLargeContentImageInsets, setLargeContentTitle, setLayoutMargins, setMaskView, setMaximumContentSizeCategory, setMinimumContentSizeCategory, setMotionEffects, setMultipleTouchEnabled, setNeedsDisplay, setNeedsDisplay, setNeedsFocusUpdate, setNeedsLayout, setNeedsUpdateConstraints, setOpaque, setOverrideUserInterfaceStyle, setPreservesSuperviewLayoutMargins, setRestorationIdentifier, setScalesLargeContentImage, setSemanticContentAttribute, setShowsLargeContentViewer, setTag, setTintAdjustmentMode, setTintColor, setTransform, setTransform3D, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocus, showsLargeContentViewer, sizeToFit, tintColorDidChange, traitCollectionDidChange, transition, transition, translatesAutoresizingMaskIntoConstraints, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, willDrawLayer, willMoveToSuperview, willMoveToWindow, willRemoveSubviewMethods inherited from class org.robovm.apple.uikit.UIResponder
becomeFirstResponder, buildMenu, canBecomeFirstResponder, canPasteItemProviders, canPerformAction, canResignFirstResponder, captureTextFromCamera, clearTextInputContextIdentifier, copy, cut, decreaseSize, delete, getActionTarget, getActivityItemsConfiguration, getEditingInteractionConfiguration, getInputAccessoryViewController, getInputAssistantItem, getInputViewController, getKeyCommands, getNextResponder, getPasteConfiguration, getTextInputContextIdentifier, getTextInputMode, getUndoManager, getUserActivity, increaseSize, isFirstResponder, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBegan, motionCancelled, motionEnded, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteItemProviders, pressesBegan, pressesCancelled, pressesChanged, pressesEnded, print, reloadInputViews, remoteControlReceived, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, toggleBoldface, toggleItalics, toggleUnderline, touchesBegan, touchesCancelled, touchesEnded, touchesEstimatedPropertiesUpdated, touchesMoved, updateTextAttributes, updateUserActivityState, validateCommandMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandleMethods inherited from interface org.robovm.apple.uikit.UIPasteConfigurationSupporting
canPasteItemProviders, getPasteConfiguration, pasteItemProviders, setPasteConfiguration
-
Constructor Details
-
UISearchTextField
public UISearchTextField() -
UISearchTextField
-
UISearchTextField
-
UISearchTextField
-
UISearchTextField
-
UISearchTextField
- Since:
- Available in iOS 14.0 and later.
-
-
Method Details
-
getTokens
-
setTokens
-
getTextualRange
-
getTokenBackgroundColor
-
setTokenBackgroundColor
-
allowsDeletingTokens
public boolean allowsDeletingTokens() -
setAllowsDeletingTokens
public void setAllowsDeletingTokens(boolean v) -
allowsCopyingTokens
public boolean allowsCopyingTokens() -
setAllowsCopyingTokens
public void setAllowsCopyingTokens(boolean v) -
getLayerClass
-
insertToken
-
removeTokenAtIndex
public void removeTokenAtIndex(long tokenIndex) -
positionOfTokenAtIndex
-
tokensInRange
-
replaceTextualPortionOfRange
public void replaceTextualPortionOfRange(UITextRange textRange, UISearchToken token, long tokenIndex) -
getUserInterfaceLayoutDirection
public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection(UISemanticContentAttribute attribute)- Since:
- Available in iOS 9.0 and later.
-
getUserInterfaceLayoutDirection
public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection(UISemanticContentAttribute semanticContentAttribute, UIUserInterfaceLayoutDirection layoutDirection)- Since:
- Available in iOS 10.0 and later.
-