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.
  • Enum Constant Details

    • DEFAULT

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

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

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

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

      public static final Layout SCROLL
      A layout with user-defined image slices that may be scrolled like a teleprompter.
  • 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