public class NSTextContentStorage extends NSTextContentManager implements NSTextStorageObserving
NSTextContentManager.Block_performEditingTransactionUsingBlock, NSTextContentManager.Block_synchronizeTextLayoutManagersNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retNSTextStorageObserving.Block_performEditingTransactionForTextStorageUsingBlockNSTextElementProvider.Block_enumerateTextElementsFromLocationOptionsUsingBlock, NSTextElementProvider.Block_synchronizeToBackingStore| Modifier | Constructor and Description |
|---|---|
protected |
NSTextContentStorage(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
NSTextRange |
adjustedRangeFromRangeForEditingTextSelection(NSTextRange textRange,
boolean forEditingTextSelection)
Should be implemented if the location backing store requires manual adjustment after editing.
|
static NSTextContentStorage |
alloc() |
static NSTextContentStorage |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSAttributedString |
attributedString()
The document contents.
|
NSAttributedString |
attributedStringForTextElement(NSTextElement textElement)
Returns a new attributed string for textElement.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static java.lang.String |
debugDescription_static() |
java.lang.Object |
delegate() |
static java.lang.String |
description_static() |
static long |
hash_static() |
NSTextContentStorage |
init() |
NSTextContentStorage |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
NSTextLocation |
locationFromLocationWithOffset(NSTextLocation location,
long offset)
Returns a new location from location with offset.
|
static NSTextContentStorage |
new_objc() |
long |
offsetFromLocationToLocation(NSTextLocation from,
NSTextLocation to)
Returns the offset between from and to.
|
void |
performEditingTransactionForTextStorageUsingBlock(NSTextStorage textStorage,
NSTextStorageObserving.Block_performEditingTransactionForTextStorageUsingBlock transaction)
Transactional editing support
|
void |
processEditingForTextStorageEditedRangeChangeInLengthInvalidatedRange(NSTextStorage textStorage,
long editMask,
NSRange newCharRange,
long delta,
NSRange invalidatedCharRange)
The newCharRange is the range in the final string which was explicitly edited.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAttributedString(NSAttributedString value)
The document contents.
|
void |
setDelegate_unsafe(java.lang.Object value) |
void |
setDelegate(java.lang.Object value) |
void |
setTextStorage(NSTextStorage value)
The document object
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
NSTextElement |
textElementForAttributedString(NSAttributedString attributedString)
Returns NSTextElement corresponding to attributedString.
|
NSTextStorage |
textStorage()
The document object
|
static long |
version_static() |
addTextLayoutManager, automaticallySynchronizesTextLayoutManagers, automaticallySynchronizesToBackingStore, documentRange, encodeWithCoder, enumerateTextElementsFromLocationOptionsUsingBlock, hasEditingTransaction, performEditingTransactionUsingBlock, primaryTextLayoutManager, recordEditActionInRangeNewTextRange, removeTextLayoutManager, replaceContentsInRangeWithTextElements, setAutomaticallySynchronizesTextLayoutManagers, setAutomaticallySynchronizesToBackingStore, setPrimaryTextLayoutManager, synchronizeTextLayoutManagers, synchronizeToBackingStore, textElementsForRange, textLayoutManagersaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected NSTextContentStorage(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public NSTextRange adjustedRangeFromRangeForEditingTextSelection(NSTextRange textRange, boolean forEditingTextSelection)
adjustedRangeFromRangeForEditingTextSelection in interface NSTextElementProvideradjustedRangeFromRangeForEditingTextSelection in class NSTextContentManagerpublic static NSTextContentStorage alloc()
public static NSTextContentStorage allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public NSAttributedString attributedString()
public NSAttributedString attributedStringForTextElement(NSTextElement textElement)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public java.lang.Object delegate()
delegate in class NSTextContentManagerpublic static java.lang.String description_static()
public static long hash_static()
public NSTextContentStorage init()
init in class NSTextContentManagerpublic NSTextContentStorage initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class NSTextContentManagerpublic static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public NSTextLocation locationFromLocationWithOffset(NSTextLocation location, long offset)
locationFromLocationWithOffset in interface NSTextElementProviderlocationFromLocationWithOffset in class NSTextContentManagerpublic static NSTextContentStorage new_objc()
public long offsetFromLocationToLocation(NSTextLocation from, NSTextLocation to)
offsetFromLocationToLocation in interface NSTextElementProvideroffsetFromLocationToLocation in class NSTextContentManagerpublic void performEditingTransactionForTextStorageUsingBlock(NSTextStorage textStorage, NSTextStorageObserving.Block_performEditingTransactionForTextStorageUsingBlock transaction)
NSTextStorageObservingperformEditingTransactionForTextStorageUsingBlock in interface NSTextStorageObservingpublic void processEditingForTextStorageEditedRangeChangeInLengthInvalidatedRange(NSTextStorage textStorage, long editMask, NSRange newCharRange, long delta, NSRange invalidatedCharRange)
NSTextStorageObservingprocessEditingForTextStorageEditedRangeChangeInLengthInvalidatedRange in interface NSTextStorageObservingpublic static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public void setAttributedString(NSAttributedString value)
public void setDelegate_unsafe(java.lang.Object value)
setDelegate_unsafe in class NSTextContentManagerpublic void setDelegate(java.lang.Object value)
setDelegate in class NSTextContentManagerpublic void setTextStorage(NSTextStorage value)
NSTextStorageObservingsetTextStorage in interface NSTextStorageObservingpublic static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding_supportsSecureCoding in class NSTextContentManagerpublic NSTextElement textElementForAttributedString(NSAttributedString attributedString)
public NSTextStorage textStorage()
NSTextStorageObservingtextStorage in interface NSTextStorageObservingpublic static long version_static()