Package apple.uikit

Class UIBarButtonItemGroup

    • Constructor Detail

      • UIBarButtonItemGroup

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static UIBarButtonItemGroup allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • 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()
      • barButtonItems

        @NotNull
        public @NotNull NSArray<? extends UIBarButtonItem> barButtonItems()
        The bar button items associated with this group. Changing these items will affect the bar displaying these items without needing to re-set the groups that are in that bar. Any UIBarButtonItems that are already in group will be removed from that group.
      • initWithBarButtonItemsRepresentativeItem

        public UIBarButtonItemGroup initWithBarButtonItemsRepresentativeItem​(@NotNull
                                                                             @NotNull NSArray<? extends UIBarButtonItem> barButtonItems,
                                                                             @Nullable
                                                                             @Nullable UIBarButtonItem representativeItem)
        Create a new bar button item group with the given items. When bar button item layout is done, either the group's barButtonItems or its representativeItem is displayed (if it exists).
      • isDisplayingRepresentativeItem

        public boolean isDisplayingRepresentativeItem()
        Returns YES if the representativeItem of this group is currently being displayed, rather than its barButtonItems.
      • representativeItem

        @Nullable
        public @Nullable UIBarButtonItem representativeItem()
        In order to display as many items as possible, bars that support UIBarButtonItemGroup may choose to collapse items associated with groups to the representativeItem specified by the group. A bar will only collapse groups that have a representativeItem set, but may still choose to use an alternate presentation of these items. A UIBarButtonItem may only be either the representativeItem or a member of the barButtonItems of a single UIBarButtonItemGroup and may only represent a single group. If the representativeItem has an action, then that action will be invoked, otherwise the bar will present a standard UI to allow selection of the barButtonItems in the representedItem's group.
      • setBarButtonItems

        public void setBarButtonItems​(@NotNull
                                      @NotNull NSArray<? extends UIBarButtonItem> value)
        The bar button items associated with this group. Changing these items will affect the bar displaying these items without needing to re-set the groups that are in that bar. Any UIBarButtonItems that are already in group will be removed from that group.
      • setRepresentativeItem

        public void setRepresentativeItem​(@Nullable
                                          @Nullable UIBarButtonItem value)
        In order to display as many items as possible, bars that support UIBarButtonItemGroup may choose to collapse items associated with groups to the representativeItem specified by the group. A bar will only collapse groups that have a representativeItem set, but may still choose to use an alternate presentation of these items. A UIBarButtonItem may only be either the representativeItem or a member of the barButtonItems of a single UIBarButtonItemGroup and may only represent a single group. If the representativeItem has an action, then that action will be invoked, otherwise the bar will present a standard UI to allow selection of the barButtonItems in the representedItem's group.
      • alwaysAvailable

        public boolean alwaysAvailable()
        Instructs UIKit to ensure that the functionality in this group is made available to the user regardless of customization status. On iPhone and iPad idioms, UIKit currently places these items in the overflow menu; this property has no effect on macOS idiom. API-Since: 16.0
      • fixedGroupWithRepresentativeItemItems

        @NotNull
        public static @NotNull UIBarButtonItemGroup fixedGroupWithRepresentativeItemItems​(@Nullable
                                                                                          @Nullable UIBarButtonItem representativeItem,
                                                                                          @NotNull
                                                                                          @NotNull NSArray<? extends UIBarButtonItem> items)
        Construct a UIBarButtonItemGroup that cannot be moved or removed under UINavigationBar customization. API-Since: 16.0
      • isHidden

        public boolean isHidden()
        If the group should be hidden from display. API-Since: 16.0
      • menuRepresentation

        @Nullable
        public @Nullable UIMenuElement menuRepresentation()
        A UIMenuElement that should substitute for the UIBarButtonItemGroup when displayed in a menu. API-Since: 16.0
      • movableGroupWithCustomizationIdentifierRepresentativeItemItems

        @NotNull
        public static @NotNull UIBarButtonItemGroup movableGroupWithCustomizationIdentifierRepresentativeItemItems​(@NotNull
                                                                                                                   @NotNull java.lang.String customizationIdentifier,
                                                                                                                   @Nullable
                                                                                                                   @Nullable UIBarButtonItem representativeItem,
                                                                                                                   @NotNull
                                                                                                                   @NotNull NSArray<? extends UIBarButtonItem> items)
        Construct a UIBarButtonItemGroup that can be moved but cannot be removed under UINavigationBar customization. API-Since: 16.0
      • optionalGroupWithCustomizationIdentifierInDefaultCustomizationRepresentativeItemItems

        @NotNull
        public static @NotNull UIBarButtonItemGroup optionalGroupWithCustomizationIdentifierInDefaultCustomizationRepresentativeItemItems​(@NotNull
                                                                                                                                          @NotNull java.lang.String customizationIdentifier,
                                                                                                                                          boolean inDefaultCustomization,
                                                                                                                                          @Nullable
                                                                                                                                          @Nullable UIBarButtonItem representativeItem,
                                                                                                                                          @NotNull
                                                                                                                                          @NotNull NSArray<? extends UIBarButtonItem> items)
        Construct a UIBarButtonItemGroup that can be moved or added/removed under UINavigationBar customization. API-Since: 16.0
      • setAlwaysAvailable

        public void setAlwaysAvailable​(boolean value)
        Instructs UIKit to ensure that the functionality in this group is made available to the user regardless of customization status. On iPhone and iPad idioms, UIKit currently places these items in the overflow menu; this property has no effect on macOS idiom. API-Since: 16.0
      • setHidden

        public void setHidden​(boolean value)
        If the group should be hidden from display. API-Since: 16.0
      • setMenuRepresentation

        public void setMenuRepresentation​(@Nullable
                                          @Nullable UIMenuElement value)
        A UIMenuElement that should substitute for the UIBarButtonItemGroup when displayed in a menu. API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.