All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.TextStorage

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

public class TextStorage
extends MutableAttributedString
This class wraps the Objective-C class NSTextStorage.


Variable Index

 o TextStorageDidProcessEditingNotification
 o TextStorageWillProcessEditingNotification

Constructor Index

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

Method Index

 o addLayoutManager(LayoutManager)
A wrapper for the - addLayoutManager: Objective-C instance method.
 o changeInLength()
A wrapper for the - changeInLength Objective-C instance method.
 o delegate()
A wrapper for the - delegate Objective-C instance method.
 o editedInRange(int, Range, int)
A wrapper for the - edited:range:changeInLength: Objective-C instance method.
 o editedMask()
A wrapper for the - editedMask Objective-C instance method.
 o editedRange()
A wrapper for the - editedRange Objective-C instance method.
 o layoutManagers()
A wrapper for the - layoutManagers Objective-C instance method.
 o processEditing()
A wrapper for the - processEditing Objective-C instance method.
 o removeLayoutManager(LayoutManager)
A wrapper for the - removeLayoutManager: Objective-C instance method.
 o replaceCharactersInRangeWithString(Range, String)
A wrapper for the - replaceCharactersInRange:withString: Objective-C instance method.
 o setAttributesInRange(Dictionary, Range)
A wrapper for the - setAttributes:range: Objective-C instance method.
 o setDelegate(Object)
A wrapper for the - setDelegate: Objective-C instance method.

Variables

 o TextStorageWillProcessEditingNotification
 public static final String TextStorageWillProcessEditingNotification
 o TextStorageDidProcessEditingNotification
 public static final String TextStorageDidProcessEditingNotification

Constructors

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

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

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

Methods

 o addLayoutManager
 public native void addLayoutManager(LayoutManager obj)
A wrapper for the - addLayoutManager: Objective-C instance method.

 o removeLayoutManager
 public native void removeLayoutManager(LayoutManager obj)
A wrapper for the - removeLayoutManager: Objective-C instance method.

 o layoutManagers
 public native Array layoutManagers()
A wrapper for the - layoutManagers Objective-C instance method.

 o editedInRange
 public native void editedInRange(int editedMask,
                                  Range range,
                                  int delta)
A wrapper for the - edited:range:changeInLength: Objective-C instance method.

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

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

 o editedRange
 public native Range editedRange()
A wrapper for the - editedRange Objective-C instance method.

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

 o setDelegate
 public native void setDelegate(Object delegate)
A wrapper for the - setDelegate: Objective-C instance method.

 o delegate
 public native Object delegate()
A wrapper for the - delegate Objective-C instance method.

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

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

Overrides:
setAttributesInRange in class MutableAttributedString

All Packages  Class Hierarchy  This Package  Previous  Next  Index