Package apple.uikit

Class UITabBar

    • Constructor Detail

      • UITabBar

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alloc

        public static UITabBar alloc()
      • 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)
      • areAnimationsEnabled

        public static boolean areAnimationsEnabled()
      • automaticallyNotifiesObserversForKey

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

        public static void beginAnimationsContext​(java.lang.String animationID,
                                                  org.moe.natj.general.ptr.VoidPtr context)
      • 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()
      • clearTextInputContextIdentifier

        public static void clearTextInputContextIdentifier​(java.lang.String identifier)
      • commitAnimations

        public static void commitAnimations()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • inheritedAnimationDuration

        public static double inheritedAnimationDuration()
      • 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)
      • layerClass

        public static org.moe.natj.objc.Class layerClass()
      • new_objc

        public static java.lang.Object new_objc()
      • requiresConstraintBasedLayout

        public static boolean requiresConstraintBasedLayout()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setAnimationBeginsFromCurrentState

        public static void setAnimationBeginsFromCurrentState​(boolean fromCurrentState)
      • setAnimationCurve

        public static void setAnimationCurve​(long curve)
      • setAnimationDelay

        public static void setAnimationDelay​(double delay)
      • setAnimationDelegate

        public static void setAnimationDelegate​(java.lang.Object delegate)
      • setAnimationDidStopSelector

        public static void setAnimationDidStopSelector​(org.moe.natj.objc.SEL selector)
      • setAnimationDuration_static

        public static void setAnimationDuration_static​(double duration)
      • setAnimationRepeatAutoreverses

        public static void setAnimationRepeatAutoreverses​(boolean repeatAutoreverses)
      • setAnimationRepeatCount_static

        public static void setAnimationRepeatCount_static​(float repeatCount)
      • setAnimationStartDate

        public static void setAnimationStartDate​(NSDate startDate)
      • setAnimationTransitionForViewCache

        public static void setAnimationTransitionForViewCache​(long transition,
                                                              UIView view,
                                                              boolean cache)
      • setAnimationWillStartSelector

        public static void setAnimationWillStartSelector​(org.moe.natj.objc.SEL selector)
      • setAnimationsEnabled

        public static void setAnimationsEnabled​(boolean enabled)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • userInterfaceLayoutDirectionForSemanticContentAttribute

        public static long userInterfaceLayoutDirectionForSemanticContentAttribute​(long attribute)
      • userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection

        public static long userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection​(long semanticContentAttribute,
                                                                                                            long layoutDirection)
      • 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 UIView
      • _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 UIView
      • backgroundImage

        public UIImage backgroundImage()
        The background image will be tiled to fit, even if it was not created via the UIImage resizableImage methods.
      • barStyle

        public long barStyle()
        Valid bar styles are UIBarStyleDefault (default) and UIBarStyleBlack.
      • barTintColor

        public UIColor barTintColor()
        default is nil
      • beginCustomizingItems

        public void beginCustomizingItems​(NSArray<? extends UITabBarItem> items)
        list all items that can be reordered. always animates a sheet up. visible items not listed are fixed in place
      • endCustomizingAnimated

        public boolean endCustomizingAnimated​(boolean animated)
        hide customization sheet. normally you should let the user do it. check list of items to see new layout. returns YES if layout changed
      • isCustomizing

        public boolean isCustomizing()
      • isTranslucent

        public boolean isTranslucent()
        Default is YES. You may force an opaque background by setting the property to NO. If the tab bar has a custom background image, the default is inferred from the alpha values of the image—YES if it has any pixel with alpha < 1.0 If you send setTranslucent:YES to a tab bar with an opaque custom background image the tab bar will apply a system opacity less than 1.0 to the image. If you send setTranslucent:NO to a tab bar with a translucent custom background image the tab bar will provide an opaque background for the image using the bar's barTintColor if defined, or black for UIBarStyleBlack or white for UIBarStyleDefault if barTintColor is nil.
      • setTranslucent

        public void setTranslucent​(boolean value)
        Default is YES. You may force an opaque background by setting the property to NO. If the tab bar has a custom background image, the default is inferred from the alpha values of the image—YES if it has any pixel with alpha < 1.0 If you send setTranslucent:YES to a tab bar with an opaque custom background image the tab bar will apply a system opacity less than 1.0 to the image. If you send setTranslucent:NO to a tab bar with a translucent custom background image the tab bar will provide an opaque background for the image using the bar's barTintColor if defined, or black for UIBarStyleBlack or white for UIBarStyleDefault if barTintColor is nil.
      • itemPositioning

        public long itemPositioning()
        Default is UITabBarItemPositioningAutomatic. The tab bar items fill horizontally for the iPhone user interface idiom, and are centered with a default width and inter-item spacing (customizable with the itemWidth and itemSpacing properties) for the iPad idiom. When the tab bar is owned by a UITabBarController further heuristics may determine the positioning for UITabBarItemPositioningAutomatic. Use UITabBarItemPositioningFill to force the items to fill horizontally. Use UITabBarItemPositioningCenter to force the items to center with a default width (or the itemWidth, if set).
      • itemSpacing

        public double itemSpacing()
        Set the itemSpacing to a positive value to be used between tab bar items when they are positioned as a centered group. Default of 0 or values less than 0 will be interpreted as a system-defined spacing.
      • itemWidth

        public double itemWidth()
        Set the itemWidth to a positive value to be used as the width for tab bar items when they are positioned as a centered group (as opposed to filling the tab bar). Default of 0 or values less than 0 will be interpreted as a system-defined width.
      • items

        public NSArray<? extends UITabBarItem> items()
        get/set visible UITabBarItems. default is nil. changes not animated. shown in order
      • selectedImageTintColor

        @Deprecated
        public UIColor selectedImageTintColor()
        Deprecated.
        selectedImageTintColor will be applied to the gradient image used when creating the selected image. Default is nil and will result in the system bright blue for selected tab item images. If you wish to also customize the unselected image appearance, you must use the image and selectedImage properties on UITabBarItem along with UIImageRenderingModeAlways Deprecated in iOS 8.0. On iOS 7.0 and later the selected image takes its color from the inherited tintColor of the UITabBar, which may be set separately if necessary.
      • selectedItem

        public UITabBarItem selectedItem()
        will show feedback based on mode. default is nil
      • selectionIndicatorImage

        public UIImage selectionIndicatorImage()
        The selection indicator image is drawn on top of the tab bar, behind the bar item icon.
      • setBackgroundImage

        public void setBackgroundImage​(UIImage value)
        The background image will be tiled to fit, even if it was not created via the UIImage resizableImage methods.
      • setBarStyle

        public void setBarStyle​(long value)
        Valid bar styles are UIBarStyleDefault (default) and UIBarStyleBlack.
      • setBarTintColor

        public void setBarTintColor​(UIColor value)
        default is nil
      • setDelegate_unsafe

        public void setDelegate_unsafe​(UITabBarDelegate value)
        weak reference. default is nil
      • setDelegate

        public void setDelegate​(UITabBarDelegate value)
        weak reference. default is nil
      • setItemPositioning

        public void setItemPositioning​(long value)
        Default is UITabBarItemPositioningAutomatic. The tab bar items fill horizontally for the iPhone user interface idiom, and are centered with a default width and inter-item spacing (customizable with the itemWidth and itemSpacing properties) for the iPad idiom. When the tab bar is owned by a UITabBarController further heuristics may determine the positioning for UITabBarItemPositioningAutomatic. Use UITabBarItemPositioningFill to force the items to fill horizontally. Use UITabBarItemPositioningCenter to force the items to center with a default width (or the itemWidth, if set).
      • setItemSpacing

        public void setItemSpacing​(double value)
        Set the itemSpacing to a positive value to be used between tab bar items when they are positioned as a centered group. Default of 0 or values less than 0 will be interpreted as a system-defined spacing.
      • setItemWidth

        public void setItemWidth​(double value)
        Set the itemWidth to a positive value to be used as the width for tab bar items when they are positioned as a centered group (as opposed to filling the tab bar). Default of 0 or values less than 0 will be interpreted as a system-defined width.
      • setItems

        public void setItems​(NSArray<? extends UITabBarItem> value)
        get/set visible UITabBarItems. default is nil. changes not animated. shown in order
      • setItemsAnimated

        public void setItemsAnimated​(NSArray<? extends UITabBarItem> items,
                                     boolean animated)
        will fade in or out or reorder and adjust spacing
      • setSelectedImageTintColor

        @Deprecated
        public void setSelectedImageTintColor​(UIColor value)
        Deprecated.
        selectedImageTintColor will be applied to the gradient image used when creating the selected image. Default is nil and will result in the system bright blue for selected tab item images. If you wish to also customize the unselected image appearance, you must use the image and selectedImage properties on UITabBarItem along with UIImageRenderingModeAlways Deprecated in iOS 8.0. On iOS 7.0 and later the selected image takes its color from the inherited tintColor of the UITabBar, which may be set separately if necessary.
      • setSelectedItem_unsafe

        public void setSelectedItem_unsafe​(UITabBarItem value)
        will show feedback based on mode. default is nil
      • setSelectedItem

        public void setSelectedItem​(UITabBarItem value)
        will show feedback based on mode. default is nil
      • setSelectionIndicatorImage

        public void setSelectionIndicatorImage​(UIImage value)
        The selection indicator image is drawn on top of the tab bar, behind the bar item icon.
      • setShadowImage

        public void setShadowImage​(UIImage value)
        Default is nil. When non-nil, a custom shadow image to show instead of the default shadow image. For a custom shadow to be shown, a custom background image must also be set with -setBackgroundImage: (if the default background image is used, the default shadow image will be used).
      • setTintColor

        public void setTintColor​(UIColor value)
        The behavior of tintColor for bars has changed on iOS 7.0. It no longer affects the bar's background and behaves as described for the tintColor property added to UIView. To tint the bar's background, please use -barTintColor.
        Overrides:
        setTintColor in class UIView
      • setUnselectedItemTintColor

        public void setUnselectedItemTintColor​(UIColor value)
        Unselected items in this tab bar will be tinted with this color. Setting this value to nil indicates that UITabBar should use its default value instead.
      • shadowImage

        public UIImage shadowImage()
        Default is nil. When non-nil, a custom shadow image to show instead of the default shadow image. For a custom shadow to be shown, a custom background image must also be set with -setBackgroundImage: (if the default background image is used, the default shadow image will be used).
      • tintColor

        public UIColor tintColor()
        The behavior of tintColor for bars has changed on iOS 7.0. It no longer affects the bar's background and behaves as described for the tintColor property added to UIView. To tint the bar's background, please use -barTintColor.
        Overrides:
        tintColor in class UIView
      • unselectedItemTintColor

        public UIColor unselectedItemTintColor()
        Unselected items in this tab bar will be tinted with this color. Setting this value to nil indicates that UITabBar should use its default value instead.
      • setStandardAppearance

        public void setStandardAppearance​(UITabBarAppearance value)
        Describes the appearance attributes for the tab bar to use.
      • standardAppearance

        public UITabBarAppearance standardAppearance()
        Describes the appearance attributes for the tab bar to use.