Package org.robovm.apple.uikit
Class NSTextSelectionDataSourceAdapter
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.NSTextSelectionDataSourceAdapter
- All Implemented Interfaces:
NSObjectProtocol,NSTextSelectionDataSource,ObjCProtocol
public class NSTextSelectionDataSourceAdapter extends NSObject implements NSTextSelectionDataSource
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Constructor Description NSTextSelectionDataSourceAdapter() -
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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
NSTextSelectionDataSourceAdapter
public NSTextSelectionDataSourceAdapter()
-
-
Method Details
-
getDocumentRange
- Specified by:
getDocumentRangein interfaceNSTextSelectionDataSource
-
enumerateSubstringsFromLocation
public void enumerateSubstringsFromLocation(NSTextLocation location, NSStringEnumerationOptions options, VoidBlock4<NSString,NSTextRange,NSTextRange,BooleanPtr> block)- Specified by:
enumerateSubstringsFromLocationin interfaceNSTextSelectionDataSource
-
getTextRangeForSelectionGranularity
public NSTextRange getTextRangeForSelectionGranularity(NSTextSelectionGranularity selectionGranularity, NSTextLocation location)- Specified by:
getTextRangeForSelectionGranularityin interfaceNSTextSelectionDataSource
-
getLocationFromLocation
- Specified by:
getLocationFromLocationin interfaceNSTextSelectionDataSource
-
getOffsetFromLocation
- Specified by:
getOffsetFromLocationin interfaceNSTextSelectionDataSource
-
baseWritingDirectionAtLocation
public NSTextSelectionNavigationWritingDirection baseWritingDirectionAtLocation(NSTextLocation location)- Specified by:
baseWritingDirectionAtLocationin interfaceNSTextSelectionDataSource
-
enumerateCaretOffsetsInLineFragmentAtLocation
public void enumerateCaretOffsetsInLineFragmentAtLocation(NSTextLocation location, VoidBlock4<Double,NSTextLocation,Boolean,BooleanPtr> block)- Specified by:
enumerateCaretOffsetsInLineFragmentAtLocationin interfaceNSTextSelectionDataSource
-
getLineFragmentRangeForPoint
- Specified by:
getLineFragmentRangeForPointin interfaceNSTextSelectionDataSource
-
enumerateContainerBoundariesFromLocation
public void enumerateContainerBoundariesFromLocation(NSTextLocation location, boolean reverse, VoidBlock2<NSTextLocation,BooleanPtr> block)- Specified by:
enumerateContainerBoundariesFromLocationin interfaceNSTextSelectionDataSource
-
textLayoutOrientationAtLocation
public NSTextSelectionNavigationLayoutOrientation textLayoutOrientationAtLocation(NSTextLocation location)- Specified by:
textLayoutOrientationAtLocationin interfaceNSTextSelectionDataSource
-