- java.lang.Object
-
- java.lang.Enum<GlcdFontMode>
-
- com.ibasco.ucgdisplay.drivers.glcd.enums.GlcdFontMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GlcdFontMode>
public enum GlcdFontMode extends java.lang.Enum<GlcdFontMode>
Enumeration that defines whether the glyph and string drawing functions will write the background color (solid) or not (transparent).- Author:
- Rafael Ibasco
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SOLID
The glyph and string drawing functions will write the background color of the charactersTRANSPARENT
The glyph and string drawing functions will NOT write the background color of the characters
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static GlcdFontMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GlcdFontMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOLID
public static final GlcdFontMode SOLID
The glyph and string drawing functions will write the background color of the characters
-
TRANSPARENT
public static final GlcdFontMode TRANSPARENT
The glyph and string drawing functions will NOT write the background color of the characters
-
-
Method Detail
-
values
public static GlcdFontMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GlcdFontMode c : GlcdFontMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlcdFontMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
-
-