All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.AttributedString

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.AttributedString

public class AttributedString
extends NativeObject
implements Coding
This class wraps the Objective-C class NSAttributedString.


Constructor Index

 o AttributedString()
This default constructor is equivalent to Objective-C's [[NSAttributedString alloc] init].
 o AttributedString(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o AttributedString(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Method Index

 o attributeAtIndex(String, int)
A wrapper for the - attribute:atIndex: Objective-C instance method.
 o attributeAtIndexInRange(String, int, Range)
A wrapper for the - attribute:atIndex:inRange: Objective-C instance method.
 o attributedSubstringWithRange(Range)
A wrapper for the - attributedSubstringFromRange: Objective-C instance method.
 o attributesAtIndexInRange(int, Range)
A wrapper for the - attributesAtIndex:inRange: Objective-C instance method.
 o effectiveRangeForAttributeAtIndex(String, int)
A wrapper for the - effectiveRangeForAttribute:atIndex: Objective-C instance method.
 o encodeWithCoder(Coder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).
 o isEqualToAttributedString(AttributedString)
A wrapper for the - isEqualToAttributedString: Objective-C instance method.
 o length()
A wrapper for the - length Objective-C instance method.
 o longestEffectiveRangeForattributeAtIndexInRange(String, int, Range)
A wrapper for the - longestEffectiveRangeForattribute:atIndex:inRange: Objective-C instance method.
 o longestEffectiveRangeForattributesAtIndexInRange(int, Range)
A wrapper for the - longestEffectiveRangeForattributesAtIndex:inRange: Objective-C instance method.
 o string()
A wrapper for the - string Objective-C instance method.

Constructors

 o AttributedString
 protected AttributedString(boolean shouldAllocate,
                            int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o AttributedString
 public AttributedString()
This default constructor is equivalent to Objective-C's [[NSAttributedString alloc] init].

 o AttributedString
 public AttributedString(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Methods

 o string
 public native String string()
A wrapper for the - string Objective-C instance method.

 o length
 public native int length()
A wrapper for the - length Objective-C instance method.

 o attributedSubstringWithRange
 public native AttributedString attributedSubstringWithRange(Range range)
A wrapper for the - attributedSubstringFromRange: Objective-C instance method.

 o isEqualToAttributedString
 public native boolean isEqualToAttributedString(AttributedString other)
A wrapper for the - isEqualToAttributedString: Objective-C instance method.

 o attributeAtIndex
 public native Object attributeAtIndex(String attrName,
                                       int location)
A wrapper for the - attribute:atIndex: Objective-C instance method.

 o effectiveRangeForAttributeAtIndex
 public native Range effectiveRangeForAttributeAtIndex(String attrName,
                                                       int location)
A wrapper for the - effectiveRangeForAttribute:atIndex: Objective-C instance method.

 o attributesAtIndexInRange
 public native Dictionary attributesAtIndexInRange(int location,
                                                   Range rangeLimit)
A wrapper for the - attributesAtIndex:inRange: Objective-C instance method.

 o longestEffectiveRangeForattributesAtIndexInRange
 public native Range longestEffectiveRangeForattributesAtIndexInRange(int location,
                                                                      Range rangeLimit)
A wrapper for the - longestEffectiveRangeForattributesAtIndex:inRange: Objective-C instance method.

 o attributeAtIndexInRange
 public native Object attributeAtIndexInRange(String attrName,
                                              int location,
                                              Range rangeLimit)
A wrapper for the - attribute:atIndex:inRange: Objective-C instance method.

 o longestEffectiveRangeForattributeAtIndexInRange
 public native Range longestEffectiveRangeForattributeAtIndexInRange(String attrName,
                                                                     int location,
                                                                     Range rangeLimit)
A wrapper for the - longestEffectiveRangeForattribute:atIndex:inRange: Objective-C instance method.

 o encodeWithCoder
 public native void encodeWithCoder(Coder aCoder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).


All Packages  Class Hierarchy  This Package  Previous  Next  Index