Class NSMutableAttributedString

    • Constructor Detail

      • NSMutableAttributedString

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • 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()
      • 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • 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()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • version_static

        public static long version_static()
      • addAttributeValueRange

        public void addAttributeValueRange​(java.lang.String name,
                                           java.lang.Object value,
                                           NSRange range)
      • addAttributesRange

        public void addAttributesRange​(NSDictionary<java.lang.String,​?> attrs,
                                       NSRange range)
      • appendAttributedString

        public void appendAttributedString​(NSAttributedString attrString)
      • beginEditing

        public void beginEditing()
      • deleteCharactersInRange

        public void deleteCharactersInRange​(NSRange range)
      • endEditing

        public void endEditing()
      • fixAttributesInRange

        public void fixAttributesInRange​(NSRange range)
        This method fixes attribute inconsistencies inside range. It ensures NSFontAttributeName covers the characters, NSParagraphStyleAttributeName is only changing at paragraph boundaries, and NSTextAttachmentAttributeName is assigned to NSAttachmentCharacter. NSTextStorage automatically invokes this method via -ensureAttributesAreFixedInRange:.
      • initWithURLOptionsDocumentAttributesError

        public NSMutableAttributedString initWithURLOptionsDocumentAttributesError​(NSURL url,
                                                                                   NSDictionary<java.lang.String,​?> options,
                                                                                   org.moe.natj.general.ptr.Ptr<NSDictionary<java.lang.String,​?>> dict,
                                                                                   org.moe.natj.general.ptr.Ptr<NSError> error)
        Description copied from class: NSAttributedString
        Methods initializing the receiver contents with an external document data. options specify document attributes for interpreting the document contents. NSDocumentTypeDocumentAttribute, NSCharacterEncodingDocumentAttribute, and NSDefaultAttributesDocumentAttribute are supported options key. When they are not specified, these methods will examine the data and do their best to detect the appropriate attributes. If dict is non-NULL, it will return a dictionary with various document-wide attributes accessible via NS...DocumentAttribute keys.
        Overrides:
        initWithURLOptionsDocumentAttributesError in class NSAttributedString
      • insertAttributedStringAtIndex

        public void insertAttributedStringAtIndex​(NSAttributedString attrString,
                                                  long loc)
      • readFromDataOptionsDocumentAttributesError

        public boolean readFromDataOptionsDocumentAttributesError​(NSData data,
                                                                  NSDictionary<java.lang.String,​?> opts,
                                                                  org.moe.natj.general.ptr.Ptr<NSDictionary<java.lang.String,​?>> dict,
                                                                  org.moe.natj.general.ptr.Ptr<NSError> error)
      • readFromFileURLOptionsDocumentAttributesError

        @Deprecated
        public boolean readFromFileURLOptionsDocumentAttributesError​(NSURL url,
                                                                     NSDictionary<?,​?> opts,
                                                                     org.moe.natj.general.ptr.Ptr<NSDictionary<?,​?>> dict,
                                                                     org.moe.natj.general.ptr.Ptr<NSError> error)
        Deprecated.
      • readFromURLOptionsDocumentAttributesError

        public boolean readFromURLOptionsDocumentAttributesError​(NSURL url,
                                                                 NSDictionary<java.lang.String,​?> opts,
                                                                 org.moe.natj.general.ptr.Ptr<NSDictionary<java.lang.String,​?>> dict,
                                                                 org.moe.natj.general.ptr.Ptr<NSError> error)
        Methods replacing the receiver contents with an external document data. options specify document attributes for interpreting the document contents. NSDocumentTypeDocumentAttribute, NSCharacterEncodingDocumentAttribute, and NSDefaultAttributesDocumentAttribute are supported options key. When they are not specified, these methods will examine the data and do their best to detect the appropriate attributes. If dict is non-NULL, it will return a dictionary with various document-wide attributes accessible via NS...DocumentAttribute keys.
      • removeAttributeRange

        public void removeAttributeRange​(java.lang.String name,
                                         NSRange range)
      • replaceCharactersInRangeWithAttributedString

        public void replaceCharactersInRangeWithAttributedString​(NSRange range,
                                                                 NSAttributedString attrString)
      • replaceCharactersInRangeWithString

        public void replaceCharactersInRangeWithString​(NSRange range,
                                                       java.lang.String str)
      • setAttributedString

        public void setAttributedString​(NSAttributedString attrString)
      • setAttributesRange

        public void setAttributesRange​(NSDictionary<java.lang.String,​?> attrs,
                                       NSRange range)
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
        Overrides:
        _supportsSecureCoding in class NSAttributedString
      • itemProviderVisibilityForRepresentationWithTypeIdentifier_static

        public static long itemProviderVisibilityForRepresentationWithTypeIdentifier_static​(java.lang.String typeIdentifier)
      • objectWithItemProviderDataTypeIdentifierError

        public static java.lang.Object objectWithItemProviderDataTypeIdentifierError​(NSData data,
                                                                                     java.lang.String typeIdentifier,
                                                                                     org.moe.natj.general.ptr.Ptr<NSError> outError)
      • readableTypeIdentifiersForItemProvider

        public static NSArray<java.lang.String> readableTypeIdentifiersForItemProvider()
      • writableTypeIdentifiersForItemProvider_static

        public static NSArray<java.lang.String> writableTypeIdentifiersForItemProvider_static()