Package org.robovm.apple.uikit
Class NSTextStorage
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class NSTextStorage extends NSMutableAttributedString implements NSSecureCoding
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNSTextStorage.Notificationsstatic classNSTextStorage.NSTextStoragePtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSMutableAttributedString
NSMutableAttributedString.NSMutableAttributedStringPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSAttributedString
NSAttributedString.Keys, NSAttributedString.KeysNSBundle, NSAttributedString.NSAttributedStringPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description NSTextStorage()protectedNSTextStorage(NSObject.Handle h, long handle)protectedNSTextStorage(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description voidaddLayoutManager(NSLayoutManager aLayoutManager)static NSStringDidProcessEditingNotification()voidedited(NSTextStorageEditActions editedMask, NSRange editedRange, long delta)voidensureAttributesAreFixed(NSRange range)booleanfixesAttributesLazily()longgetChangeInLength()NSTextStorageDelegategetDelegate()NSTextStorageEditActionsgetEditedMask()NSRangegetEditedRange()NSArray<NSLayoutManager>getLayoutManagers()NSTextStorageObservinggetTextStorageObserver()voidinvalidateAttributes(NSRange range)voidprocessEditing()voidremoveLayoutManager(NSLayoutManager aLayoutManager)voidsetDelegate(NSTextStorageDelegate v)voidsetTextStorageObserver(NSTextStorageObserving v)static booleansupportsSecureCoding()static NSStringWillProcessEditingNotification()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, setAttributesMethods inherited from class org.robovm.apple.foundation.NSAttributedString
attributedStringByInflectingString, 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, substringMethods 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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
NSTextStorage
public NSTextStorage() -
NSTextStorage
-
NSTextStorage
-
-
Method Details
-
getLayoutManagers
-
getEditedMask
-
getEditedRange
-
getChangeInLength
public long getChangeInLength() -
getDelegate
-
setDelegate
-
fixesAttributesLazily
public boolean fixesAttributesLazily() -
getTextStorageObserver
- Since:
- Available in iOS 15.0 and later.
-
setTextStorageObserver
- Since:
- Available in iOS 15.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
WillProcessEditingNotification
-
DidProcessEditingNotification
-
addLayoutManager
-
removeLayoutManager
-
edited
-
processEditing
public void processEditing() -
invalidateAttributes
-
ensureAttributesAreFixed
-