Package apple.uikit.protocol
Interface UITextDroppable
-
- All Superinterfaces:
UIKeyInput,UIPasteConfigurationSupporting,UITextInput,UITextInputTraits,UITextPasteConfigurationSupporting
- All Known Implementing Classes:
UISearchTextField,UITextField,UITextView
public interface UITextDroppable extends UITextInput, UITextPasteConfigurationSupporting
Defines a text droppable control.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisTextDropActive()Returns whether this control currently has at least one active drag session.voidsetTextDropDelegate(UITextDropDelegate value)UITextDropDelegatetextDropDelegate()UIDropInteractiontextDropInteraction()The text drop interaction that UIKit installs on the text control.-
Methods inherited from interface apple.uikit.protocol.UIKeyInput
deleteBackward, hasText, insertText
-
Methods inherited from interface apple.uikit.protocol.UIPasteConfigurationSupporting
canPasteItemProviders, pasteConfiguration, pasteItemProviders, setPasteConfiguration
-
Methods inherited from interface apple.uikit.protocol.UITextInput
baseWritingDirectionForPositionInDirection, beginFloatingCursorAtPoint, beginningOfDocument, caretRectForPosition, characterOffsetOfPositionWithinRange, characterRangeAtPoint, characterRangeByExtendingPositionInDirection, closestPositionToPoint, closestPositionToPointWithinRange, comparePositionToPosition, dictationRecognitionFailed, dictationRecordingDidEnd, endFloatingCursor, endOfDocument, firstRectForRange, frameForDictationResultPlaceholder, inputDelegate, insertDictationResult, insertDictationResultPlaceholder, insertTextAlternativesStyle, insertTextPlaceholderWithSize, markedTextRange, markedTextStyle, offsetFromPositionToPosition, positionFromPositionInDirectionOffset, positionFromPositionOffset, positionWithinRangeAtCharacterOffset, positionWithinRangeFarthestInDirection, removeDictationResultPlaceholderWillInsertResult, removeTextPlaceholder, replaceRangeWithText, selectedTextRange, selectionAffinity, selectionRectsForRange, setAttributedMarkedTextSelectedRange, setBaseWritingDirectionForRange, setInputDelegate, setMarkedTextSelectedRange, setMarkedTextStyle, setSelectedTextRange, setSelectionAffinity, shouldChangeTextInRangeReplacementText, textInputView, textInRange, textRangeFromPositionToPosition, textStylingAtPositionInDirection, tokenizer, unmarkText, updateFloatingCursorAtPoint
-
Methods inherited from interface apple.uikit.protocol.UITextInputTraits
autocapitalizationType, autocorrectionType, enablesReturnKeyAutomatically, isSecureTextEntry, keyboardAppearance, keyboardType, passwordRules, returnKeyType, setAutocapitalizationType, setAutocorrectionType, setEnablesReturnKeyAutomatically, setKeyboardAppearance, setKeyboardType, setPasswordRules, setReturnKeyType, setSecureTextEntry, setSmartDashesType, setSmartInsertDeleteType, setSmartQuotesType, setSpellCheckingType, setTextContentType, smartDashesType, smartInsertDeleteType, smartQuotesType, spellCheckingType, textContentType
-
Methods inherited from interface apple.uikit.protocol.UITextPasteConfigurationSupporting
pasteDelegate, setPasteDelegate
-
-
-
-
Method Detail
-
isTextDropActive
boolean isTextDropActive()
Returns whether this control currently has at least one active drag session.
-
setTextDropDelegate
void setTextDropDelegate(UITextDropDelegate value)
-
textDropDelegate
UITextDropDelegate textDropDelegate()
-
textDropInteraction
UIDropInteraction textDropInteraction()
The text drop interaction that UIKit installs on the text control. Use this to explicitly disable drop interactions on system text controls, if desired.
-
-