Class UITextDropAction


  • public final class UITextDropAction
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Insert
      Inserts the text at the provided location.
      static long ReplaceAll
      Replaces all the text in the target with the dropped text, via `setAttributedText:`.
      static long ReplaceSelection
      If the target has a selection, replaces the selection with the dropped text.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Insert

        public static final long Insert
        Inserts the text at the provided location. Other text is not affected.
        See Also:
        Constant Field Values
      • ReplaceSelection

        public static final long ReplaceSelection
        If the target has a selection, replaces the selection with the dropped text. Otherwise, this behaves the same as UITextDropInsert.
        See Also:
        Constant Field Values
      • ReplaceAll

        public static final long ReplaceAll
        Replaces all the text in the target with the dropped text, via `setAttributedText:`.
        See Also:
        Constant Field Values