Package org.robovm.apple.foundation
Class NSTextCheckingResult
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSTextCheckingResult
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class NSTextCheckingResult extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 4.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSTextCheckingResult.NSTextCheckingResultPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSTextCheckingResult()
NSTextCheckingResult(NSCoder decoder)
protected
NSTextCheckingResult(NSObject.Handle h, long handle)
protected
NSTextCheckingResult(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NSTextCheckingResult
public NSTextCheckingResult()
-
NSTextCheckingResult
protected NSTextCheckingResult(NSObject.Handle h, long handle)
-
NSTextCheckingResult
protected NSTextCheckingResult(NSObject.SkipInit skipInit)
-
NSTextCheckingResult
public NSTextCheckingResult(NSCoder decoder)
-
-
Method Detail
-
getResultType
public NSTextCheckingType getResultType()
-
getRange
public NSRange getRange()
-
getOrthography
public NSOrthography getOrthography()
-
getGrammarDetails
public java.util.List<java.lang.String> getGrammarDetails()
-
getDate
public NSDate getDate()
-
getTimeZone
public NSTimeZone getTimeZone()
-
getDuration
public double getDuration()
-
getComponents
public NSTextCheckingTransitComponents getComponents()
- Since:
- Available in iOS 4.0 and later.
-
getURL
public NSURL getURL()
-
getReplacementString
public java.lang.String getReplacementString()
-
getAlternativeStrings
public java.util.List<java.lang.String> getAlternativeStrings()
- Since:
- Available in iOS 7.0 and later.
-
getRegularExpression
public NSRegularExpression getRegularExpression()
- Since:
- Available in iOS 4.0 and later.
-
getPhoneNumber
public java.lang.String getPhoneNumber()
- Since:
- Available in iOS 4.0 and later.
-
getNumberOfRanges
public long getNumberOfRanges()
- Since:
- Available in iOS 4.0 and later.
-
getAddressComponents
public NSTextCheckingAddressComponents getAddressComponents()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
getRegularExpressionCheckingResult
public static NSTextCheckingResult getRegularExpressionCheckingResult(NSRange[] ranges, NSRegularExpression regularExpression)
- Since:
- Available in iOS 4.0 and later.
-
getRangeAt
public NSRange getRangeAt(long idx)
- Since:
- Available in iOS 4.0 and later.
-
getRange
public NSRange getRange(java.lang.String name)
- Since:
- Available in iOS 11.0 and later.
-
newResultByAdjustingRanges
public NSTextCheckingResult newResultByAdjustingRanges(long offset)
- Since:
- Available in iOS 5.0 and later.
-
getOrthographyCheckingResult
public static NSTextCheckingResult getOrthographyCheckingResult(NSRange range, NSOrthography orthography)
-
getSpellCheckingResult
public static NSTextCheckingResult getSpellCheckingResult(NSRange range)
-
getGrammarCheckingResult
public static NSTextCheckingResult getGrammarCheckingResult(NSRange range, java.util.List<java.lang.String> details)
-
getDateCheckingResult
public static NSTextCheckingResult getDateCheckingResult(NSRange range, NSDate date)
-
getDateCheckingResult
public static NSTextCheckingResult getDateCheckingResult(NSRange range, NSDate date, NSTimeZone timeZone, double duration)
-
getAddressCheckingResult
public static NSTextCheckingResult getAddressCheckingResult(NSRange range, NSTextCheckingAddressComponents components)
-
getLinkCheckingResult
public static NSTextCheckingResult getLinkCheckingResult(NSRange range, NSURL url)
-
getQuoteCheckingResult
public static NSTextCheckingResult getQuoteCheckingResult(NSRange range, java.lang.String replacementString)
-
getDashCheckingResult
public static NSTextCheckingResult getDashCheckingResult(NSRange range, java.lang.String replacementString)
-
getReplacementCheckingResult
public static NSTextCheckingResult getReplacementCheckingResult(NSRange range, java.lang.String replacementString)
-
getCorrectionCheckingResult
public static NSTextCheckingResult getCorrectionCheckingResult(NSRange range, java.lang.String replacementString)
-
getCorrectionCheckingResult
public static NSTextCheckingResult getCorrectionCheckingResult(NSRange range, java.lang.String replacementString, java.util.List<java.lang.String> alternativeStrings)
- Since:
- Available in iOS 7.0 and later.
-
getRegularExpressionCheckingResult
protected static NSTextCheckingResult getRegularExpressionCheckingResult(NSRange ranges, long count, NSRegularExpression regularExpression)
- Since:
- Available in iOS 4.0 and later.
-
getPhoneNumberCheckingResult
public static NSTextCheckingResult getPhoneNumberCheckingResult(NSRange range, java.lang.String phoneNumber)
- Since:
- Available in iOS 4.0 and later.
-
getTransitInformationCheckingResult
public static NSTextCheckingResult getTransitInformationCheckingResult(NSRange range, NSTextCheckingTransitComponents components)
- Since:
- Available in iOS 4.0 and later.
-
init
protected long init(NSCoder decoder)
-
-