Package apple.uikit

Class UITabBarItem

    • Constructor Detail

      • UITabBarItem

        protected UITabBarItem​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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()
      • 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)
      • 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: UIAppearance
        To 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:
        _appearance in interface UIAppearance
        Overrides:
        _appearance in class UIBarItem
      • _appearanceWhenContainedIn

        @NotNull
        @Deprecated
        public @NotNull UITabBarItem _appearanceWhenContainedIn​(@Nullable
                                                                @Nullable UIAppearanceContainer ContainerClass,
                                                                java.lang.Object... varargs)
        Deprecated.
        Description copied from interface: UIAppearance
        To 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:
        _appearanceWhenContainedIn in interface UIAppearance
        Overrides:
        _appearanceWhenContainedIn in class UIBarItem
      • 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
      • 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
      • 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
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.