Package org.robovm.apple.foundation
Class NSMutableAttributedString
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
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
- Direct Known Subclasses:
NSTextStorage
public class NSMutableAttributedString extends NSAttributedString
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNSMutableAttributedString.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
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description NSMutableAttributedString()NSMutableAttributedString(String str)NSMutableAttributedString(String str, CMTextMarkupAttributes attrs)NSMutableAttributedString(String str, CTAttributedStringAttributes attrs)NSMutableAttributedString(String str, NSAttributedStringAttributes attrs)NSMutableAttributedString(NSAttributedString attrStr)protectedNSMutableAttributedString(NSObject.Handle h, long handle)protectedNSMutableAttributedString(NSObject.SkipInit skipInit) -
Method Summary
Methods 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, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
NSMutableAttributedString
public NSMutableAttributedString() -
NSMutableAttributedString
-
NSMutableAttributedString
-
NSMutableAttributedString
-
NSMutableAttributedString
-
NSMutableAttributedString
-
NSMutableAttributedString
-
NSMutableAttributedString
-
-
Method Details
-
getMutableString
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
addAttribute
-
addAttribute
-
addAttribute
-
addAttribute
-
addAttributes
-
addAttributes
-
addAttributes
-
setAttributes
-
setAttributes
-
setAttributes
-
removeAttribute
-
removeAttribute
-
removeAttribute
-
removeAttribute
-
read
- Parameters:
url-opts-- Returns:
- Throws:
NSErrorException- Since:
- Available in iOS 9.0 and later.
-
read
public boolean read(NSData data, NSAttributedStringDocumentAttributes opts) throws NSErrorException- Parameters:
data-opts-- Returns:
- Throws:
NSErrorException- Since:
- Available in iOS 7.0 and later.
-
fixAttributes
- Since:
- Available in iOS 7.0 and later.
-
replace
- Overrides:
replacein classNSAttributedString
-
setAttributes
- Overrides:
setAttributesin classNSAttributedString
-
addAttribute
- Overrides:
addAttributein classNSAttributedString
-
addAttributes
- Overrides:
addAttributesin classNSAttributedString
-
removeAttribute
- Overrides:
removeAttributein classNSAttributedString
-
replace
- Overrides:
replacein classNSAttributedString
-
insert
- Overrides:
insertin classNSAttributedString
-
append
- Overrides:
appendin classNSAttributedString
-
delete
- Overrides:
deletein classNSAttributedString
-
setAttributedString
- Overrides:
setAttributedStringin classNSAttributedString
-
beginEditing
public void beginEditing()- Overrides:
beginEditingin classNSAttributedString
-
endEditing
public void endEditing()- Overrides:
endEditingin classNSAttributedString
-