Package apple.uikit
Class UITabBarItem
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIBarItem
-
- apple.uikit.UITabBarItem
-
- All Implemented Interfaces:
NSCoding,NSObject,UIAccessibilityIdentification,UIAppearance,UIPopoverPresentationControllerSourceItem,UISpringLoadedInteractionSupporting
public class UITabBarItem extends UIBarItem implements UISpringLoadedInteractionSupporting, UIPopoverPresentationControllerSourceItem
API-Since: 2.0
-
-
Nested Class Summary
-
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUITabBarItem(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull UITabBarItem_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 UITabBarItem_appearanceForTraitCollection(@NotNull UITraitCollection trait)API-Since: 8.0@NotNull UITabBarItem_appearanceForTraitCollectionWhenContainedIn(@NotNull UITraitCollection trait, @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.@NotNull UITabBarItem_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull UITraitCollection trait, @NotNull NSArray<?> containerTypes)API-Since: 9.0@NotNull UITabBarItem_appearanceWhenContainedIn(@Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.@NotNull UITabBarItem_appearanceWhenContainedInInstancesOfClasses(@NotNull NSArray<?> containerTypes)API-Since: 9.0static booleanaccessInstanceVariablesDirectly()static UITabBarItemalloc()static UITabBarItemallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static @NotNull UITabBarItemappearance()static @NotNull UITabBarItemappearanceForTraitCollection(@NotNull UITraitCollection trait)static @NotNull UITabBarItemappearanceForTraitCollectionWhenContainedIn(@NotNull UITraitCollection trait, @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static @NotNull UITabBarItemappearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull UITraitCollection trait, @NotNull NSArray<?> containerTypes)static @NotNull UITabBarItemappearanceWhenContainedIn(@Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static @NotNull UITabBarItemappearanceWhenContainedInInstancesOfClasses(@NotNull NSArray<?> containerTypes)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)@Nullable UIColorbadgeColor()If this item displays a badge, this color will be used for the badge's background.@Nullable NSDictionary<java.lang.String,?>badgeTextAttributesForState(long state)Returns attributes previously set via -setBadgeTextAttributes:forState:.@Nullable java.lang.StringbadgeValue()default is nilstatic 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 java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()@Nullable UIImagefinishedSelectedImage()Deprecated.@Nullable UIImagefinishedUnselectedImage()Deprecated.CGRectframeInView(@NotNull UIView referenceView)API-Since: 17.0static longhash_static()UITabBarIteminit()UITabBarIteminitWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZERUITabBarIteminitWithTabBarSystemItemTag(long systemItem, long tag)UITabBarIteminitWithTitleImageSelectedImage(@Nullable java.lang.String title, @Nullable UIImage image, @Nullable UIImage selectedImage)API-Since: 7.0UITabBarIteminitWithTitleImageTag(@Nullable java.lang.String title, @Nullable UIImage image, long tag)The unselected image is autogenerated from the image argument.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)booleanisSpringLoaded()API-Since: 11.0static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static UITabBarItemnew_objc()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)@Nullable UITabBarAppearancescrollEdgeAppearance()When set and this item is selected, overrides the hosting tab bar's scrollEdgeAppearance.@Nullable UIImageselectedImage()API-Since: 7.0voidsetBadgeColor(@Nullable UIColor value)If this item displays a badge, this color will be used for the badge's background.voidsetBadgeTextAttributesForState(@Nullable NSDictionary<java.lang.String,?> textAttributes, long state)Provide text attributes to use to draw the badge text for the given singular control state (Normal, Disabled, Focused, Selected, or Highlighted).voidsetBadgeValue(@Nullable java.lang.String value)default is nilvoidsetFinishedSelectedImageWithFinishedUnselectedImage(@Nullable UIImage selectedImage, @Nullable UIImage unselectedImage)Deprecated.voidsetScrollEdgeAppearance(@Nullable UITabBarAppearance value)When set and this item is selected, overrides the hosting tab bar's scrollEdgeAppearance.voidsetSelectedImage(@Nullable UIImage value)API-Since: 7.0voidsetSpringLoaded(boolean value)API-Since: 11.0voidsetStandardAppearance(@Nullable UITabBarAppearance value)When set and this item is selected, overrides the hosting tab bar's standardAppearance.voidsetTitlePositionAdjustment(UIOffset value)To set item label text attributes use the appearance selectors available on the superclass, UIBarItem.static voidsetVersion_static(long aVersion)@Nullable UITabBarAppearancestandardAppearance()When set and this item is selected, overrides the hosting tab bar's standardAppearance.static org.moe.natj.objc.Classsuperclass_static()UIOffsettitlePositionAdjustment()To set item label text attributes use the appearance selectors available on the superclass, UIBarItem.static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.uikit.UIBarItem
accessibilityIdentifier, encodeWithCoder, image, imageInsets, isEnabled, landscapeImagePhone, landscapeImagePhoneInsets, largeContentSizeImage, largeContentSizeImageInsets, setAccessibilityIdentifier, setEnabled, setImage, setImageInsets, setLandscapeImagePhone, setLandscapeImagePhoneInsets, setLargeContentSizeImage, setLargeContentSizeImageInsets, setTag, setTitle, setTitleTextAttributesForState, tag, title, titleTextAttributesForState
-
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()
-
alloc
public static UITabBarItem alloc()
-
allocWithZone
public static UITabBarItem allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
appearance
@NotNull public static @NotNull UITabBarItem appearance()
-
appearanceForTraitCollection
@NotNull public static @NotNull UITabBarItem appearanceForTraitCollection(@NotNull @NotNull UITraitCollection trait)
-
appearanceForTraitCollectionWhenContainedIn
@NotNull @Deprecated public static @NotNull UITabBarItem appearanceForTraitCollectionWhenContainedIn(@NotNull @NotNull UITraitCollection trait, @Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceForTraitCollectionWhenContainedInInstancesOfClasses
@NotNull public static @NotNull UITabBarItem appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull @NotNull UITraitCollection trait, @NotNull @NotNull NSArray<?> containerTypes)
-
appearanceWhenContainedIn
@NotNull @Deprecated public static @NotNull UITabBarItem appearanceWhenContainedIn(@Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceWhenContainedInInstancesOfClasses
@NotNull public static @NotNull UITabBarItem appearanceWhenContainedInInstancesOfClasses(@NotNull @NotNull NSArray<?> containerTypes)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
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()
-
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()
-
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)
-
new_objc
public static UITabBarItem new_objc()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
_appearance
@NotNull public @NotNull UITabBarItem _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 classUIBarItem
-
_appearanceForTraitCollection
@NotNull public @NotNull UITabBarItem _appearanceForTraitCollection(@NotNull @NotNull UITraitCollection trait)
Description copied from interface:UIAppearanceAPI-Since: 8.0- Specified by:
_appearanceForTraitCollectionin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionin classUIBarItem
-
_appearanceForTraitCollectionWhenContainedIn
@NotNull @Deprecated public @NotNull UITabBarItem _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 classUIBarItem
-
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses
@NotNull public @NotNull UITabBarItem _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull @NotNull UITraitCollection trait, @NotNull @NotNull NSArray<?> containerTypes)
Description copied from interface:UIAppearanceAPI-Since: 9.0- Specified by:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin classUIBarItem
-
_appearanceWhenContainedIn
@NotNull @Deprecated public @NotNull UITabBarItem _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 classUIBarItem
-
_appearanceWhenContainedInInstancesOfClasses
@NotNull public @NotNull UITabBarItem _appearanceWhenContainedInInstancesOfClasses(@NotNull @NotNull NSArray<?> containerTypes)
Description copied from interface:UIAppearanceAPI-Since: 9.0- Specified by:
_appearanceWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInInstancesOfClassesin classUIBarItem
-
badgeColor
@Nullable public @Nullable UIColor badgeColor()
If this item displays a badge, this color will be used for the badge's background. If set to nil, the default background color will be used instead. API-Since: 10.0
-
badgeTextAttributesForState
@Nullable public @Nullable NSDictionary<java.lang.String,?> badgeTextAttributesForState(long state)
Returns attributes previously set via -setBadgeTextAttributes:forState:. API-Since: 10.0
-
badgeValue
@Nullable public @Nullable java.lang.String badgeValue()
default is nil
-
finishedSelectedImage
@Nullable @Deprecated public @Nullable UIImage finishedSelectedImage()
Deprecated.API-Since: 5.0 Deprecated-Since: 7.0
-
finishedUnselectedImage
@Nullable @Deprecated public @Nullable UIImage finishedUnselectedImage()
Deprecated.API-Since: 5.0 Deprecated-Since: 7.0
-
init
public UITabBarItem init()
-
initWithCoder
public UITabBarItem initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classUIBarItem
-
initWithTabBarSystemItemTag
public UITabBarItem initWithTabBarSystemItemTag(long systemItem, long tag)
-
initWithTitleImageSelectedImage
public UITabBarItem initWithTitleImageSelectedImage(@Nullable @Nullable java.lang.String title, @Nullable @Nullable UIImage image, @Nullable @Nullable UIImage selectedImage)
API-Since: 7.0
-
initWithTitleImageTag
public UITabBarItem initWithTitleImageTag(@Nullable @Nullable java.lang.String title, @Nullable @Nullable UIImage image, long tag)
The unselected image is autogenerated from the image argument. The selected image is autogenerated from the selectedImage if provided and the image argument otherwise. To prevent system coloring, provide images with UIImageRenderingModeAlwaysOriginal (see UIImage.h)
-
selectedImage
@Nullable public @Nullable UIImage selectedImage()
API-Since: 7.0
-
setBadgeColor
public void setBadgeColor(@Nullable @Nullable UIColor value)If this item displays a badge, this color will be used for the badge's background. If set to nil, the default background color will be used instead. API-Since: 10.0
-
setBadgeTextAttributesForState
public void setBadgeTextAttributesForState(@Nullable @Nullable NSDictionary<java.lang.String,?> textAttributes, long state)Provide text attributes to use to draw the badge text for the given singular control state (Normal, Disabled, Focused, Selected, or Highlighted). Default values will be supplied for keys that are not provided by this dictionary. See NSAttributedString.h for details on what keys are available. API-Since: 10.0
-
setBadgeValue
public void setBadgeValue(@Nullable @Nullable java.lang.String value)default is nil
-
setFinishedSelectedImageWithFinishedUnselectedImage
@Deprecated public void setFinishedSelectedImageWithFinishedUnselectedImage(@Nullable @Nullable UIImage selectedImage, @Nullable @Nullable UIImage unselectedImage)Deprecated.These methods are now deprecated. Please use -initWithTitle:image:selectedImage:. API-Since: 5.0 Deprecated-Since: 7.0 Deprecated-Message: Use initWithTitle:image:selectedImage: or the image and selectedImage properties along with UIImageRenderingModeAlwaysOriginal
-
setSelectedImage
public void setSelectedImage(@Nullable @Nullable UIImage value)API-Since: 7.0
-
setTitlePositionAdjustment
public void setTitlePositionAdjustment(UIOffset value)
To set item label text attributes use the appearance selectors available on the superclass, UIBarItem. Use the following to tweak the relative position of the label within the tab button (for handling visual centering corrections if needed because of custom text attributes) API-Since: 5.0
-
titlePositionAdjustment
public UIOffset titlePositionAdjustment()
To set item label text attributes use the appearance selectors available on the superclass, UIBarItem. Use the following to tweak the relative position of the label within the tab button (for handling visual centering corrections if needed because of custom text attributes) API-Since: 5.0
-
isSpringLoaded
public boolean isSpringLoaded()
Description copied from interface:UISpringLoadedInteractionSupportingAPI-Since: 11.0- Specified by:
isSpringLoadedin interfaceUISpringLoadedInteractionSupporting
-
setSpringLoaded
public void setSpringLoaded(boolean value)
Description copied from interface:UISpringLoadedInteractionSupportingAPI-Since: 11.0- Specified by:
setSpringLoadedin interfaceUISpringLoadedInteractionSupporting
-
setStandardAppearance
public void setStandardAppearance(@Nullable @Nullable UITabBarAppearance value)When set and this item is selected, overrides the hosting tab bar's standardAppearance. API-Since: 13.0
-
standardAppearance
@Nullable public @Nullable UITabBarAppearance standardAppearance()
When set and this item is selected, overrides the hosting tab bar's standardAppearance. API-Since: 13.0
-
scrollEdgeAppearance
@Nullable public @Nullable UITabBarAppearance scrollEdgeAppearance()
When set and this item is selected, overrides the hosting tab bar's scrollEdgeAppearance. API-Since: 15.0
-
setScrollEdgeAppearance
public void setScrollEdgeAppearance(@Nullable @Nullable UITabBarAppearance value)When set and this item is selected, overrides the hosting tab bar's scrollEdgeAppearance. API-Since: 15.0
-
frameInView
public CGRect frameInView(@NotNull @NotNull UIView referenceView)
Description copied from interface:UIPopoverPresentationControllerSourceItemAPI-Since: 17.0- Specified by:
frameInViewin interfaceUIPopoverPresentationControllerSourceItem
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-