Package apple.uikit

Class NSCollectionLayoutSupplementaryItem

    • Constructor Detail

      • NSCollectionLayoutSupplementaryItem

        protected NSCollectionLayoutSupplementaryItem​(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()
      • debugDescription_static

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

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

        @NotNull
        public @NotNull java.lang.String elementKind()
      • 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)
      • setZIndex

        public void setZIndex​(long value)
      • superclass_static

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

        public static NSCollectionLayoutSupplementaryItem supplementaryItemWithLayoutSizeElementKindContainerAnchor​(@NotNull
                                                                                                                    @NotNull NSCollectionLayoutSize layoutSize,
                                                                                                                    @NotNull
                                                                                                                    @NotNull java.lang.String elementKind,
                                                                                                                    @NotNull
                                                                                                                    @NotNull NSCollectionLayoutAnchor containerAnchor)
        Supplementary items are positioned (i.e. anchored) to coordinate spaces throughout the layout In this example, a supplementary is anchored to the top+trailing edge of a cell. Supplementary items can be anchored to items (and groups, since a group is-a item) Boundary supplementary items can be anchored to sections and the global layout +-----+ +------------------------------------------+ |~~~~~| | edges: [.top,.trailing] | +----------------------------+~~~~~|<------+ fractionalOffset: CGPoint(x:0.5,y:-0.5) | | |~~~~~| +------------------------------------------+ | +--+--+ | | | | | | | | +-------------------------------+ Container anchors are used to specify positioning of an item within the host geometry (e.g. item, group, section)
      • supplementaryItemWithLayoutSizeElementKindContainerAnchorItemAnchor

        public static NSCollectionLayoutSupplementaryItem supplementaryItemWithLayoutSizeElementKindContainerAnchorItemAnchor​(@NotNull
                                                                                                                              @NotNull NSCollectionLayoutSize layoutSize,
                                                                                                                              @NotNull
                                                                                                                              @NotNull java.lang.String elementKind,
                                                                                                                              @NotNull
                                                                                                                              @NotNull NSCollectionLayoutAnchor containerAnchor,
                                                                                                                              @NotNull
                                                                                                                              @NotNull NSCollectionLayoutAnchor itemAnchor)
        +----------------------------------------------------+ +-----+ |* Container Anchor | |~~~~~| |edges: [.top,.trailing] offset: CGPoint(x:10,y:-10) | |~~~~~|<--------| | |~~~~~| |* Item Anchor: | +-----+ |edges: [.bottom, .leading] | +-------------------------------+ +----------------------------------------------------+ | | | | | | | | | | | | +-------------------------------+ Combine a container anchor with an item anchor for fine-grained positioning. Optionally add an offset for additional refinement.
      • version_static

        public static long version_static()
      • zIndex

        public long zIndex()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.