Package org.robovm.apple.uikit
Class NSTextContentStorage
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.NSTextContentManager
org.robovm.apple.uikit.NSTextContentStorage
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,NSTextElementProvider,NSTextStorageObserving,ObjCProtocol
public class NSTextContentStorage extends NSTextContentManager implements NSTextStorageObserving
- Since:
- Available in iOS 15.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNSTextContentStorage.Notificationsstatic classNSTextContentStorage.NSTextContentStoragePtrNested classes/interfaces inherited from class org.robovm.apple.uikit.NSTextContentManager
NSTextContentManager.NSTextContentManagerPtrNested 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 NSTextContentStorage()NSTextContentStorage(NSCoder coder)protectedNSTextContentStorage(NSObject.Handle h, long handle)protectedNSTextContentStorage(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description NSTextRangeadjustedRangeFromRange(NSTextRange textRange, boolean forEditingTextSelection)NSAttributedStringattributedStringForTextElement(NSTextElement textElement)NSAttributedStringgetAttributedString()NSTextContentStorageDelegategetDelegate()NSTextStoragegetTextStorage()NSTextLocationlocationFromLocation(NSTextLocation location, long offset)longoffsetFromLocation(NSTextLocation from, NSTextLocation to)voidperformEditingTransactionForTextStorage(NSTextStorage textStorage, Runnable transaction)voidprocessEditingForTextStorage(NSTextStorage textStorage, NSTextStorageEditActions editMask, NSRange newCharRange, long delta, NSRange invalidatedCharRange)voidsetAttributedString(NSAttributedString v)voidsetDelegate(NSTextContentStorageDelegate v)voidsetTextStorage(NSTextStorage v)static booleansupportsSecureCoding()NSTextElementtextElementForAttributedString(NSAttributedString attributedString)Methods inherited from class org.robovm.apple.uikit.NSTextContentManager
addTextLayoutManager, adjustedRange, automaticallySynchronizesTextLayoutManagers, automaticallySynchronizesToBackingStore, encode, enumerateTextElements, getDocumentRange, getLocationFromLocation, getOffsetFromLocation, getPrimaryTextLayoutManager, getTextLayoutManagers, hasEditingTransaction, init, performEditingTransactionUsingBlock, recordEditAction, removeTextLayoutManager, replaceContents, setAutomaticallySynchronizesTextLayoutManagers, setAutomaticallySynchronizesToBackingStore, setDelegate, setPrimaryTextLayoutManager, synchronizeTextLayoutManagers, synchronizeToBackingStore, textElementsForRangeMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, 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
-
NSTextContentStorage
public NSTextContentStorage() -
NSTextContentStorage
-
NSTextContentStorage
-
NSTextContentStorage
-
-
Method Details
-
getDelegate
- Overrides:
getDelegatein classNSTextContentManager
-
setDelegate
-
getAttributedString
-
setAttributedString
-
getTextStorage
- Specified by:
getTextStoragein interfaceNSTextStorageObserving
-
setTextStorage
- Specified by:
setTextStoragein interfaceNSTextStorageObserving
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
attributedStringForTextElement
-
textElementForAttributedString
-
locationFromLocation
-
offsetFromLocation
-
adjustedRangeFromRange
-
processEditingForTextStorage
public void processEditingForTextStorage(NSTextStorage textStorage, NSTextStorageEditActions editMask, NSRange newCharRange, long delta, NSRange invalidatedCharRange)- Specified by:
processEditingForTextStoragein interfaceNSTextStorageObserving
-
performEditingTransactionForTextStorage
public void performEditingTransactionForTextStorage(NSTextStorage textStorage, Runnable transaction)- Specified by:
performEditingTransactionForTextStoragein interfaceNSTextStorageObserving
-