Package org.robovm.apple.corefoundation
Class CFAttributedString
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.corefoundation.CFAttributedString
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Direct Known Subclasses:
CFMutableAttributedString
public class CFAttributedString extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CFAttributedString.CFAttributedStringPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CFAttributedString()
-
Method Summary
-
Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
-
-
-
Method Detail
-
create
public static CFAttributedString create(java.lang.String str, NSAttributedStringAttributes attributes)
-
create
public static CFAttributedString create(CFAllocator alloc, java.lang.String str, NSAttributedStringAttributes attributes)
-
create
public static CFAttributedString create(java.lang.String str, CMTextMarkupAttributes attributes)
-
create
public static CFAttributedString create(CFAllocator alloc, java.lang.String str, CMTextMarkupAttributes attributes)
-
create
public static CFAttributedString create(java.lang.String str, CTAttributedStringAttributes attributes)
-
create
public static CFAttributedString create(CFAllocator alloc, java.lang.String str, CTAttributedStringAttributes attributes)
-
getAttribute
public CFType getAttribute(long loc, NSAttributedStringAttribute attrName, CFRange effectiveRange)
-
getAttribute
public CFType getAttribute(long loc, CMTextMarkupAttribute attrName, CFRange effectiveRange)
-
getAttribute
public CFType getAttribute(long loc, CTAttributedStringAttribute attrName, CFRange effectiveRange)
-
getAttributes
public NSAttributedStringAttributes getAttributes(long loc, CFRange effectiveRange)
-
getTextMarkupAttributes
public CMTextMarkupAttributes getTextMarkupAttributes(long loc, CFRange effectiveRange)
-
getCoreTextAttributes
public CTAttributedStringAttributes getCoreTextAttributes(long loc, CFRange effectiveRange)
-
getClassTypeID
public static long getClassTypeID()
-
create
public static CFAttributedString create(CFAllocator alloc, java.lang.String str, CFDictionary attributes)
-
createWithSubstring
public static CFAttributedString createWithSubstring(CFAllocator alloc, CFAttributedString aStr, CFRange range)
-
createCopy
public static CFAttributedString createCopy(CFAllocator alloc, CFAttributedString aStr)
-
getString
public java.lang.String getString()
-
length
public long length()
-
getAttributesDictionary
public CFDictionary getAttributesDictionary(long loc, CFRange effectiveRange)
-
-