Package org.robovm.apple.uikit
Class UITextViewDelegateAdapter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIScrollViewDelegateAdapter
-
- org.robovm.apple.uikit.UITextViewDelegateAdapter
-
- All Implemented Interfaces:
NSObjectProtocol
,UIScrollViewDelegate
,UITextViewDelegate
,org.robovm.objc.ObjCProtocol
public class UITextViewDelegateAdapter extends UIScrollViewDelegateAdapter implements UITextViewDelegate
-
-
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.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Constructor Description UITextViewDelegateAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
didBeginEditing(UITextView textView)
void
didChange(UITextView textView)
void
didChangeSelection(UITextView textView)
void
didEndEditing(UITextView textView)
boolean
shouldBeginEditing(UITextView textView)
boolean
shouldChangeCharacters(UITextView textView, NSRange range, java.lang.String text)
boolean
shouldEndEditing(UITextView textView)
boolean
shouldInteractWithTextAttachment(UITextView textView, NSTextAttachment textAttachment, NSRange characterRange)
Deprecated.Deprecated in iOS 10.0.boolean
shouldInteractWithTextAttachment(UITextView textView, NSTextAttachment textAttachment, NSRange characterRange, UITextItemInteraction interaction)
boolean
shouldInteractWithURL(UITextView textView, NSURL URL, NSRange characterRange)
Deprecated.Deprecated in iOS 10.0.boolean
shouldInteractWithURL(UITextView textView, NSURL URL, NSRange characterRange, UITextItemInteraction interaction)
-
Methods inherited from class org.robovm.apple.uikit.UIScrollViewDelegateAdapter
didEndDecelerating, didEndDragging, didEndScrollingAnimation, didEndZooming, didScroll, didScrollToTop, didZoom, getViewForZooming, scrollViewDidChangeAdjustedContentInset, shouldScrollToTop, willBeginDecelerating, willBeginDragging, willBeginZooming, willEndDragging
-
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
-
Methods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Methods inherited from interface org.robovm.apple.uikit.UIScrollViewDelegate
didEndDecelerating, didEndDragging, didEndScrollingAnimation, didEndZooming, didScroll, didScrollToTop, didZoom, getViewForZooming, scrollViewDidChangeAdjustedContentInset, shouldScrollToTop, willBeginDecelerating, willBeginDragging, willBeginZooming, willEndDragging
-
-
-
-
Method Detail
-
shouldBeginEditing
public boolean shouldBeginEditing(UITextView textView)
- Specified by:
shouldBeginEditing
in interfaceUITextViewDelegate
-
shouldEndEditing
public boolean shouldEndEditing(UITextView textView)
- Specified by:
shouldEndEditing
in interfaceUITextViewDelegate
-
didBeginEditing
public void didBeginEditing(UITextView textView)
- Specified by:
didBeginEditing
in interfaceUITextViewDelegate
-
didEndEditing
public void didEndEditing(UITextView textView)
- Specified by:
didEndEditing
in interfaceUITextViewDelegate
-
shouldChangeCharacters
public boolean shouldChangeCharacters(UITextView textView, NSRange range, java.lang.String text)
- Specified by:
shouldChangeCharacters
in interfaceUITextViewDelegate
-
didChange
public void didChange(UITextView textView)
- Specified by:
didChange
in interfaceUITextViewDelegate
-
didChangeSelection
public void didChangeSelection(UITextView textView)
- Specified by:
didChangeSelection
in interfaceUITextViewDelegate
-
shouldInteractWithURL
public boolean shouldInteractWithURL(UITextView textView, NSURL URL, NSRange characterRange, UITextItemInteraction interaction)
- Specified by:
shouldInteractWithURL
in interfaceUITextViewDelegate
- Since:
- Available in iOS 10.0 and later.
-
shouldInteractWithTextAttachment
public boolean shouldInteractWithTextAttachment(UITextView textView, NSTextAttachment textAttachment, NSRange characterRange, UITextItemInteraction interaction)
- Specified by:
shouldInteractWithTextAttachment
in interfaceUITextViewDelegate
- Since:
- Available in iOS 10.0 and later.
-
shouldInteractWithURL
@Deprecated public boolean shouldInteractWithURL(UITextView textView, NSURL URL, NSRange characterRange)
Deprecated.Deprecated in iOS 10.0. Use textView:shouldInteractWithURL:inRange:forInteractionType: instead- Specified by:
shouldInteractWithURL
in interfaceUITextViewDelegate
- Since:
- Available in iOS 7.0 and later.
-
shouldInteractWithTextAttachment
@Deprecated public boolean shouldInteractWithTextAttachment(UITextView textView, NSTextAttachment textAttachment, NSRange characterRange)
Deprecated.Deprecated in iOS 10.0. Use textView:shouldInteractWithTextAttachment:inRange:forInteractionType: instead- Specified by:
shouldInteractWithTextAttachment
in interfaceUITextViewDelegate
- Since:
- Available in iOS 7.0 and later.
-
-