Package apple.uikit

Class NSCollectionLayoutDimension

    • Constructor Detail

      • NSCollectionLayoutDimension

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

      • absoluteDimension

        @NotNull
        public static @NotNull NSCollectionLayoutDimension absoluteDimension​(double absoluteDimension)
        dimension with an absolute point value
      • 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()
      • 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()
      • dimension

        public double dimension()
      • estimatedDimension

        @NotNull
        public static @NotNull NSCollectionLayoutDimension estimatedDimension​(double estimatedDimension)
        dimension is estimated with a point value. Actual size will be determined when the content is rendered.
      • fractionalHeightDimension

        @NotNull
        public static @NotNull NSCollectionLayoutDimension fractionalHeightDimension​(double fractionalHeight)
        dimension is computed as a fraction of the height of the containing group
      • fractionalWidthDimension

        @NotNull
        public static @NotNull NSCollectionLayoutDimension fractionalWidthDimension​(double fractionalWidth)
        dimension is computed as a fraction of the width of the containing group
      • 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)
      • isAbsolute

        public boolean isAbsolute()
      • isEstimated

        public boolean isEstimated()
        Returns `YES` if the receiver is `estimated` OR `uniformAcrossSiblings`.
      • isFractionalHeight

        public boolean isFractionalHeight()
      • isFractionalWidth

        public boolean isFractionalWidth()
      • 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()
      • isUniformAcrossSiblings

        public boolean isUniformAcrossSiblings()
        API-Since: 17.0
      • uniformAcrossSiblingsWithEstimate

        @NotNull
        public static @NotNull NSCollectionLayoutDimension uniformAcrossSiblingsWithEstimate​(double estimatedDimension)
        Items with this dimension type will receive at least as much room as the view requires, and will grow to match the dimension of the largest estimated sibling in their parent. When specified on the outermost group for a section, the largest size will be shared across the entire section. Eg: All `NSCollectionLayoutItem`s specified with a `uniformAcrossSiblingsWithEstimate:` `heightDimension` in a horizontal `NSCollectionLayoutGroup` will have a height equal to the height of the tallest item in that group. When computing the size for a dimension of this type, the layout will need to retrieve preferred attributes for all siblings in its parent, which in `UICollectionView` means creating views for all dependent items. This can be very expensive, so `uniformAcrossSiblingsWithEstimate` should only be used in layouts where the number of dependent items is known to be relatively small. API-Since: 17.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.