public class NSAttributedString extends NSObject
| Constructor and Description |
|---|
NSAttributedString() |
NSAttributedString(id id) |
NSAttributedString(int id) |
| Modifier and Type | Method and Description |
|---|---|
id |
attribute(NSString attrName,
int location,
int range) |
static NSAttributedString |
attributedStringWithAttachment(NSTextAttachment attachment) |
NSAttributedString |
attributedSubstringFromRange(NSRange range) |
NSDictionary |
attributesAtIndex(int location,
int range,
NSRange rangeLimit) |
NSRect |
boundingRectWithSize(NSSize size,
int options) |
NSRange |
doubleClickAtIndex(int location) |
void |
drawAtPoint(NSPoint point) |
void |
drawInRect(NSRect rect) |
NSAttributedString |
initWithString(NSString str) |
NSAttributedString |
initWithString(NSString str,
NSDictionary attrs) |
int |
length() |
int |
nextWordFromIndex(int location,
boolean isForward) |
NSSize |
size() |
NSString |
string() |
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, dealloc, description, draggedImage, draggingDestinationWindow, draggingLocation, draggingPasteboard, draggingSourceOperationMask, handleEvent, init, isEqual, isEqualTo, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboardequals, hashCode, objc_getClass, toStringpublic NSAttributedString()
public NSAttributedString(int id)
public NSAttributedString(id id)
public static NSAttributedString attributedStringWithAttachment(NSTextAttachment attachment)
public NSRange doubleClickAtIndex(int location)
public void drawAtPoint(NSPoint point)
public void drawInRect(NSRect rect)
public int nextWordFromIndex(int location,
boolean isForward)
public NSSize size()
public NSAttributedString attributedSubstringFromRange(NSRange range)
public NSDictionary attributesAtIndex(int location, int range, NSRange rangeLimit)
public NSAttributedString initWithString(NSString str)
public NSAttributedString initWithString(NSString str, NSDictionary attrs)
public int length()
public NSString string()