public class UISearchBar extends UIView implements UIBarPositioning, UITextInputTraits
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationAnimations, UIView.Block_animateWithDurationAnimationsCompletion_1, UIView.Block_animateWithDurationAnimationsCompletion_2, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4, UIView.Block_performWithoutAnimation, UIView.Block_transitionFromViewToViewDurationOptionsCompletion, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retUIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler| Modifier | Constructor and Description |
|---|---|
protected |
UISearchBar(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
UISearchBar |
_appearanceForTraitCollection(UITraitCollection trait) |
UISearchBar |
_appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait,
UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
UISearchBar |
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait,
NSArray<?> containerTypes) |
UISearchBar |
_appearanceWhenContainedIn(UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
UISearchBar |
_appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes) |
static boolean |
accessInstanceVariablesDirectly() |
static void |
addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime,
double frameDuration,
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations) |
static UISearchBar |
alloc() |
static UISearchBar |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
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 UISearchBar |
appearance() |
static UISearchBar |
appearanceForTraitCollection(UITraitCollection trait) |
static UISearchBar |
appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait,
UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
static UISearchBar |
appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait,
NSArray<?> containerTypes) |
static UISearchBar |
appearanceWhenContainedIn(UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
static UISearchBar |
appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes) |
static boolean |
areAnimationsEnabled() |
long |
autocapitalizationType()
default is UITextAutocapitalizationTypeSentences
|
long |
autocorrectionType()
default is UITextAutocorrectionTypeDefault
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
UIImage |
backgroundImage()
1pt wide images and resizable images will be scaled or tiled according to the resizable area, otherwise the image will be tiled
|
UIImage |
backgroundImageForBarPositionBarMetrics(long barPosition,
long barMetrics) |
long |
barPosition() |
long |
barStyle()
default is UIBarStyleDefault (blue)
|
UIColor |
barTintColor()
default is nil
|
static void |
beginAnimationsContext(java.lang.String animationID,
org.moe.natj.general.ptr.VoidPtr context) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static void |
clearTextInputContextIdentifier(java.lang.String identifier) |
static void |
commitAnimations() |
static java.lang.String |
debugDescription_static() |
UISearchBarDelegate |
delegate()
weak reference.
|
static java.lang.String |
description_static() |
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)
|
static long |
hash_static() |
UIImage |
imageForSearchBarIconState(long icon,
long state) |
static double |
inheritedAnimationDuration() |
UISearchBar |
init() |
UISearchBar |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
UISearchBar |
initWithFrame(CGRect frame) |
UIView |
inputAccessoryView()
Allow placement of an input accessory view to the keyboard for the search bar
|
UITextInputAssistantItem |
inputAssistantItem()
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_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) |
boolean |
isSearchResultsButtonSelected()
default is NO
|
boolean |
isSecureTextEntry()
default is NO
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
boolean |
isTranslucent()
Default is NO on iOS 6 and earlier.
|
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() |
static void |
modifyAnimationsWithRepeatCountAutoreversesAnimations(double count,
boolean autoreverses,
UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations) |
static UISearchBar |
new_objc() |
UITextInputPasswordRules |
passwordRules()
default is nil
|
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
|
UIOffset |
positionAdjustmentForSearchBarIcon(long icon) |
java.lang.String |
prompt()
default is nil
|
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)
|
UIImage |
scopeBarBackgroundImage() |
UIImage |
scopeBarButtonBackgroundImageForState(long state) |
UIImage |
scopeBarButtonDividerImageForLeftSegmentStateRightSegmentState(long leftState,
long rightState) |
NSDictionary<java.lang.String,?> |
scopeBarButtonTitleTextAttributesForState(long state) |
NSArray<java.lang.String> |
scopeButtonTitles()
array of NSStrings.
|
long |
searchBarStyle() |
UIImage |
searchFieldBackgroundImageForState(long state) |
UIOffset |
searchFieldBackgroundPositionAdjustment()
To nudge the position of the search text field background in the search bar
|
UISearchTextField |
searchTextField() |
UIOffset |
searchTextPositionAdjustment()
To nudge the position of the text within the search text field background
|
long |
selectedScopeButtonIndex()
index into array of scope button titles.
|
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 |
setAutocapitalizationType(long value)
default is UITextAutocapitalizationTypeSentences
|
void |
setAutocorrectionType(long value)
default is UITextAutocorrectionTypeDefault
|
void |
setBackgroundImage(UIImage value)
1pt wide images and resizable images will be scaled or tiled according to the resizable area, otherwise the image will be tiled
|
void |
setBackgroundImageForBarPositionBarMetrics(UIImage backgroundImage,
long barPosition,
long barMetrics)
Use UIBarMetricsDefaultPrompt to set a separate backgroundImage for a search bar with a prompt
|
void |
setBarStyle(long value)
default is UIBarStyleDefault (blue)
|
void |
setBarTintColor(UIColor value)
default is nil
|
void |
setDelegate_unsafe(UISearchBarDelegate value)
weak reference.
|
void |
setDelegate(UISearchBarDelegate value)
weak reference.
|
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 |
setImageForSearchBarIconState(UIImage iconImage,
long icon,
long state) |
void |
setInputAccessoryView(UIView value)
Allow placement of an input accessory view to the keyboard for the search bar
|
void |
setKeyboardAppearance(long value)
default is UIKeyboardAppearanceDefault
|
void |
setKeyboardType(long value)
default is UIKeyboardTypeDefault
|
void |
setPasswordRules(UITextInputPasswordRules value)
default is nil
|
void |
setPlaceholder(java.lang.String value)
default is nil
|
void |
setPositionAdjustmentForSearchBarIcon(UIOffset adjustment,
long icon)
To nudge the position of the icon within the search text field
|
void |
setPrompt(java.lang.String value)
default is nil
|
void |
setReturnKeyType(long value)
default is UIReturnKeyDefault (See note under UIReturnKeyType enum)
|
void |
setScopeBarBackgroundImage(UIImage value) |
void |
setScopeBarButtonBackgroundImageForState(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.
|
void |
setScopeBarButtonDividerImageForLeftSegmentStateRightSegmentState(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).
|
void |
setScopeBarButtonTitleTextAttributesForState(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.
|
void |
setScopeButtonTitles(NSArray<java.lang.String> value)
array of NSStrings.
|
void |
setSearchBarStyle(long value) |
void |
setSearchFieldBackgroundImageForState(UIImage backgroundImage,
long state)
The rounded-rect search text field image.
|
void |
setSearchFieldBackgroundPositionAdjustment(UIOffset value)
To nudge the position of the search text field background in the search bar
|
void |
setSearchResultsButtonSelected(boolean value)
default is NO
|
void |
setSearchTextPositionAdjustment(UIOffset value)
To nudge the position of the text within the search text field background
|
void |
setSecureTextEntry(boolean value)
default is NO
|
void |
setSelectedScopeButtonIndex(long value)
index into array of scope button titles.
|
void |
setShowsBookmarkButton(boolean value)
default is NO
|
void |
setShowsCancelButton(boolean value)
default is NO
|
void |
setShowsCancelButtonAnimated(boolean showsCancelButton,
boolean animated) |
void |
setShowsScopeBar(boolean value)
default is NO.
|
void |
setShowsScopeBarAnimated(boolean show,
boolean animate) |
void |
setShowsSearchResultsButton(boolean value)
default is NO
|
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)
current/starting search text
|
void |
setTextContentType(java.lang.String value)
default is nil
|
void |
setTintColor(UIColor value)
The behavior of tintColor for bars has changed on iOS 7.0.
|
void |
setTranslucent(boolean value)
Default is NO on iOS 6 and earlier.
|
static void |
setVersion_static(long aVersion) |
boolean |
showsBookmarkButton()
default is NO
|
boolean |
showsCancelButton()
default is NO
|
boolean |
showsScopeBar()
default is NO.
|
boolean |
showsSearchResultsButton()
default is NO
|
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()
current/starting search text
|
java.lang.String |
textContentType()
default is nil
|
UIColor |
tintColor()
The behavior of tintColor for bars has changed on iOS 7.0.
|
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) |
static long |
userInterfaceLayoutDirectionForSemanticContentAttribute(long attribute) |
static long |
userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute,
long layoutDirection) |
static long |
version_static() |
accessibilityIdentifier, 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, encodeWithCoder, 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, setTransform, setTransform3D, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocusInContext, showsLargeContentViewer, sizeThatFits, sizeToFit, snapshotViewAfterScreenUpdates, subviews, superview, systemLayoutSizeFittingSize, systemLayoutSizeFittingSizeWithHorizontalFittingPriorityVerticalFittingPriority, tag, tintAdjustmentMode, tintColorDidChange, topAnchor, trailingAnchor, traitCollection, traitCollectionDidChange, transform, transform3D, translatesAutoresizingMaskIntoConstraints, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, viewForBaselineLayout, viewForFirstBaselineLayout, viewForLastBaselineLayout, viewPrintFormatter, viewWithTag, widthAnchor, willMoveToSuperview, willMoveToWindow, willRemoveSubview, windowactivityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryViewController, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, 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 UISearchBar alloc()
public static UISearchBar 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 UISearchBar appearance()
public static UISearchBar appearanceForTraitCollection(UITraitCollection trait)
@Deprecated public static UISearchBar appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
public static UISearchBar appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
@Deprecated public static UISearchBar appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
public static UISearchBar 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 UISearchBar 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 UISearchBar _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 UIViewpublic UISearchBar _appearanceForTraitCollection(UITraitCollection trait)
_appearanceForTraitCollection in interface UIAppearance_appearanceForTraitCollection in class UIView@Deprecated public UISearchBar _appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
_appearanceForTraitCollectionWhenContainedIn in interface UIAppearance_appearanceForTraitCollectionWhenContainedIn in class UIViewpublic UISearchBar _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses in interface UIAppearance_appearanceForTraitCollectionWhenContainedInInstancesOfClasses in class UIView@Deprecated public UISearchBar _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 UIViewpublic UISearchBar _appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
_appearanceWhenContainedInInstancesOfClasses in interface UIAppearance_appearanceWhenContainedInInstancesOfClasses in class UIViewpublic long autocapitalizationType()
UITextInputTraitsautocapitalizationType in interface UITextInputTraitspublic long autocorrectionType()
UITextInputTraitsautocorrectionType in interface UITextInputTraitspublic UIImage backgroundImage()
public UIImage backgroundImageForBarPositionBarMetrics(long barPosition, long barMetrics)
public long barPosition()
barPosition in interface UIBarPositioningpublic long barStyle()
public UIColor barTintColor()
public UISearchBarDelegate delegate()
public boolean enablesReturnKeyAutomatically()
UITextInputTraitsenablesReturnKeyAutomatically in interface UITextInputTraitspublic UIImage imageForSearchBarIconState(long icon, long state)
public UISearchBar init()
public UISearchBar initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class UIViewpublic UISearchBar initWithFrame(CGRect frame)
initWithFrame in class UIViewpublic UIView inputAccessoryView()
inputAccessoryView in class UIResponderpublic UITextInputAssistantItem inputAssistantItem()
inputAssistantItem in class UIResponderpublic boolean isSearchResultsButtonSelected()
public void setSearchResultsButtonSelected(boolean value)
public boolean isSecureTextEntry()
UITextInputTraitsisSecureTextEntry in interface UITextInputTraitspublic void setSecureTextEntry(boolean value)
UITextInputTraitssetSecureTextEntry in interface UITextInputTraitspublic boolean isTranslucent()
public void setTranslucent(boolean value)
public long keyboardAppearance()
UITextInputTraitskeyboardAppearance in interface UITextInputTraitspublic long keyboardType()
UITextInputTraitskeyboardType in interface UITextInputTraitspublic java.lang.String placeholder()
public UIOffset positionAdjustmentForSearchBarIcon(long icon)
public java.lang.String prompt()
public long returnKeyType()
UITextInputTraitsreturnKeyType in interface UITextInputTraitspublic UIImage scopeBarBackgroundImage()
public UIImage scopeBarButtonBackgroundImageForState(long state)
public UIImage scopeBarButtonDividerImageForLeftSegmentStateRightSegmentState(long leftState, long rightState)
public NSDictionary<java.lang.String,?> scopeBarButtonTitleTextAttributesForState(long state)
public NSArray<java.lang.String> scopeButtonTitles()
public long searchBarStyle()
public UIImage searchFieldBackgroundImageForState(long state)
public UIOffset searchFieldBackgroundPositionAdjustment()
public UIOffset searchTextPositionAdjustment()
public long selectedScopeButtonIndex()
public void setAutocapitalizationType(long value)
UITextInputTraitssetAutocapitalizationType in interface UITextInputTraitspublic void setAutocorrectionType(long value)
UITextInputTraitssetAutocorrectionType in interface UITextInputTraitspublic void setBackgroundImage(UIImage value)
public void setBackgroundImageForBarPositionBarMetrics(UIImage backgroundImage, long barPosition, long barMetrics)
public void setBarStyle(long value)
public void setBarTintColor(UIColor value)
public void setDelegate_unsafe(UISearchBarDelegate value)
public void setDelegate(UISearchBarDelegate value)
public void setEnablesReturnKeyAutomatically(boolean value)
UITextInputTraitssetEnablesReturnKeyAutomatically in interface UITextInputTraitspublic void setImageForSearchBarIconState(UIImage iconImage, long icon, long state)
public void setInputAccessoryView(UIView value)
public void setKeyboardAppearance(long value)
UITextInputTraitssetKeyboardAppearance in interface UITextInputTraitspublic void setKeyboardType(long value)
UITextInputTraitssetKeyboardType in interface UITextInputTraitspublic void setPlaceholder(java.lang.String value)
public void setPositionAdjustmentForSearchBarIcon(UIOffset adjustment, long icon)
public void setPrompt(java.lang.String value)
public void setReturnKeyType(long value)
UITextInputTraitssetReturnKeyType in interface UITextInputTraitspublic void setScopeBarBackgroundImage(UIImage value)
public void setScopeBarButtonBackgroundImageForState(UIImage backgroundImage, long state)
public void setScopeBarButtonDividerImageForLeftSegmentStateRightSegmentState(UIImage dividerImage, long leftState, long rightState)
public void setScopeBarButtonTitleTextAttributesForState(NSDictionary<java.lang.String,?> attributes, long state)
public void setScopeButtonTitles(NSArray<java.lang.String> value)
public void setSearchBarStyle(long value)
public void setSearchFieldBackgroundImageForState(UIImage backgroundImage, long state)
public void setSearchFieldBackgroundPositionAdjustment(UIOffset value)
public void setSearchTextPositionAdjustment(UIOffset value)
public void setSelectedScopeButtonIndex(long value)
public void setShowsBookmarkButton(boolean value)
public void setShowsCancelButton(boolean value)
public void setShowsCancelButtonAnimated(boolean showsCancelButton,
boolean animated)
public void setShowsScopeBar(boolean value)
public void setShowsSearchResultsButton(boolean value)
public void setSpellCheckingType(long value)
UITextInputTraitssetSpellCheckingType in interface UITextInputTraitspublic void setText(java.lang.String value)
public void setTextContentType(java.lang.String value)
UITextInputTraitssetTextContentType in interface UITextInputTraitspublic void setTintColor(UIColor value)
setTintColor in class UIViewpublic boolean showsBookmarkButton()
public boolean showsCancelButton()
public boolean showsScopeBar()
public boolean showsSearchResultsButton()
public long spellCheckingType()
UITextInputTraitsspellCheckingType in interface UITextInputTraitspublic java.lang.String text()
public java.lang.String textContentType()
UITextInputTraitstextContentType in interface UITextInputTraitspublic UIColor tintColor()
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 long smartDashesType()
UITextInputTraitssmartDashesType in interface UITextInputTraitspublic long smartInsertDeleteType()
UITextInputTraitssmartInsertDeleteType in interface UITextInputTraitspublic long smartQuotesType()
UITextInputTraitssmartQuotesType in interface UITextInputTraitspublic static void modifyAnimationsWithRepeatCountAutoreversesAnimations(double count,
boolean autoreverses,
UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)
public UITextInputPasswordRules passwordRules()
UITextInputTraitspasswordRules in interface UITextInputTraitspublic UISearchTextField searchTextField()
public void setPasswordRules(UITextInputPasswordRules value)
UITextInputTraitssetPasswordRules in interface UITextInputTraitspublic void setShowsScopeBarAnimated(boolean show,
boolean animate)