Enum Class Layout

java.lang.Object
java.lang.Enum<Layout>
com.vuzix.ultralite.Layout
All Implemented Interfaces:
Serializable, Comparable<Layout>, Constable

public enum Layout extends Enum<Layout>
Supported layout types.
Since:
1.0.0
  • Enum Constant Details

    • DEFAULT

      public static final Layout DEFAULT
      Default layout. Used to signal glasses can go back to notification only mode.
      Since:
      1.0.0
    • TEXT_BOTTOM_LEFT_ALIGN

      public static final Layout TEXT_BOTTOM_LEFT_ALIGN
      Text will appear at the bottom of the display, left aligned.
      Since:
      1.0.0
    • TEXT_BOTTOM_CENTER_ALIGN

      public static final Layout TEXT_BOTTOM_CENTER_ALIGN
      Text will appear at the bottom of the display, center aligned.
      Since:
      1.0.0
    • CANVAS

      public static final Layout CANVAS
      Canvas can be drawn to directly. Use getCanvas() to obtain an instance of the canvas.
      Since:
      1.0.0
    • SCROLL

      public static final Layout SCROLL
      A layout with user-defined image slices that may be scrolled like a teleprompter.
      Since:
      1.3.0
  • Method Details

    • values

      public static Layout[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Layout valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null