Class NSTextSelectionNavigationDirection


  • public final class NSTextSelectionNavigationDirection
    extends java.lang.Object
    NSTextSelectionNavigation is an interface exposing methods for obtaining results from actions performed on text selections. It returns the essential information necessary for editing, selecting, and navigating operations. API-Since: 15.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Backward
      Logical directions Works with just character information API-Since: 15.0
      static long Down
      Visual directions Requires layout information if the direction is along the line (i.e.
      static long Forward
      Logical directions Works with just character information API-Since: 15.0
      static long Left
      Visual directions Requires layout information if the direction is along the line (i.e.
      static long Right
      Visual directions Requires layout information if the direction is along the line (i.e.
      static long Up
      Visual directions Requires layout information if the direction is along the line (i.e.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • Forward

        public static final long Forward
        Logical directions Works with just character information API-Since: 15.0
        See Also:
        Constant Field Values
      • Backward

        public static final long Backward
        Logical directions Works with just character information API-Since: 15.0
        See Also:
        Constant Field Values
      • Right

        public static final long Right
        Visual directions Requires layout information if the direction is along the line (i.e. right and left for a horizontal line). Otherwise, it gets resolved to the corresponding logical direction except for NSTextSelectionNavigationDestinationCharacter API-Since: 15.0
        See Also:
        Constant Field Values
      • Left

        public static final long Left
        Visual directions Requires layout information if the direction is along the line (i.e. right and left for a horizontal line). Otherwise, it gets resolved to the corresponding logical direction except for NSTextSelectionNavigationDestinationCharacter API-Since: 15.0
        See Also:
        Constant Field Values
      • Up

        public static final long Up
        Visual directions Requires layout information if the direction is along the line (i.e. right and left for a horizontal line). Otherwise, it gets resolved to the corresponding logical direction except for NSTextSelectionNavigationDestinationCharacter API-Since: 15.0
        See Also:
        Constant Field Values
      • Down

        public static final long Down
        Visual directions Requires layout information if the direction is along the line (i.e. right and left for a horizontal line). Otherwise, it gets resolved to the corresponding logical direction except for NSTextSelectionNavigationDestinationCharacter API-Since: 15.0
        See Also:
        Constant Field Values