Class NSTextSelectionNavigationDestination


  • public final class NSTextSelectionNavigationDestination
    extends java.lang.Object
    API-Since: 15.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Character
      Moving to the next extended grapheme cluster boundary.
      static long Container
      Moving to the next container/page boundary.
      static long Document
      Moving to the document boundary API-Since: 15.0
      static long Line
      Moving to the next line boundary.
      static long Paragraph
      Moving to the next paragraph boundary.
      static long Sentence
      Moving to the next sentence boundary.
      static long Word
      Moving to the next word boundary.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • Character

        public static final long Character
        Moving to the next extended grapheme cluster boundary. Could result in a location inside a cluster depending on operations. When the movement direction is not along the line (i.e. up and down for a horizontal line), it moves to the adjacent line using the anchor point instead of resolving to the logical direction API-Since: 15.0
        See Also:
        Constant Field Values
      • Word

        public static final long Word
        Moving to the next word boundary. Ignores punctuations, whitespaces, and format characters preceding the next word API-Since: 15.0
        See Also:
        Constant Field Values
      • Line

        public static final long Line
        Moving to the next line boundary. The boundary can be logical based on the line separator characters as well as visual with soft line wrapping API-Since: 15.0
        See Also:
        Constant Field Values
      • Sentence

        public static final long Sentence
        Moving to the next sentence boundary. Ignores punctuations, whitespaces, and format characters preceding the next sentence API-Since: 15.0
        See Also:
        Constant Field Values
      • Paragraph

        public static final long Paragraph
        Moving to the next paragraph boundary. Ignores the end of line elastic characters and paragraph separators API-Since: 15.0
        See Also:
        Constant Field Values
      • Container

        public static final long Container
        Moving to the next container/page boundary. Ignores the end of line elastic characters and container/page separators API-Since: 15.0
        See Also:
        Constant Field Values
      • Document

        public static final long Document
        Moving to the document boundary API-Since: 15.0
        See Also:
        Constant Field Values