All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.MutableAttributedString

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

public class MutableAttributedString
extends AttributedString
This class wraps the Objective-C class NSMutableAttributedString.


Constructor Index

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

Method Index

 o addAttributeInRange(String, Object, Range)
A wrapper for the - addAttribute:value:range: Objective-C instance method.
 o addAttributesInRange(Dictionary, Range)
A wrapper for the - addAttributes:range: Objective-C instance method.
 o appendAttributedString(AttributedString)
A wrapper for the - appendAttributedString: Objective-C instance method.
 o beginEditing()
A wrapper for the - beginEditing Objective-C instance method.
 o deleteCharactersInRange(Range)
A wrapper for the - deleteCharactersInRange: Objective-C instance method.
 o endEditing()
A wrapper for the - endEditing Objective-C instance method.
 o insertAttributedStringAtIndex(AttributedString, int)
A wrapper for the - insertAttributedString:atIndex: Objective-C instance method.
 o mutableString()
A wrapper for the - mutableString Objective-C instance method.
 o removeAttributeInRange(String, Range)
A wrapper for the - removeAttribute:range: Objective-C instance method.
 o replaceCharactersInRangeWithAttributedString(Range, AttributedString)
A wrapper for the - replaceCharactersInRange:withAttributedString: Objective-C instance method.
 o replaceCharactersInRangeWithString(Range, String)
A wrapper for the - replaceCharactersInRange:withString: Objective-C instance method.
 o setAttributedString(AttributedString)
A wrapper for the - setAttributedString: Objective-C instance method.
 o setAttributesInRange(Dictionary, Range)
A wrapper for the - setAttributes:range: Objective-C instance method.
 o setString(String)
A wrapper for the - setString: Objective-C instance method.

Constructors

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

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

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

Methods

 o replaceCharactersInRangeWithString
 public native void replaceCharactersInRangeWithString(Range range,
                                                       String str)
A wrapper for the - replaceCharactersInRange:withString: Objective-C instance method.

 o setAttributesInRange
 public native void setAttributesInRange(Dictionary attrs,
                                         Range range)
A wrapper for the - setAttributes:range: Objective-C instance method.

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

 o addAttributeInRange
 public native void addAttributeInRange(String name,
                                        Object value,
                                        Range range)
A wrapper for the - addAttribute:value:range: Objective-C instance method.

 o addAttributesInRange
 public native void addAttributesInRange(Dictionary attrs,
                                         Range range)
A wrapper for the - addAttributes:range: Objective-C instance method.

 o removeAttributeInRange
 public native void removeAttributeInRange(String name,
                                           Range range)
A wrapper for the - removeAttribute:range: Objective-C instance method.

 o replaceCharactersInRangeWithAttributedString
 public native void replaceCharactersInRangeWithAttributedString(Range range,
                                                                 AttributedString attrString)
A wrapper for the - replaceCharactersInRange:withAttributedString: Objective-C instance method.

 o insertAttributedStringAtIndex
 public native void insertAttributedStringAtIndex(AttributedString attrString,
                                                  int loc)
A wrapper for the - insertAttributedString:atIndex: Objective-C instance method.

 o appendAttributedString
 public native void appendAttributedString(AttributedString attrString)
A wrapper for the - appendAttributedString: Objective-C instance method.

 o deleteCharactersInRange
 public native void deleteCharactersInRange(Range range)
A wrapper for the - deleteCharactersInRange: Objective-C instance method.

 o setAttributedString
 public native void setAttributedString(AttributedString attrString)
A wrapper for the - setAttributedString: Objective-C instance method.

 o beginEditing
 public native void beginEditing()
A wrapper for the - beginEditing Objective-C instance method.

 o endEditing
 public native void endEditing()
A wrapper for the - endEditing Objective-C instance method.

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


All Packages  Class Hierarchy  This Package  Previous  Next  Index