Package com.vuzix.ultralite
Enum Class Layout
- All Implemented Interfaces:
Serializable
,Comparable<Layout>
,Constable
Supported layout types.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCanvas can be drawn to directly.Default layout.Text will appear with a navigation layout.A layout with user-defined image slices that may be scrolled like a teleprompter.Text will appear at the bottom of the display, center aligned.Text will appear at the bottom of the display, left aligned. -
Method Summary
-
Enum Constant Details
-
DEFAULT
Default layout. Used to signal glasses can go back to notification only mode.- Since:
- 1.0.0
-
TEXT_BOTTOM_LEFT_ALIGN
Text will appear at the bottom of the display, left aligned.- Since:
- 1.0.0
-
TEXT_BOTTOM_CENTER_ALIGN
Text will appear at the bottom of the display, center aligned.- Since:
- 1.0.0
-
NAVIGATION
Text will appear with a navigation layout.- Since:
- 1.0.0
-
CANVAS
Canvas can be drawn to directly. Use getCanvas() to obtain an instance of the canvas.- Since:
- 1.0.0
-
SCROLL
A layout with user-defined image slices that may be scrolled like a teleprompter.- Since:
- 1.3.0
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-