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 NSAttributedString
attributedStringWithAttachment
(NSTextAttachment attachment) attributesAtIndex
(long location, long range, NSRange rangeLimit) boundingRectWithSize
(NSSize size, long options) doubleClickAtIndex
(long location) void
drawAtPoint
(NSPoint point) void
drawInRect
(NSRect rect) initWithString
(NSString str) initWithString
(NSString str, NSDictionary attrs) long
length()
long
nextWordFromIndex
(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, writeSelectionToPasteboard
Methods 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
-