Package apple.uikit

Class UITextInputStringTokenizer

  • All Implemented Interfaces:
    NSObject, UITextInputTokenizer

    public class UITextInputStringTokenizer
    extends NSObject
    implements UITextInputTokenizer
    A recommended base implementation of the tokenizer protocol. Subclasses are responsible for handling directions and granularities affected by layout. API-Since: 3.2
    • Constructor Detail

      • UITextInputStringTokenizer

        protected UITextInputStringTokenizer​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • isPositionAtBoundaryInDirection

        public boolean isPositionAtBoundaryInDirection​(@NotNull
                                                       @NotNull UITextPosition position,
                                                       long granularity,
                                                       long direction)
        Description copied from interface: UITextInputTokenizer
        Returns YES only if a position is at a boundary of a text unit of the specified granularity in the particular direction.
        Specified by:
        isPositionAtBoundaryInDirection in interface UITextInputTokenizer
      • isPositionWithinTextUnitInDirection

        public boolean isPositionWithinTextUnitInDirection​(@NotNull
                                                           @NotNull UITextPosition position,
                                                           long granularity,
                                                           long direction)
        Description copied from interface: UITextInputTokenizer
        Returns YES if position is within a text unit of the given granularity. If the position is at a boundary, returns YES only if the boundary is part of the text unit in the given direction.
        Specified by:
        isPositionWithinTextUnitInDirection in interface UITextInputTokenizer
      • rangeEnclosingPositionWithGranularityInDirection

        @Nullable
        public @Nullable UITextRange rangeEnclosingPositionWithGranularityInDirection​(@NotNull
                                                                                      @NotNull UITextPosition position,
                                                                                      long granularity,
                                                                                      long direction)
        Description copied from interface: UITextInputTokenizer
        Returns range of the enclosing text unit of the given granularity, or nil if there is no such enclosing unit. Whether a boundary position is enclosed depends on the given direction, using the same rule as isPosition:withinTextUnit:inDirection:
        Specified by:
        rangeEnclosingPositionWithGranularityInDirection in interface UITextInputTokenizer
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.