Package apple.uikit

Class NSTextListElement

    • Constructor Detail

      • NSTextListElement

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static NSTextListElement allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • attributedString

        @NotNull
        public @NotNull NSAttributedString attributedString()
        The contents intended to be displayed. Derived from contents/textList configured with the text list element's position inside the tree. It is overriding its superclass implementation, NSTextParagraph.attributedString
        Overrides:
        attributedString in class NSTextParagraph
      • 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()
      • contents

        @Nullable
        public @Nullable NSAttributedString contents()
        The text list element contents without markers and formatting.
      • 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()
      • initWithParentElementTextListContentsMarkerAttributesChildElements

        public NSTextListElement initWithParentElementTextListContentsMarkerAttributesChildElements​(@Nullable
                                                                                                    @Nullable NSTextListElement parent,
                                                                                                    @NotNull
                                                                                                    @NotNull NSTextList textList,
                                                                                                    @Nullable
                                                                                                    @Nullable NSAttributedString contents,
                                                                                                    @Nullable
                                                                                                    @Nullable NSDictionary<java.lang.String,​?> markerAttributes,
                                                                                                    @Nullable
                                                                                                    @Nullable NSArray<? extends NSTextListElement> children)
        Designated initializer. Initializes 2 types of NSTextListElement: a standard list item and nesting parent element. Either of contents, markerAttributes, or childElements must be non-nil. Clients should typically use one of 2 factory methods below for instantiating with a specific type. When markerAttributes!=nil, it will be used to format the marker; otherwise, it is derived from contents.
      • 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)
      • markerAttributes

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> markerAttributes()
        Attributes defining the text formatting of marker string inside attributedString.
      • 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()
      • textList

        @NotNull
        public @NotNull NSTextList textList()
      • textListElementWithChildElementsTextListNestingLevel

        public static NSTextListElement textListElementWithChildElementsTextListNestingLevel​(@NotNull
                                                                                             @NotNull NSArray<? extends NSTextListElement> children,
                                                                                             @NotNull
                                                                                             @NotNull NSTextList textList,
                                                                                             long nestingLevel)
        Returns an instance with childElements without contents. Returns nil if childElements.count == 0. nestingLevel specifies the number of shifts represented by the tree elements returned. Raises an exception when nestingLevel < 0. textList specifies NSTextList used by the new instance.
      • textListElementWithContentsMarkerAttributesTextListChildElements

        public static NSTextListElement textListElementWithContentsMarkerAttributesTextListChildElements​(@NotNull
                                                                                                         @NotNull NSAttributedString contents,
                                                                                                         @Nullable
                                                                                                         @Nullable NSDictionary<java.lang.String,​?> markerAttributes,
                                                                                                         @NotNull
                                                                                                         @NotNull NSTextList textList,
                                                                                                         @Nullable
                                                                                                         @Nullable NSArray<? extends NSTextListElement> children)
        Instantiates a standard text list.
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.