Package org.robovm.apple.uikit
Class NSTextStorage
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSAttributedString
-
- org.robovm.apple.foundation.NSMutableAttributedString
-
- org.robovm.apple.uikit.NSTextStorage
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class NSTextStorage extends NSMutableAttributedString
- Since:
- Available in iOS 7.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSTextStorage.Notifications
static class
NSTextStorage.NSTextStoragePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSMutableAttributedString
NSMutableAttributedString.NSMutableAttributedStringPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSAttributedString
NSAttributedString.NSAttributedStringPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSTextStorage()
protected
NSTextStorage(NSObject.Handle h, long handle)
protected
NSTextStorage(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLayoutManager(NSLayoutManager aLayoutManager)
static NSString
DidProcessEditingNotification()
void
edited(NSTextStorageEditActions editedMask, NSRange editedRange, long delta)
void
ensureAttributesAreFixed(NSRange range)
boolean
fixesAttributesLazily()
long
getChangeInLength()
NSTextStorageDelegate
getDelegate()
NSTextStorageEditActions
getEditedMask()
NSRange
getEditedRange()
NSArray<NSLayoutManager>
getLayoutManagers()
void
invalidateAttributes(NSRange range)
void
processEditing()
void
removeLayoutManager(NSLayoutManager aLayoutManager)
void
setDelegate(NSTextStorageDelegate v)
static NSString
WillProcessEditingNotification()
-
Methods inherited from class org.robovm.apple.foundation.NSMutableAttributedString
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, addAttributes, addAttributes, addAttributes, append, beginEditing, delete, endEditing, fixAttributes, getMutableString, insert, read, read, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, replace, replace, setAttributedString, setAttributes, setAttributes, setAttributes, setAttributes
-
Methods inherited from class org.robovm.apple.foundation.NSAttributedString
draw, draw, draw, encode, enumerateAttribute, enumerateAttribute, enumerateAttribute, enumerateAttribute, enumerateAttribute, enumerateAttributes, equals, equalsTo, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttributes, getAttributes, getAttributesDictionary, getAttributesDictionary, getBoundingRect, getCoreTextAttributes, getCoreTextAttributes, getData, getFileWrapper, getSize, getString, getTextMarkupAttributes, getTextMarkupAttributes, init, init, init, init, length, substring, supportsSecureCoding
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NSTextStorage
public NSTextStorage()
-
NSTextStorage
protected NSTextStorage(NSObject.Handle h, long handle)
-
NSTextStorage
protected NSTextStorage(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getLayoutManagers
public NSArray<NSLayoutManager> getLayoutManagers()
-
getEditedMask
public NSTextStorageEditActions getEditedMask()
-
getEditedRange
public NSRange getEditedRange()
-
getChangeInLength
public long getChangeInLength()
-
getDelegate
public NSTextStorageDelegate getDelegate()
-
setDelegate
public void setDelegate(NSTextStorageDelegate v)
-
fixesAttributesLazily
public boolean fixesAttributesLazily()
-
WillProcessEditingNotification
public static NSString WillProcessEditingNotification()
- Since:
- Available in iOS 7.0 and later.
-
DidProcessEditingNotification
public static NSString DidProcessEditingNotification()
- Since:
- Available in iOS 7.0 and later.
-
addLayoutManager
public void addLayoutManager(NSLayoutManager aLayoutManager)
-
removeLayoutManager
public void removeLayoutManager(NSLayoutManager aLayoutManager)
-
edited
public void edited(NSTextStorageEditActions editedMask, NSRange editedRange, long delta)
-
processEditing
public void processEditing()
-
invalidateAttributes
public void invalidateAttributes(NSRange range)
-
ensureAttributesAreFixed
public void ensureAttributesAreFixed(NSRange range)
-
-