Class NSAttributedString

Direct Known Subclasses:
NSMutableAttributedString

public class NSAttributedString extends NSObject
  • Constructor Details

    • NSAttributedString

      public NSAttributedString()
    • NSAttributedString

      public NSAttributedString(long id)
    • NSAttributedString

      public NSAttributedString(id id)
  • Method Details

    • attributedStringWithAttachment

      public static NSAttributedString attributedStringWithAttachment(NSTextAttachment attachment)
    • boundingRectWithSize

      public NSRect boundingRectWithSize(NSSize size, long options)
    • doubleClickAtIndex

      public NSRange doubleClickAtIndex(long location)
    • drawAtPoint

      public void drawAtPoint(NSPoint point)
    • drawInRect

      public void drawInRect(NSRect rect)
    • nextWordFromIndex

      public long nextWordFromIndex(long location, boolean isForward)
    • size

      public NSSize size()
    • attribute

      public id attribute(NSString attrName, long location, long range)
    • attributedSubstringFromRange

      public NSAttributedString attributedSubstringFromRange(NSRange range)
    • attributesAtIndex

      public NSDictionary attributesAtIndex(long location, long range, NSRange rangeLimit)
    • initWithString

      public NSAttributedString initWithString(NSString str)
    • initWithString

      public NSAttributedString initWithString(NSString str, NSDictionary attrs)
    • length

      public long length()
    • string

      public NSString string()