Package apple.uikit.protocol
Interface UITextDraggable
-
- All Superinterfaces:
UIKeyInput,UITextInput,UITextInputTraits
- All Known Implementing Classes:
UISearchTextField,UITextField,UITextView
public interface UITextDraggable extends UITextInput
Defines a text draggable control. API-Since: 11.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisTextDragActive()Returns whether this control currently has at least one active drag session.voidsetTextDragDelegate_unsafe(@Nullable UITextDragDelegate value)voidsetTextDragOptions(long value)@Nullable UITextDragDelegatetextDragDelegate()@Nullable UIDragInteractiontextDragInteraction()The text drag interaction that UIKit installs on the text control.longtextDragOptions()-
Methods inherited from interface apple.uikit.protocol.UIKeyInput
deleteBackward, hasText, insertText
-
Methods inherited from interface apple.uikit.protocol.UITextInput
baseWritingDirectionForPositionInDirection, beginFloatingCursorAtPoint, beginningOfDocument, caretRectForPosition, characterOffsetOfPositionWithinRange, characterRangeAtPoint, characterRangeByExtendingPositionInDirection, closestPositionToPoint, closestPositionToPointWithinRange, comparePositionToPosition, dictationRecognitionFailed, dictationRecordingDidEnd, editMenuForTextRangeSuggestedActions, 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_unsafe, setMarkedTextSelectedRange, setMarkedTextStyle, setSelectedTextRange, setSelectionAffinity, shouldChangeTextInRangeReplacementText, textInputView, textInRange, textRangeFromPositionToPosition, textStylingAtPositionInDirection, tokenizer, unmarkText, updateFloatingCursorAtPoint, willDismissEditMenuWithAnimator, willPresentEditMenuWithAnimator
-
Methods inherited from interface apple.uikit.protocol.UITextInputTraits
autocapitalizationType, autocorrectionType, enablesReturnKeyAutomatically, inlinePredictionType, isSecureTextEntry, keyboardAppearance, keyboardType, passwordRules, returnKeyType, setAutocapitalizationType, setAutocorrectionType, setEnablesReturnKeyAutomatically, setInlinePredictionType, setKeyboardAppearance, setKeyboardType, setPasswordRules, setReturnKeyType, setSecureTextEntry, setSmartDashesType, setSmartInsertDeleteType, setSmartQuotesType, setSpellCheckingType, setTextContentType, smartDashesType, smartInsertDeleteType, smartQuotesType, spellCheckingType, textContentType
-
-
-
-
Method Detail
-
isTextDragActive
boolean isTextDragActive()
Returns whether this control currently has at least one active drag session.
-
setTextDragDelegate_unsafe
void setTextDragDelegate_unsafe(@Nullable @Nullable UITextDragDelegate value)
-
setTextDragOptions
void setTextDragOptions(long value)
-
textDragDelegate
@Nullable @Nullable UITextDragDelegate textDragDelegate()
-
textDragInteraction
@Nullable @Nullable UIDragInteraction textDragInteraction()
The text drag interaction that UIKit installs on the text control. Use this to explicitly disable drag interactions on system text controls, if desired.
-
textDragOptions
long textDragOptions()
-
-