Package icyllis.modernui.util

# Class LayoutDirection

java.lang.Object
icyllis.modernui.util.LayoutDirection

public final class LayoutDirection extends Object
A class for defining layout directions. A layout direction can be left-to-right (LTR) or right-to-left (RTL). It can also be inherited (from a parent) or deduced from the default language script of a locale.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `INHERIT`
  Horizontal layout direction is inherited.
  `static final int`
  `LOCALE`
  Horizontal layout direction is deduced from the default language script for the locale.
  `static final int`
  `LTR`
  Horizontal layout direction is from Left to Right.
  `static final int`
  `RTL`
  Horizontal layout direction is from Right to Left.
  `static final int`
  `UNDEFINED`
  An undefined layout direction.

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### UNDEFINED

    @Internal public static final int UNDEFINED
    An undefined layout direction.
    See Also:
      - Constant Field Values

  - ### LTR

    public static final int LTR
    Horizontal layout direction is from Left to Right.
    See Also:
      - Constant Field Values

  - ### RTL

    public static final int RTL
    Horizontal layout direction is from Right to Left.
    See Also:
      - Constant Field Values

  - ### INHERIT

    public static final int INHERIT
    Horizontal layout direction is inherited.
    See Also:
      - Constant Field Values

  - ### LOCALE

    public static final int LOCALE
    Horizontal layout direction is deduced from the default language script for the locale.
    See Also:
      - Constant Field Values