Package apple.uikit

Class UICollectionLayoutListConfiguration

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class UICollectionLayoutListConfiguration
    extends NSObject
    implements NSCopying
    A list configuration can be used to layout a section inside a UICollectionViewCompositionalLayout as a list. API-Since: 14.0
    • Constructor Detail

      • UICollectionLayoutListConfiguration

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • appearance

        public long appearance()
        The overall appearance of the section.
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • backgroundColor

        @Nullable
        public @Nullable UIColor backgroundColor()
        The background color of the section. Defaults to nil, indicating the system background color for the specified appearance is used.
      • 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()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • debugDescription_static

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

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

        public long footerMode()
        Defines whether the section has a footer. Defaults to UICollectionLayoutListFooterModeNone.
      • hash_static

        public static long hash_static()
      • headerMode

        public long headerMode()
        Defines whether the section has a header. Defaults to UICollectionLayoutListHeaderModeNone.
      • 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)
      • setBackgroundColor

        public void setBackgroundColor​(@Nullable
                                       @Nullable UIColor value)
        The background color of the section. Defaults to nil, indicating the system background color for the specified appearance is used.
      • setFooterMode

        public void setFooterMode​(long value)
        Defines whether the section has a footer. Defaults to UICollectionLayoutListFooterModeNone.
      • setHeaderMode

        public void setHeaderMode​(long value)
        Defines whether the section has a header. Defaults to UICollectionLayoutListHeaderModeNone.
      • setShowsSeparators

        public void setShowsSeparators​(boolean value)
        Whether this section shows separators or not. For additional control, see separatorConfiguration. Note that when this property is NO, the separatorConfiguration is ineffective.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • showsSeparators

        public boolean showsSeparators()
        Whether this section shows separators or not. For additional control, see separatorConfiguration. Note that when this property is NO, the separatorConfiguration is ineffective.
      • superclass_static

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

        public static long version_static()
      • headerTopPadding

        public double headerTopPadding()
        Padding above each section header. The default value is `UICollectionViewLayoutAutomaticDimension` API-Since: 15.0
      • itemSeparatorHandler

        @Nullable
        public @Nullable UICollectionLayoutListConfiguration.Block_itemSeparatorHandler_ret itemSeparatorHandler()
        This handler is executed when the list section is configuring separator appearance for an item. The index path for the item being configured and a resolved separator configuration are passed in to this block. The configuration returned from this block will be treated as the final separator configuration for this item. API-Since: 14.5
      • separatorConfiguration

        @NotNull
        public @NotNull UIListSeparatorConfiguration separatorConfiguration()
        The preferred configuration for separators. Used as a baseline for a section in a list using this \c UICollectionLayoutListConfiguration API-Since: 14.5
      • setHeaderTopPadding

        public void setHeaderTopPadding​(double value)
        Padding above each section header. The default value is `UICollectionViewLayoutAutomaticDimension` API-Since: 15.0
      • setItemSeparatorHandler

        public void setItemSeparatorHandler​(@Nullable
                                            @Nullable UICollectionLayoutListConfiguration.Block_setItemSeparatorHandler value)
        This handler is executed when the list section is configuring separator appearance for an item. The index path for the item being configured and a resolved separator configuration are passed in to this block. The configuration returned from this block will be treated as the final separator configuration for this item. API-Since: 14.5
      • setSeparatorConfiguration

        public void setSeparatorConfiguration​(@NotNull
                                              @NotNull UIListSeparatorConfiguration value)
        The preferred configuration for separators. Used as a baseline for a section in a list using this \c UICollectionLayoutListConfiguration API-Since: 14.5
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.