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 java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • appearance

        public static java.lang.Object appearance()
      • appearanceForTraitCollection

        public static java.lang.Object appearanceForTraitCollection​(UITraitCollection trait)
      • appearanceForTraitCollectionWhenContainedIn

        @Deprecated
        public static java.lang.Object appearanceForTraitCollectionWhenContainedIn​(UITraitCollection trait,
                                                                                   UIAppearanceContainer ContainerClass,
                                                                                   java.lang.Object... varargs)
        Deprecated.
      • appearanceForTraitCollectionWhenContainedInInstancesOfClasses

        public static java.lang.Object appearanceForTraitCollectionWhenContainedInInstancesOfClasses​(UITraitCollection trait,
                                                                                                     NSArray<?> containerTypes)
      • appearanceWhenContainedIn

        @Deprecated
        public static java.lang.Object appearanceWhenContainedIn​(UIAppearanceContainer ContainerClass,
                                                                 java.lang.Object... varargs)
        Deprecated.
      • appearanceWhenContainedInInstancesOfClasses

        public static java.lang.Object appearanceWhenContainedInInstancesOfClasses​(NSArray<?> containerTypes)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object 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

        public java.lang.Object _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

        @Deprecated
        public java.lang.Object _appearanceWhenContainedIn​(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.
        Specified by:
        _appearanceWhenContainedIn in interface UIAppearance
        Overrides:
        _appearanceWhenContainedIn in class UIBarItem
      • badgeColor

        public 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.
      • badgeTextAttributesForState

        public NSDictionary<java.lang.String,​?> badgeTextAttributesForState​(long state)
        Returns attributes previously set via -setBadgeTextAttributes:forState:.
      • badgeValue

        public java.lang.String badgeValue()
        default is nil
      • finishedSelectedImage

        @Deprecated
        public UIImage finishedSelectedImage()
        Deprecated.
      • finishedUnselectedImage

        @Deprecated
        public UIImage finishedUnselectedImage()
        Deprecated.
      • initWithTabBarSystemItemTag

        public UITabBarItem initWithTabBarSystemItemTag​(long systemItem,
                                                        long tag)
      • initWithTitleImageSelectedImage

        public UITabBarItem initWithTitleImageSelectedImage​(java.lang.String title,
                                                            UIImage image,
                                                            UIImage selectedImage)
      • initWithTitleImageTag

        public UITabBarItem initWithTitleImageTag​(java.lang.String title,
                                                  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

        public UIImage selectedImage()
      • setBadgeColor

        public void setBadgeColor​(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.
      • setBadgeTextAttributesForState

        public void setBadgeTextAttributesForState​(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.
      • setBadgeValue

        public void setBadgeValue​(java.lang.String value)
        default is nil
      • setFinishedSelectedImageWithFinishedUnselectedImage

        @Deprecated
        public void setFinishedSelectedImageWithFinishedUnselectedImage​(UIImage selectedImage,
                                                                        UIImage unselectedImage)
        Deprecated.
        These methods are now deprecated. Please use -initWithTitle:image:selectedImage:.
      • setSelectedImage

        public void setSelectedImage​(UIImage value)
      • 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)
      • 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)
      • setStandardAppearance

        public void setStandardAppearance​(UITabBarAppearance value)
        When set and this item is selected, overrides the hosting tab bar's standardAppearance.
      • standardAppearance

        public UITabBarAppearance standardAppearance()
        When set and this item is selected, overrides the hosting tab bar's standardAppearance.