public class NSTextCheckingResult extends NSObject implements NSCopying, NSSecureCoding
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSTextCheckingResult(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() |
static NSTextCheckingResult |
addressCheckingResultWithRangeComponents(NSRange range,
NSDictionary<java.lang.String,java.lang.String> components) |
NSDictionary<java.lang.String,java.lang.String> |
addressComponents()
Deprecated in favor of components
|
static NSTextCheckingResult |
alloc() |
static NSTextCheckingResult |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSArray<java.lang.String> |
alternativeStrings() |
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() |
NSDictionary<java.lang.String,java.lang.String> |
components() |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static NSTextCheckingResult |
correctionCheckingResultWithRangeReplacementString(NSRange range,
java.lang.String replacementString) |
static NSTextCheckingResult |
correctionCheckingResultWithRangeReplacementStringAlternativeStrings(NSRange range,
java.lang.String replacementString,
NSArray<java.lang.String> alternativeStrings) |
static NSTextCheckingResult |
dashCheckingResultWithRangeReplacementString(NSRange range,
java.lang.String replacementString) |
NSDate |
date() |
static NSTextCheckingResult |
dateCheckingResultWithRangeDate(NSRange range,
NSDate date) |
static NSTextCheckingResult |
dateCheckingResultWithRangeDateTimeZoneDuration(NSRange range,
NSDate date,
NSTimeZone timeZone,
double duration) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
double |
duration() |
void |
encodeWithCoder(NSCoder coder) |
static NSTextCheckingResult |
grammarCheckingResultWithRangeDetails(NSRange range,
NSArray<? extends NSDictionary<java.lang.String,?>> details) |
NSArray<? extends NSDictionary<java.lang.String,?>> |
grammarDetails() |
static long |
hash_static() |
NSTextCheckingResult |
init() |
NSTextCheckingResult |
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) |
static NSTextCheckingResult |
linkCheckingResultWithRangeURL(NSRange range,
NSURL url) |
static NSTextCheckingResult |
new_objc() |
long |
numberOfRanges()
A result must have at least one range, but may optionally have more (for example, to represent regular expression capture groups).
|
NSOrthography |
orthography()
Optional properties, used with certain types of results.
|
static NSTextCheckingResult |
orthographyCheckingResultWithRangeOrthography(NSRange range,
NSOrthography orthography)
Methods for creating instances of the various types of results.
|
java.lang.String |
phoneNumber() |
static NSTextCheckingResult |
phoneNumberCheckingResultWithRangePhoneNumber(NSRange range,
java.lang.String phoneNumber) |
static NSTextCheckingResult |
quoteCheckingResultWithRangeReplacementString(NSRange range,
java.lang.String replacementString) |
NSRange |
range() |
NSRange |
rangeAtIndex(long idx) |
NSRange |
rangeWithName(java.lang.String name) |
NSRegularExpression |
regularExpression() |
static NSTextCheckingResult |
regularExpressionCheckingResultWithRangesCountRegularExpression(org.moe.natj.general.ptr.Ptr<NSRange> ranges,
long count,
NSRegularExpression regularExpression) |
static NSTextCheckingResult |
replacementCheckingResultWithRangeReplacementString(NSRange range,
java.lang.String replacementString) |
java.lang.String |
replacementString() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
NSTextCheckingResult |
resultByAdjustingRangesWithOffset(long offset) |
long |
resultType()
Mandatory properties, used with all types of results.
|
static void |
setVersion_static(long aVersion) |
static NSTextCheckingResult |
spellCheckingResultWithRange(NSRange range) |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
NSTimeZone |
timeZone() |
static NSTextCheckingResult |
transitInformationCheckingResultWithRangeComponents(NSRange range,
NSDictionary<java.lang.String,java.lang.String> components) |
NSURL |
URL() |
static long |
version_static() |
accessibilityActivate, 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 NSTextCheckingResult(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static NSTextCheckingResult addressCheckingResultWithRangeComponents(NSRange range, NSDictionary<java.lang.String,java.lang.String> components)
public static NSTextCheckingResult alloc()
public static NSTextCheckingResult allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
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 NSTextCheckingResult correctionCheckingResultWithRangeReplacementString(NSRange range, java.lang.String replacementString)
public static NSTextCheckingResult correctionCheckingResultWithRangeReplacementStringAlternativeStrings(NSRange range, java.lang.String replacementString, NSArray<java.lang.String> alternativeStrings)
public static NSTextCheckingResult dashCheckingResultWithRangeReplacementString(NSRange range, java.lang.String replacementString)
public static NSTextCheckingResult dateCheckingResultWithRangeDate(NSRange range, NSDate date)
public static NSTextCheckingResult dateCheckingResultWithRangeDateTimeZoneDuration(NSRange range, NSDate date, NSTimeZone timeZone, double duration)
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static NSTextCheckingResult grammarCheckingResultWithRangeDetails(NSRange range, NSArray<? extends NSDictionary<java.lang.String,?>> details)
public static long hash_static()
public 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 static NSTextCheckingResult linkCheckingResultWithRangeURL(NSRange range, NSURL url)
public static NSTextCheckingResult new_objc()
public static NSTextCheckingResult orthographyCheckingResultWithRangeOrthography(NSRange range, NSOrthography orthography)
public static NSTextCheckingResult phoneNumberCheckingResultWithRangePhoneNumber(NSRange range, java.lang.String phoneNumber)
public static NSTextCheckingResult quoteCheckingResultWithRangeReplacementString(NSRange range, java.lang.String replacementString)
public static NSTextCheckingResult regularExpressionCheckingResultWithRangesCountRegularExpression(org.moe.natj.general.ptr.Ptr<NSRange> ranges, long count, NSRegularExpression regularExpression)
public static NSTextCheckingResult replacementCheckingResultWithRangeReplacementString(NSRange range, java.lang.String replacementString)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static NSTextCheckingResult spellCheckingResultWithRange(NSRange range)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public static NSTextCheckingResult transitInformationCheckingResultWithRangeComponents(NSRange range, NSDictionary<java.lang.String,java.lang.String> components)
public static long version_static()
public NSURL URL()
public NSDictionary<java.lang.String,java.lang.String> addressComponents()
public NSArray<java.lang.String> alternativeStrings()
public NSDictionary<java.lang.String,java.lang.String> components()
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic NSDate date()
public double duration()
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic NSArray<? extends NSDictionary<java.lang.String,?>> grammarDetails()
public NSTextCheckingResult init()
public NSTextCheckingResult initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic long numberOfRanges()
public NSOrthography orthography()
public java.lang.String phoneNumber()
public NSRange range()
public NSRange rangeAtIndex(long idx)
public NSRegularExpression regularExpression()
public java.lang.String replacementString()
public NSTextCheckingResult resultByAdjustingRangesWithOffset(long offset)
public long resultType()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic NSTimeZone timeZone()
public NSRange rangeWithName(java.lang.String name)