Package org.eclipse.swt.internal.cocoa
Class NSAttributedString
java.lang.Object
org.eclipse.swt.internal.cocoa.id
org.eclipse.swt.internal.cocoa.NSObject
org.eclipse.swt.internal.cocoa.NSAttributedString
- Direct Known Subclasses:
NSMutableAttributedString
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NSAttributedStringattributedStringWithAttachment(NSTextAttachment attachment) attributesAtIndex(long location, long range, NSRange rangeLimit) boundingRectWithSize(NSSize size, long options) doubleClickAtIndex(long location) voiddrawAtPoint(NSPoint point) voiddrawInRect(NSRect rect) initWithString(NSString str) initWithString(NSString str, NSDictionary attrs) longlength()longnextWordFromIndex(long location, boolean isForward) size()string()Methods inherited from class org.eclipse.swt.internal.cocoa.NSObject
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, 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, writeSelectionToPasteboardMethods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
Constructor Details
-
NSAttributedString
public NSAttributedString() -
NSAttributedString
public NSAttributedString(long id) -
NSAttributedString
-
-
Method Details
-
attributedStringWithAttachment
-
boundingRectWithSize
-
doubleClickAtIndex
-
drawAtPoint
-
drawInRect
-
nextWordFromIndex
public long nextWordFromIndex(long location, boolean isForward) -
size
-
attribute
-
attributedSubstringFromRange
-
attributesAtIndex
-
initWithString
-
initWithString
-
length
public long length() -
string
-