Package apple.uikit
Class UISearchBar
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- apple.uikit.UIView
-
- apple.uikit.UISearchBar
-
- All Implemented Interfaces:
NSCoding,NSObject,CALayerDelegate,UIAccessibilityIdentification,UIActivityItemsConfigurationProviding,UIAppearance,UIAppearanceContainer,UIBarPositioning,UICoordinateSpace,UIDynamicItem,UIFocusEnvironment,UIFocusItem,UIFocusItemContainer,UILargeContentViewerItem,UILookToDictateCapable,UIPasteConfigurationSupporting,UIPopoverPresentationControllerSourceItem,UIResponderStandardEditActions,UITextInputTraits,UITraitChangeObservable,UITraitEnvironment,UIUserActivityRestoring
public class UISearchBar extends UIView implements UIBarPositioning, UITextInputTraits, UILookToDictateCapable
API-Since: 2.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.uikit.UIView
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_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_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_4
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UITraitChangeObservable
UITraitChangeObservable.Block_registerForTraitChangesWithHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUISearchBar(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull UISearchBar_appearance()To customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class.@NotNull UISearchBar_appearanceForTraitCollection(@NotNull UITraitCollection trait)API-Since: 8.0@NotNull UISearchBar_appearanceForTraitCollectionWhenContainedIn(@NotNull UITraitCollection trait, @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.@NotNull UISearchBar_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull UITraitCollection trait, @NotNull NSArray<?> containerTypes)API-Since: 9.0@NotNull UISearchBar_appearanceWhenContainedIn(@Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.@NotNull UISearchBar_appearanceWhenContainedInInstancesOfClasses(@NotNull NSArray<?> containerTypes)API-Since: 9.0static booleanaccessInstanceVariablesDirectly()static voidaddKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)static UISearchBaralloc()static UISearchBarallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static voidanimateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)static voidanimateWithDurationAnimations(double duration, UIView.Block_animateWithDurationAnimations animations)static voidanimateWithDurationAnimationsCompletion(double duration, UIView.Block_animateWithDurationAnimationsCompletion_1 animations, UIView.Block_animateWithDurationAnimationsCompletion_2 completion)static voidanimateWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)static voidanimateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration, double delay, double dampingRatio, double velocity, long options, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)static voidanimateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion(double duration, double bounce, double velocity, double delay, long options, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5 animations, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_6 completion)static @NotNull UISearchBarappearance()static @NotNull UISearchBarappearanceForTraitCollection(@NotNull UITraitCollection trait)static @NotNull UISearchBarappearanceForTraitCollectionWhenContainedIn(@NotNull UITraitCollection trait, @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static @NotNull UISearchBarappearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull UITraitCollection trait, @NotNull NSArray<?> containerTypes)static @NotNull UISearchBarappearanceWhenContainedIn(@Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static @NotNull UISearchBarappearanceWhenContainedInInstancesOfClasses(@NotNull NSArray<?> containerTypes)static booleanareAnimationsEnabled()longautocapitalizationType()default is UITextAutocapitalizationTypeSentenceslongautocorrectionType()default is UITextAutocorrectionTypeDefaultstatic booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)@Nullable UIImagebackgroundImage()1pt wide images and resizable images will be scaled or tiled according to the resizable area, otherwise the image will be tiled API-Since: 5.0@Nullable UIImagebackgroundImageForBarPositionBarMetrics(long barPosition, long barMetrics)API-Since: 7.0longbarPosition()longbarStyle()default is UIBarStyleDefault (blue)@Nullable UIColorbarTintColor()default is nil API-Since: 7.0static voidbeginAnimationsContext(@Nullable java.lang.String animationID, @Nullable org.moe.natj.general.ptr.VoidPtr context)Deprecated.static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static voidclearTextInputContextIdentifier(@NotNull java.lang.String identifier)static voidcommitAnimations()Deprecated.static java.lang.StringdebugDescription_static()@Nullable UISearchBarDelegatedelegate()weak reference.static java.lang.Stringdescription_static()booleanenablesReturnKeyAutomatically()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)static longhash_static()@Nullable UIImageimageForSearchBarIconState(long icon, long state)API-Since: 5.0static doubleinheritedAnimationDuration()UISearchBarinit()UISearchBarinitWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZERUISearchBarinitWithFrame(CGRect frame)longinlinePredictionType()default is UITextInlinePredictionTypeDefault API-Since: 17.0@Nullable UIViewinputAccessoryView()Allow placement of an input accessory view to the keyboard for the search bar@NotNull UITextInputAssistantIteminputAssistantItem()Use this method to modify the contents of the Unified Content Bar, shown on top of the keyboard when search is engaged.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisEnabled()Default YES API-Since: 16.4booleanisLookToDictateEnabled()Enable or disable 'Look To Dictate' on the receiver.booleanisSearchResultsButtonSelected()default is NO API-Since: 3.2booleanisSecureTextEntry()default is NOstatic booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)booleanisTranslucent()Default is NO on iOS 6 and earlier.longkeyboardAppearance()default is UIKeyboardAppearanceDefaultlongkeyboardType()default is UIKeyboardTypeDefaultstatic @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static @NotNull org.moe.natj.objc.ClasslayerClass()static voidmodifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)static UISearchBarnew_objc()@Nullable UITextInputPasswordRulespasswordRules()default is nil API-Since: 12.0static voidperformSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, @NotNull NSArray<? extends UIView> views, long options, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)static voidperformWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation)@Nullable java.lang.Stringplaceholder()default is nilUIOffsetpositionAdjustmentForSearchBarIcon(long icon)API-Since: 5.0@Nullable java.lang.Stringprompt()default is nilstatic booleanrequiresConstraintBasedLayout()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)longreturnKeyType()default is UIReturnKeyDefault (See note under UIReturnKeyType enum)@Nullable UIImagescopeBarBackgroundImage()API-Since: 5.0@Nullable UIImagescopeBarButtonBackgroundImageForState(long state)API-Since: 5.0@Nullable UIImagescopeBarButtonDividerImageForLeftSegmentStateRightSegmentState(long leftState, long rightState)API-Since: 5.0@Nullable NSDictionary<java.lang.String,?>scopeBarButtonTitleTextAttributesForState(long state)API-Since: 5.0@Nullable NSArray<java.lang.String>scopeButtonTitles()array of NSStrings.longsearchBarStyle()API-Since: 7.0@Nullable UIImagesearchFieldBackgroundImageForState(long state)API-Since: 5.0UIOffsetsearchFieldBackgroundPositionAdjustment()To nudge the position of the search text field background in the search bar API-Since: 5.0@NotNull UISearchTextFieldsearchTextField()API-Since: 13.0UIOffsetsearchTextPositionAdjustment()To nudge the position of the text within the search text field background API-Since: 5.0longselectedScopeButtonIndex()index into array of scope button titles.static voidsetAnimationBeginsFromCurrentState(boolean fromCurrentState)Deprecated.static voidsetAnimationCurve(long curve)Deprecated.static voidsetAnimationDelay(double delay)Deprecated.static voidsetAnimationDelegate(@Nullable java.lang.Object delegate)Deprecated.static voidsetAnimationDidStopSelector(@Nullable org.moe.natj.objc.SEL selector)Deprecated.static voidsetAnimationDuration_static(double duration)Deprecated.static voidsetAnimationRepeatAutoreverses(boolean repeatAutoreverses)Deprecated.static voidsetAnimationRepeatCount_static(float repeatCount)Deprecated.static voidsetAnimationsEnabled(boolean enabled)static voidsetAnimationStartDate(@NotNull NSDate startDate)Deprecated.static voidsetAnimationTransitionForViewCache(long transition, @NotNull UIView view, boolean cache)Deprecated.static voidsetAnimationWillStartSelector(@Nullable org.moe.natj.objc.SEL selector)Deprecated.voidsetAutocapitalizationType(long value)default is UITextAutocapitalizationTypeSentencesvoidsetAutocorrectionType(long value)default is UITextAutocorrectionTypeDefaultvoidsetBackgroundImage(@Nullable UIImage value)1pt wide images and resizable images will be scaled or tiled according to the resizable area, otherwise the image will be tiled API-Since: 5.0voidsetBackgroundImageForBarPositionBarMetrics(@Nullable UIImage backgroundImage, long barPosition, long barMetrics)Use UIBarMetricsDefaultPrompt to set a separate backgroundImage for a search bar with a prompt API-Since: 7.0voidsetBarStyle(long value)default is UIBarStyleDefault (blue)voidsetBarTintColor(@Nullable UIColor value)default is nil API-Since: 7.0voidsetDelegate(@Nullable UISearchBarDelegate value)weak reference.voidsetDelegate_unsafe(@Nullable UISearchBarDelegate value)weak reference.voidsetEnabled(boolean value)Default YES API-Since: 16.4voidsetEnablesReturnKeyAutomatically(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)voidsetImageForSearchBarIconState(@Nullable UIImage iconImage, long icon, long state)API-Since: 5.0voidsetInlinePredictionType(long value)default is UITextInlinePredictionTypeDefault API-Since: 17.0voidsetInputAccessoryView(@Nullable UIView value)Allow placement of an input accessory view to the keyboard for the search barvoidsetKeyboardAppearance(long value)default is UIKeyboardAppearanceDefaultvoidsetKeyboardType(long value)default is UIKeyboardTypeDefaultvoidsetLookToDictateEnabled(boolean value)Enable or disable 'Look To Dictate' on the receiver.voidsetPasswordRules(@Nullable UITextInputPasswordRules value)default is nil API-Since: 12.0voidsetPlaceholder(@Nullable java.lang.String value)default is nilvoidsetPositionAdjustmentForSearchBarIcon(UIOffset adjustment, long icon)To nudge the position of the icon within the search text field API-Since: 5.0voidsetPrompt(@Nullable java.lang.String value)default is nilvoidsetReturnKeyType(long value)default is UIReturnKeyDefault (See note under UIReturnKeyType enum)voidsetScopeBarBackgroundImage(@Nullable UIImage value)API-Since: 5.0voidsetScopeBarButtonBackgroundImageForState(@Nullable UIImage backgroundImage, long state)If backgroundImage is an image returned from -[UIImage resizableImageWithCapInsets:] the cap widths will be calculated from the edge insets, otherwise, the cap width will be calculated by subtracting one from the image's width then dividing by 2.voidsetScopeBarButtonDividerImageForLeftSegmentStateRightSegmentState(@Nullable UIImage dividerImage, long leftState, long rightState)To customize the segmented control appearance you will need to provide divider images to go between two unselected segments (leftSegmentState:UIControlStateNormal rightSegmentState:UIControlStateNormal), selected on the left and unselected on the right (leftSegmentState:UIControlStateSelected rightSegmentState:UIControlStateNormal), and unselected on the left and selected on the right (leftSegmentState:UIControlStateNormal rightSegmentState:UIControlStateSelected).voidsetScopeBarButtonTitleTextAttributesForState(@Nullable NSDictionary<java.lang.String,?> attributes, long state)You may specify the font, text color, and shadow properties for the title in the text attributes dictionary, using the keys found in NSAttributedString.h.voidsetScopeButtonTitles(@Nullable NSArray<java.lang.String> value)array of NSStrings.voidsetSearchBarStyle(long value)API-Since: 7.0voidsetSearchFieldBackgroundImageForState(@Nullable UIImage backgroundImage, long state)The rounded-rect search text field image.voidsetSearchFieldBackgroundPositionAdjustment(UIOffset value)To nudge the position of the search text field background in the search bar API-Since: 5.0voidsetSearchResultsButtonSelected(boolean value)default is NO API-Since: 3.2voidsetSearchTextPositionAdjustment(UIOffset value)To nudge the position of the text within the search text field background API-Since: 5.0voidsetSecureTextEntry(boolean value)default is NOvoidsetSelectedScopeButtonIndex(long value)index into array of scope button titles.voidsetShowsBookmarkButton(boolean value)default is NOvoidsetShowsCancelButton(boolean value)default is NOvoidsetShowsCancelButtonAnimated(boolean showsCancelButton, boolean animated)API-Since: 3.0voidsetShowsScopeBar(boolean value)default is NO.voidsetShowsScopeBarAnimated(boolean show, boolean animate)API-Since: 13.0voidsetShowsSearchResultsButton(boolean value)default is NO API-Since: 3.2voidsetSmartDashesType(long value)default is UITextSmartDashesTypeDefault; API-Since: 11.0voidsetSmartInsertDeleteType(long value)default is UITextSmartInsertDeleteTypeDefault; API-Since: 11.0voidsetSmartQuotesType(long value)default is UITextSmartQuotesTypeDefault; API-Since: 11.0voidsetSpellCheckingType(long value)default is UITextSpellCheckingTypeDefault; API-Since: 5.0voidsetText(@Nullable java.lang.String value)current/starting search textvoidsetTextContentType(java.lang.String value)default is nil API-Since: 10.0voidsetTintColor(UIColor value)The behavior of tintColor for bars has changed on iOS 7.0.voidsetTranslucent(boolean value)Default is NO on iOS 6 and earlier.static voidsetVersion_static(long aVersion)booleanshowsBookmarkButton()default is NObooleanshowsCancelButton()default is NObooleanshowsScopeBar()default is NO.booleanshowsSearchResultsButton()default is NO API-Since: 3.2longsmartDashesType()default is UITextSmartDashesTypeDefault; API-Since: 11.0longsmartInsertDeleteType()default is UITextSmartInsertDeleteTypeDefault; API-Since: 11.0longsmartQuotesType()default is UITextSmartQuotesTypeDefault; API-Since: 11.0longspellCheckingType()default is UITextSpellCheckingTypeDefault; API-Since: 5.0static org.moe.natj.objc.Classsuperclass_static()@Nullable java.lang.Stringtext()current/starting search textjava.lang.StringtextContentType()default is nil API-Since: 10.0UIColortintColor()The behavior of tintColor for bars has changed on iOS 7.0.static voidtransitionFromViewToViewDurationOptionsCompletion(@NotNull UIView fromView, @NotNull UIView toView, double duration, long options, UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)static voidtransitionWithViewDurationOptionsAnimationsCompletion(@NotNull UIView view, double duration, long options, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)static longuserInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)static longuserInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute, long layoutDirection)static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.uikit.UIView
accessibilityIdentifier, accessibilityIgnoresInvertColors, actionForLayerForKey, addConstraint, addConstraints, addGestureRecognizer, addInteraction, addLayoutGuide, addMotionEffect, addSubview, alignmentRectForFrame, alignmentRectInsets, alpha, anchorPoint, 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, encodeWithCoder, endEditing, exchangeSubviewAtIndexWithSubviewAtIndex, exerciseAmbiguityInLayout, firstBaselineAnchor, focusEffect, focusGroupIdentifier, focusGroupPriority, focusItemContainer, focusItemsInRect, frame, frameForAlignmentRect, frameInView, gestureRecognizers, gestureRecognizerShouldBegin, hasAmbiguousLayout, heightAnchor, hitTestWithEvent, hoverStyle, 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, registerForTraitChangesWithAction, registerForTraitChangesWithHandler, registerForTraitChangesWithTargetAction, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, resizableSnapshotViewFromRectAfterScreenUpdatesWithCapInsets, restorationIdentifier, rightAnchor, safeAreaInsets, safeAreaInsetsDidChange, safeAreaLayoutGuide, scalesLargeContentImage, semanticContentAttribute, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAnchorPoint, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriorityForAxis, setContentHuggingPriorityForAxis, setContentMode, setContentScaleFactor, setContentStretch, setDirectionalLayoutMargins, setExclusiveTouch, setFocusEffect, setFocusGroupIdentifier, setFocusGroupPriority, setFrame, setGestureRecognizers, setHidden, setHoverStyle, 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, setTransform, setTransform3D, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocusInContext, showsLargeContentViewer, sizeThatFits, sizeToFit, snapshotViewAfterScreenUpdates, subviews, superview, systemLayoutSizeFittingSize, systemLayoutSizeFittingSizeWithHorizontalFittingPriorityVerticalFittingPriority, tag, tintAdjustmentMode, tintColorDidChange, topAnchor, trailingAnchor, traitCollection, traitCollectionDidChange, traitOverrides, transform, transform3D, translatesAutoresizingMaskIntoConstraints, unregisterForTraitChanges, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, updateTraitsIfNeeded, viewForBaselineLayout, viewForFirstBaselineLayout, viewForLastBaselineLayout, viewPrintFormatter, viewWithTag, widthAnchor, willMoveToSuperview, willMoveToWindow, willRemoveSubview, window
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, duplicate, editingInteractionConfiguration, export, find, findAndReplace, findNext, findPrevious, increaseSize, inputAccessoryViewController, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, move, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, rename, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, useSelectionForFind, validateCommand
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, 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, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
addKeyframeWithRelativeStartTimeRelativeDurationAnimations
public static void addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, @NotNull UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)
-
alloc
public static UISearchBar alloc()
-
allocWithZone
public static UISearchBar allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
animateKeyframesWithDurationDelayOptionsAnimationsCompletion
public static void animateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, @NotNull UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations, @Nullable UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationAnimations
public static void animateWithDurationAnimations(double duration, @NotNull UIView.Block_animateWithDurationAnimations animations)
-
animateWithDurationAnimationsCompletion
public static void animateWithDurationAnimationsCompletion(double duration, @NotNull UIView.Block_animateWithDurationAnimationsCompletion_1 animations, @Nullable UIView.Block_animateWithDurationAnimationsCompletion_2 completion)
-
animateWithDurationDelayOptionsAnimationsCompletion
public static void animateWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, @NotNull UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations, @Nullable UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion
public static void animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration, double delay, double dampingRatio, double velocity, long options, @NotNull UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations, @Nullable UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)
-
appearance
@NotNull public static @NotNull UISearchBar appearance()
-
appearanceForTraitCollection
@NotNull public static @NotNull UISearchBar appearanceForTraitCollection(@NotNull @NotNull UITraitCollection trait)
-
appearanceForTraitCollectionWhenContainedIn
@NotNull @Deprecated public static @NotNull UISearchBar appearanceForTraitCollectionWhenContainedIn(@NotNull @NotNull UITraitCollection trait, @Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceForTraitCollectionWhenContainedInInstancesOfClasses
@NotNull public static @NotNull UISearchBar appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull @NotNull UITraitCollection trait, @NotNull @NotNull NSArray<?> containerTypes)
-
appearanceWhenContainedIn
@NotNull @Deprecated public static @NotNull UISearchBar appearanceWhenContainedIn(@Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceWhenContainedInInstancesOfClasses
@NotNull public static @NotNull UISearchBar appearanceWhenContainedInInstancesOfClasses(@NotNull @NotNull NSArray<?> containerTypes)
-
areAnimationsEnabled
public static boolean areAnimationsEnabled()
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
beginAnimationsContext
@Deprecated public static void beginAnimationsContext(@Nullable @Nullable java.lang.String animationID, @Nullable @Nullable org.moe.natj.general.ptr.VoidPtr context)Deprecated.
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
clearTextInputContextIdentifier
public static void clearTextInputContextIdentifier(@NotNull @NotNull java.lang.String identifier)
-
commitAnimations
@Deprecated public static void commitAnimations()
Deprecated.
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
inheritedAnimationDuration
public static double inheritedAnimationDuration()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
layerClass
@NotNull public static @NotNull org.moe.natj.objc.Class layerClass()
-
new_objc
public static UISearchBar new_objc()
-
performSystemAnimationOnViewsOptionsAnimationsCompletion
public static void performSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, @NotNull @NotNull NSArray<? extends UIView> views, long options, @Nullable UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, @Nullable UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)
-
performWithoutAnimation
public static void performWithoutAnimation(@NotNull UIView.Block_performWithoutAnimation actionsWithoutAnimation)
-
requiresConstraintBasedLayout
public static boolean requiresConstraintBasedLayout()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setAnimationBeginsFromCurrentState
@Deprecated public static void setAnimationBeginsFromCurrentState(boolean fromCurrentState)
Deprecated.
-
setAnimationCurve
@Deprecated public static void setAnimationCurve(long curve)
Deprecated.
-
setAnimationDelay
@Deprecated public static void setAnimationDelay(double delay)
Deprecated.
-
setAnimationDelegate
@Deprecated public static void setAnimationDelegate(@Nullable @Nullable java.lang.Object delegate)Deprecated.
-
setAnimationDidStopSelector
@Deprecated public static void setAnimationDidStopSelector(@Nullable @Nullable org.moe.natj.objc.SEL selector)Deprecated.
-
setAnimationDuration_static
@Deprecated public static void setAnimationDuration_static(double duration)
Deprecated.
-
setAnimationRepeatAutoreverses
@Deprecated public static void setAnimationRepeatAutoreverses(boolean repeatAutoreverses)
Deprecated.
-
setAnimationRepeatCount_static
@Deprecated public static void setAnimationRepeatCount_static(float repeatCount)
Deprecated.
-
setAnimationStartDate
@Deprecated public static void setAnimationStartDate(@NotNull @NotNull NSDate startDate)Deprecated.
-
setAnimationTransitionForViewCache
@Deprecated public static void setAnimationTransitionForViewCache(long transition, @NotNull @NotNull UIView view, boolean cache)Deprecated.
-
setAnimationWillStartSelector
@Deprecated public static void setAnimationWillStartSelector(@Nullable @Nullable org.moe.natj.objc.SEL selector)Deprecated.
-
setAnimationsEnabled
public static void setAnimationsEnabled(boolean enabled)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
transitionFromViewToViewDurationOptionsCompletion
public static void transitionFromViewToViewDurationOptionsCompletion(@NotNull @NotNull UIView fromView, @NotNull @NotNull UIView toView, double duration, long options, @Nullable UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)
-
transitionWithViewDurationOptionsAnimationsCompletion
public static void transitionWithViewDurationOptionsAnimationsCompletion(@NotNull @NotNull UIView view, double duration, long options, @Nullable UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, @Nullable UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)
-
userInterfaceLayoutDirectionForSemanticContentAttribute
public static long userInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)
-
userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection
public static long userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute, long layoutDirection)
-
version_static
public static long version_static()
-
_appearance
@NotNull public @NotNull UISearchBar _appearance()
Description copied from interface:UIAppearanceTo customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class. For example, to modify the bar tint color for all UINavigationBar instances: [[UINavigationBar appearance] setBarTintColor:myColor]; Note 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.- Specified by:
_appearancein interfaceUIAppearance- Overrides:
_appearancein classUIView
-
_appearanceForTraitCollection
@NotNull public @NotNull UISearchBar _appearanceForTraitCollection(@NotNull @NotNull UITraitCollection trait)
Description copied from interface:UIAppearanceAPI-Since: 8.0- Specified by:
_appearanceForTraitCollectionin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionin classUIView
-
_appearanceForTraitCollectionWhenContainedIn
@NotNull @Deprecated public @NotNull UISearchBar _appearanceForTraitCollectionWhenContainedIn(@NotNull @NotNull UITraitCollection trait, @Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.Description copied from interface:UIAppearanceAPI-Since: 8.0 Deprecated-Since: 9.0- Specified by:
_appearanceForTraitCollectionWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInin classUIView
-
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses
@NotNull public @NotNull UISearchBar _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull @NotNull UITraitCollection trait, @NotNull @NotNull NSArray<?> containerTypes)
Description copied from interface:UIAppearanceAPI-Since: 9.0- Specified by:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin classUIView
-
_appearanceWhenContainedIn
@NotNull @Deprecated public @NotNull UISearchBar _appearanceWhenContainedIn(@Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.Description copied from interface:UIAppearanceTo customize the appearances for instances of a class contained within an instance of a container class, or instances in a hierarchy, use +appearanceWhenContainedInInstancesOfClasses: for the appropriate appearance proxy. For example: [[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. API-Since: 5.0 Deprecated-Since: 9.0- Specified by:
_appearanceWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInin classUIView
-
_appearanceWhenContainedInInstancesOfClasses
@NotNull public @NotNull UISearchBar _appearanceWhenContainedInInstancesOfClasses(@NotNull @NotNull NSArray<?> containerTypes)
Description copied from interface:UIAppearanceAPI-Since: 9.0- Specified by:
_appearanceWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInInstancesOfClassesin classUIView
-
autocapitalizationType
public long autocapitalizationType()
Description copied from interface:UITextInputTraitsdefault is UITextAutocapitalizationTypeSentences- Specified by:
autocapitalizationTypein interfaceUITextInputTraits
-
autocorrectionType
public long autocorrectionType()
Description copied from interface:UITextInputTraitsdefault is UITextAutocorrectionTypeDefault- Specified by:
autocorrectionTypein interfaceUITextInputTraits
-
backgroundImage
@Nullable public @Nullable UIImage backgroundImage()
1pt wide images and resizable images will be scaled or tiled according to the resizable area, otherwise the image will be tiled API-Since: 5.0
-
backgroundImageForBarPositionBarMetrics
@Nullable public @Nullable UIImage backgroundImageForBarPositionBarMetrics(long barPosition, long barMetrics)
API-Since: 7.0
-
barPosition
public long barPosition()
- Specified by:
barPositionin interfaceUIBarPositioning
-
barStyle
public long barStyle()
default is UIBarStyleDefault (blue)
-
barTintColor
@Nullable public @Nullable UIColor barTintColor()
default is nil API-Since: 7.0
-
delegate
@Nullable public @Nullable UISearchBarDelegate delegate()
weak reference. default is nil
-
enablesReturnKeyAutomatically
public boolean enablesReturnKeyAutomatically()
Description copied from interface:UITextInputTraitsdefault 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)- Specified by:
enablesReturnKeyAutomaticallyin interfaceUITextInputTraits
-
imageForSearchBarIconState
@Nullable public @Nullable UIImage imageForSearchBarIconState(long icon, long state)
API-Since: 5.0
-
init
public UISearchBar init()
-
initWithCoder
public UISearchBar initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classUIView
-
initWithFrame
public UISearchBar initWithFrame(CGRect frame)
- Overrides:
initWithFramein classUIView
-
inputAccessoryView
@Nullable public @Nullable UIView inputAccessoryView()
Allow placement of an input accessory view to the keyboard for the search bar- Overrides:
inputAccessoryViewin classUIResponder
-
inputAssistantItem
@NotNull public @NotNull UITextInputAssistantItem inputAssistantItem()
Use this method to modify the contents of the Unified Content Bar, shown on top of the keyboard when search is engaged. You may modify the returned inputAssistantItem to add to or replace the existing items on the bar. Modifications made to the returned UITextInputAssistantItem are reflected automatically. API-Since: 9.0- Overrides:
inputAssistantItemin classUIResponder
-
isSearchResultsButtonSelected
public boolean isSearchResultsButtonSelected()
default is NO API-Since: 3.2
-
setSearchResultsButtonSelected
public void setSearchResultsButtonSelected(boolean value)
default is NO API-Since: 3.2
-
isSecureTextEntry
public boolean isSecureTextEntry()
Description copied from interface:UITextInputTraitsdefault is NO- Specified by:
isSecureTextEntryin interfaceUITextInputTraits
-
setSecureTextEntry
public void setSecureTextEntry(boolean value)
Description copied from interface:UITextInputTraitsdefault is NO- Specified by:
setSecureTextEntryin interfaceUITextInputTraits
-
isTranslucent
public boolean isTranslucent()
Default is NO on iOS 6 and earlier. Always YES if barStyle is set to UIBarStyleBlackTranslucent API-Since: 3.0
-
setTranslucent
public void setTranslucent(boolean value)
Default is NO on iOS 6 and earlier. Always YES if barStyle is set to UIBarStyleBlackTranslucent API-Since: 3.0
-
keyboardAppearance
public long keyboardAppearance()
Description copied from interface:UITextInputTraitsdefault is UIKeyboardAppearanceDefault- Specified by:
keyboardAppearancein interfaceUITextInputTraits
-
keyboardType
public long keyboardType()
Description copied from interface:UITextInputTraitsdefault is UIKeyboardTypeDefault- Specified by:
keyboardTypein interfaceUITextInputTraits
-
placeholder
@Nullable public @Nullable java.lang.String placeholder()
default is nil
-
positionAdjustmentForSearchBarIcon
public UIOffset positionAdjustmentForSearchBarIcon(long icon)
API-Since: 5.0
-
prompt
@Nullable public @Nullable java.lang.String prompt()
default is nil
-
returnKeyType
public long returnKeyType()
Description copied from interface:UITextInputTraitsdefault is UIReturnKeyDefault (See note under UIReturnKeyType enum)- Specified by:
returnKeyTypein interfaceUITextInputTraits
-
scopeBarBackgroundImage
@Nullable public @Nullable UIImage scopeBarBackgroundImage()
API-Since: 5.0
-
scopeBarButtonBackgroundImageForState
@Nullable public @Nullable UIImage scopeBarButtonBackgroundImageForState(long state)
API-Since: 5.0
-
scopeBarButtonDividerImageForLeftSegmentStateRightSegmentState
@Nullable public @Nullable UIImage scopeBarButtonDividerImageForLeftSegmentStateRightSegmentState(long leftState, long rightState)
API-Since: 5.0
-
scopeBarButtonTitleTextAttributesForState
@Nullable public @Nullable NSDictionary<java.lang.String,?> scopeBarButtonTitleTextAttributesForState(long state)
API-Since: 5.0
-
scopeButtonTitles
@Nullable public @Nullable NSArray<java.lang.String> scopeButtonTitles()
array of NSStrings. no scope bar shown unless 2 or more items API-Since: 3.0
-
searchBarStyle
public long searchBarStyle()
API-Since: 7.0
-
searchFieldBackgroundImageForState
@Nullable public @Nullable UIImage searchFieldBackgroundImageForState(long state)
API-Since: 5.0
-
searchFieldBackgroundPositionAdjustment
public UIOffset searchFieldBackgroundPositionAdjustment()
To nudge the position of the search text field background in the search bar API-Since: 5.0
-
searchTextPositionAdjustment
public UIOffset searchTextPositionAdjustment()
To nudge the position of the text within the search text field background API-Since: 5.0
-
selectedScopeButtonIndex
public long selectedScopeButtonIndex()
index into array of scope button titles. default is 0. ignored if out of range API-Since: 3.0
-
setAutocapitalizationType
public void setAutocapitalizationType(long value)
Description copied from interface:UITextInputTraitsdefault is UITextAutocapitalizationTypeSentences- Specified by:
setAutocapitalizationTypein interfaceUITextInputTraits
-
setAutocorrectionType
public void setAutocorrectionType(long value)
Description copied from interface:UITextInputTraitsdefault is UITextAutocorrectionTypeDefault- Specified by:
setAutocorrectionTypein interfaceUITextInputTraits
-
setBackgroundImage
public void setBackgroundImage(@Nullable @Nullable UIImage value)1pt wide images and resizable images will be scaled or tiled according to the resizable area, otherwise the image will be tiled API-Since: 5.0
-
setBackgroundImageForBarPositionBarMetrics
public void setBackgroundImageForBarPositionBarMetrics(@Nullable @Nullable UIImage backgroundImage, long barPosition, long barMetrics)Use UIBarMetricsDefaultPrompt to set a separate backgroundImage for a search bar with a prompt API-Since: 7.0
-
setBarStyle
public void setBarStyle(long value)
default is UIBarStyleDefault (blue)
-
setBarTintColor
public void setBarTintColor(@Nullable @Nullable UIColor value)default is nil API-Since: 7.0
-
setDelegate_unsafe
public void setDelegate_unsafe(@Nullable @Nullable UISearchBarDelegate value)weak reference. default is nil
-
setDelegate
public void setDelegate(@Nullable @Nullable UISearchBarDelegate value)weak reference. default is nil
-
setEnablesReturnKeyAutomatically
public void setEnablesReturnKeyAutomatically(boolean value)
Description copied from interface:UITextInputTraitsdefault 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)- Specified by:
setEnablesReturnKeyAutomaticallyin interfaceUITextInputTraits
-
setImageForSearchBarIconState
public void setImageForSearchBarIconState(@Nullable @Nullable UIImage iconImage, long icon, long state)API-Since: 5.0
-
setInputAccessoryView
public void setInputAccessoryView(@Nullable @Nullable UIView value)Allow placement of an input accessory view to the keyboard for the search bar
-
setKeyboardAppearance
public void setKeyboardAppearance(long value)
Description copied from interface:UITextInputTraitsdefault is UIKeyboardAppearanceDefault- Specified by:
setKeyboardAppearancein interfaceUITextInputTraits
-
setKeyboardType
public void setKeyboardType(long value)
Description copied from interface:UITextInputTraitsdefault is UIKeyboardTypeDefault- Specified by:
setKeyboardTypein interfaceUITextInputTraits
-
setPlaceholder
public void setPlaceholder(@Nullable @Nullable java.lang.String value)default is nil
-
setPositionAdjustmentForSearchBarIcon
public void setPositionAdjustmentForSearchBarIcon(UIOffset adjustment, long icon)
To nudge the position of the icon within the search text field API-Since: 5.0
-
setPrompt
public void setPrompt(@Nullable @Nullable java.lang.String value)default is nil
-
setReturnKeyType
public void setReturnKeyType(long value)
Description copied from interface:UITextInputTraitsdefault is UIReturnKeyDefault (See note under UIReturnKeyType enum)- Specified by:
setReturnKeyTypein interfaceUITextInputTraits
-
setScopeBarBackgroundImage
public void setScopeBarBackgroundImage(@Nullable @Nullable UIImage value)API-Since: 5.0
-
setScopeBarButtonBackgroundImageForState
public void setScopeBarButtonBackgroundImageForState(@Nullable @Nullable UIImage backgroundImage, long state)If backgroundImage is an image returned from -[UIImage resizableImageWithCapInsets:] the cap widths will be calculated from the edge insets, otherwise, the cap width will be calculated by subtracting one from the image's width then dividing by 2. The cap widths will also be used as the margins for text placement. To adjust the margin use the margin adjustment methods. API-Since: 5.0
-
setScopeBarButtonDividerImageForLeftSegmentStateRightSegmentState
public void setScopeBarButtonDividerImageForLeftSegmentStateRightSegmentState(@Nullable @Nullable UIImage dividerImage, long leftState, long rightState)To customize the segmented control appearance you will need to provide divider images to go between two unselected segments (leftSegmentState:UIControlStateNormal rightSegmentState:UIControlStateNormal), selected on the left and unselected on the right (leftSegmentState:UIControlStateSelected rightSegmentState:UIControlStateNormal), and unselected on the left and selected on the right (leftSegmentState:UIControlStateNormal rightSegmentState:UIControlStateSelected). API-Since: 5.0
-
setScopeBarButtonTitleTextAttributesForState
public void setScopeBarButtonTitleTextAttributesForState(@Nullable @Nullable NSDictionary<java.lang.String,?> attributes, long state)You may specify the font, text color, and shadow properties for the title in the text attributes dictionary, using the keys found in NSAttributedString.h. API-Since: 5.0
-
setScopeButtonTitles
public void setScopeButtonTitles(@Nullable @Nullable NSArray<java.lang.String> value)array of NSStrings. no scope bar shown unless 2 or more items API-Since: 3.0
-
setSearchBarStyle
public void setSearchBarStyle(long value)
API-Since: 7.0
-
setSearchFieldBackgroundImageForState
public void setSearchFieldBackgroundImageForState(@Nullable @Nullable UIImage backgroundImage, long state)The rounded-rect search text field image. Valid states are UIControlStateNormal and UIControlStateDisabled API-Since: 5.0
-
setSearchFieldBackgroundPositionAdjustment
public void setSearchFieldBackgroundPositionAdjustment(UIOffset value)
To nudge the position of the search text field background in the search bar API-Since: 5.0
-
setSearchTextPositionAdjustment
public void setSearchTextPositionAdjustment(UIOffset value)
To nudge the position of the text within the search text field background API-Since: 5.0
-
setSelectedScopeButtonIndex
public void setSelectedScopeButtonIndex(long value)
index into array of scope button titles. default is 0. ignored if out of range API-Since: 3.0
-
setShowsBookmarkButton
public void setShowsBookmarkButton(boolean value)
default is NO
-
setShowsCancelButton
public void setShowsCancelButton(boolean value)
default is NO
-
setShowsCancelButtonAnimated
public void setShowsCancelButtonAnimated(boolean showsCancelButton, boolean animated)API-Since: 3.0
-
setShowsScopeBar
public void setShowsScopeBar(boolean value)
default is NO. if YES, shows the scope bar. call sizeToFit: to update frame API-Since: 3.0
-
setShowsSearchResultsButton
public void setShowsSearchResultsButton(boolean value)
default is NO API-Since: 3.2
-
setSpellCheckingType
public void setSpellCheckingType(long value)
Description copied from interface:UITextInputTraitsdefault is UITextSpellCheckingTypeDefault; API-Since: 5.0- Specified by:
setSpellCheckingTypein interfaceUITextInputTraits
-
setText
public void setText(@Nullable @Nullable java.lang.String value)current/starting search text
-
setTextContentType
public void setTextContentType(java.lang.String value)
Description copied from interface:UITextInputTraitsdefault is nil API-Since: 10.0- Specified by:
setTextContentTypein interfaceUITextInputTraits
-
setTintColor
public void setTintColor(UIColor value)
The behavior of tintColor for bars has changed on iOS 7.0. It no longer affects the bar's background and behaves as described for the tintColor property added to UIView. To tint the bar's background, please use -barTintColor.- Overrides:
setTintColorin classUIView
-
showsBookmarkButton
public boolean showsBookmarkButton()
default is NO
-
showsCancelButton
public boolean showsCancelButton()
default is NO
-
showsScopeBar
public boolean showsScopeBar()
default is NO. if YES, shows the scope bar. call sizeToFit: to update frame API-Since: 3.0
-
showsSearchResultsButton
public boolean showsSearchResultsButton()
default is NO API-Since: 3.2
-
spellCheckingType
public long spellCheckingType()
Description copied from interface:UITextInputTraitsdefault is UITextSpellCheckingTypeDefault; API-Since: 5.0- Specified by:
spellCheckingTypein interfaceUITextInputTraits
-
text
@Nullable public @Nullable java.lang.String text()
current/starting search text
-
textContentType
public java.lang.String textContentType()
Description copied from interface:UITextInputTraitsdefault is nil API-Since: 10.0- Specified by:
textContentTypein interfaceUITextInputTraits
-
tintColor
public UIColor tintColor()
The behavior of tintColor for bars has changed on iOS 7.0. It no longer affects the bar's background and behaves as described for the tintColor property added to UIView. To tint the bar's background, please use -barTintColor.
-
setSmartDashesType
public void setSmartDashesType(long value)
Description copied from interface:UITextInputTraitsdefault is UITextSmartDashesTypeDefault; API-Since: 11.0- Specified by:
setSmartDashesTypein interfaceUITextInputTraits
-
setSmartInsertDeleteType
public void setSmartInsertDeleteType(long value)
Description copied from interface:UITextInputTraitsdefault is UITextSmartInsertDeleteTypeDefault; API-Since: 11.0- Specified by:
setSmartInsertDeleteTypein interfaceUITextInputTraits
-
setSmartQuotesType
public void setSmartQuotesType(long value)
Description copied from interface:UITextInputTraitsdefault is UITextSmartQuotesTypeDefault; API-Since: 11.0- Specified by:
setSmartQuotesTypein interfaceUITextInputTraits
-
smartDashesType
public long smartDashesType()
Description copied from interface:UITextInputTraitsdefault is UITextSmartDashesTypeDefault; API-Since: 11.0- Specified by:
smartDashesTypein interfaceUITextInputTraits
-
smartInsertDeleteType
public long smartInsertDeleteType()
Description copied from interface:UITextInputTraitsdefault is UITextSmartInsertDeleteTypeDefault; API-Since: 11.0- Specified by:
smartInsertDeleteTypein interfaceUITextInputTraits
-
smartQuotesType
public long smartQuotesType()
Description copied from interface:UITextInputTraitsdefault is UITextSmartQuotesTypeDefault; API-Since: 11.0- Specified by:
smartQuotesTypein interfaceUITextInputTraits
-
modifyAnimationsWithRepeatCountAutoreversesAnimations
public static void modifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, @NotNull UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)
-
passwordRules
@Nullable public @Nullable UITextInputPasswordRules passwordRules()
Description copied from interface:UITextInputTraitsdefault is nil API-Since: 12.0- Specified by:
passwordRulesin interfaceUITextInputTraits
-
searchTextField
@NotNull public @NotNull UISearchTextField searchTextField()
API-Since: 13.0
-
setPasswordRules
public void setPasswordRules(@Nullable @Nullable UITextInputPasswordRules value)Description copied from interface:UITextInputTraitsdefault is nil API-Since: 12.0- Specified by:
setPasswordRulesin interfaceUITextInputTraits
-
setShowsScopeBarAnimated
public void setShowsScopeBarAnimated(boolean show, boolean animate)API-Since: 13.0
-
animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion
public static void animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion(double duration, double bounce, double velocity, double delay, long options, @NotNull UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5 animations, @Nullable UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_6 completion)
-
inlinePredictionType
public long inlinePredictionType()
Description copied from interface:UITextInputTraitsdefault is UITextInlinePredictionTypeDefault API-Since: 17.0- Specified by:
inlinePredictionTypein interfaceUITextInputTraits
-
isEnabled
public boolean isEnabled()
Default YES API-Since: 16.4
-
isLookToDictateEnabled
public boolean isLookToDictateEnabled()
Description copied from interface:UILookToDictateCapableEnable or disable 'Look To Dictate' on the receiver. API-Since: 17.0- Specified by:
isLookToDictateEnabledin interfaceUILookToDictateCapable
-
setEnabled
public void setEnabled(boolean value)
Default YES API-Since: 16.4
-
setInlinePredictionType
public void setInlinePredictionType(long value)
Description copied from interface:UITextInputTraitsdefault is UITextInlinePredictionTypeDefault API-Since: 17.0- Specified by:
setInlinePredictionTypein interfaceUITextInputTraits
-
setLookToDictateEnabled
public void setLookToDictateEnabled(boolean value)
Description copied from interface:UILookToDictateCapableEnable or disable 'Look To Dictate' on the receiver. API-Since: 17.0- Specified by:
setLookToDictateEnabledin interfaceUILookToDictateCapable
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-