Package apple.uikit

Class NSCollectionLayoutGroup

    • Constructor Detail

      • NSCollectionLayoutGroup

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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()
      • customGroupWithLayoutSizeItemProvider

        @NotNull
        public static @NotNull NSCollectionLayoutGroup customGroupWithLayoutSizeItemProvider​(@NotNull
                                                                                             @NotNull NSCollectionLayoutSize layoutSize,
                                                                                             @NotNull
                                                                                             @NotNull NSCollectionLayoutGroup.Block_customGroupWithLayoutSizeItemProvider itemProvider)
        Specifies a custom group with client-specified frames. During layout, the itemProvider will be called with the group's current geometry provided via the NSCollectionLayoutEnvironment supplied. The coordinate space for returned frames should be {0,0} relative to this group's geometry. Custom groups can be nested arbitrarily inside other groups.
      • 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()
      • horizontalGroupWithLayoutSizeSubitemCount

        @NotNull
        @Deprecated
        public static @NotNull NSCollectionLayoutGroup horizontalGroupWithLayoutSizeSubitemCount​(@NotNull
                                                                                                 @NotNull NSCollectionLayoutSize layoutSize,
                                                                                                 @NotNull
                                                                                                 @NotNull NSCollectionLayoutItem subitem,
                                                                                                 long count)
        Deprecated.
        Specifies a group that will have N items equally sized along the horizontal axis. use interItemSpacing to insert space between items Forces the width dimension of the subitem to .fractionalWidth(1.0/count). API-Since: 13.0 Deprecated-Since: 16.0
      • horizontalGroupWithLayoutSizeSubitems

        @NotNull
        public static @NotNull NSCollectionLayoutGroup horizontalGroupWithLayoutSizeSubitems​(@NotNull
                                                                                             @NotNull NSCollectionLayoutSize layoutSize,
                                                                                             @NotNull
                                                                                             @NotNull NSArray<? extends NSCollectionLayoutItem> subitems)
        Specifies a group that will repeat items until available horizontal space is exhausted. note: any remaining space after laying out items can be apportioned among flexible interItemSpacing definitions
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • interItemSpacing

        @Nullable
        public @Nullable NSCollectionLayoutSpacing interItemSpacing()
        Supplies additional spacing between items along the layout axis of the group
      • 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)
      • setInterItemSpacing

        public void setInterItemSpacing​(@Nullable
                                        @Nullable NSCollectionLayoutSpacing value)
        Supplies additional spacing between items along the layout axis of the group
      • 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()
      • verticalGroupWithLayoutSizeSubitemCount

        @NotNull
        @Deprecated
        public static @NotNull NSCollectionLayoutGroup verticalGroupWithLayoutSizeSubitemCount​(@NotNull
                                                                                               @NotNull NSCollectionLayoutSize layoutSize,
                                                                                               @NotNull
                                                                                               @NotNull NSCollectionLayoutItem subitem,
                                                                                               long count)
        Deprecated.
        Specifies a group that will have N items equally sized along the vertical axis. use interItemSpacing to insert space between items Forces the height dimension of the subitem to .fractionalHeight(1.0/count). API-Since: 13.0 Deprecated-Since: 16.0
      • verticalGroupWithLayoutSizeSubitems

        @NotNull
        public static @NotNull NSCollectionLayoutGroup verticalGroupWithLayoutSizeSubitems​(@NotNull
                                                                                           @NotNull NSCollectionLayoutSize layoutSize,
                                                                                           @NotNull
                                                                                           @NotNull NSArray<? extends NSCollectionLayoutItem> subitems)
        Specifies a group that will repeat items until available vertical space is exhausted. note: any remaining space after laying out items can be apportioned among flexible interItemSpacing definitions
      • visualDescription

        @NotNull
        public @NotNull java.lang.String visualDescription()
        for visual debugging; will print an ASCII art rendering to console
      • horizontalGroupWithLayoutSizeRepeatingSubitemCount

        @NotNull
        public static @NotNull NSCollectionLayoutGroup horizontalGroupWithLayoutSizeRepeatingSubitemCount​(@NotNull
                                                                                                          @NotNull NSCollectionLayoutSize layoutSize,
                                                                                                          @NotNull
                                                                                                          @NotNull NSCollectionLayoutItem subitem,
                                                                                                          long count)
        Specifies a group that will horizontally repeat its subitem a fixed number of times.
        Parameters:
        layoutSize - The group's size.
        subitem - The subitem to repeat. It is the caller's responsibility to ensure that the group's @c layoutSize can fit @c count repetitions of this item.
        count - The number of times to repeat the passed in subitem. API-Since: 16.0
      • verticalGroupWithLayoutSizeRepeatingSubitemCount

        @NotNull
        public static @NotNull NSCollectionLayoutGroup verticalGroupWithLayoutSizeRepeatingSubitemCount​(@NotNull
                                                                                                        @NotNull NSCollectionLayoutSize layoutSize,
                                                                                                        @NotNull
                                                                                                        @NotNull NSCollectionLayoutItem subitem,
                                                                                                        long count)
        Specifies a group that will vertically repeat its subitem a fixed number of times.
        Parameters:
        layoutSize - The group's size.
        subitem - The subitem to repeat. It is the caller's responsibility to ensure that the group's @c layoutSize can fit @c count repetitions of this item.
        count - The number of times to repeat the passed in subitem. API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.