Package jexer.effect
Enum MouseGlowCellTransform.Layer
- java.lang.Object
-
- java.lang.Enum<MouseGlowCellTransform.Layer>
-
- jexer.effect.MouseGlowCellTransform.Layer
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MouseGlowCellTransform.Layer>
- Enclosing class:
- MouseGlowCellTransform
public static enum MouseGlowCellTransform.Layer extends java.lang.Enum<MouseGlowCellTransform.Layer>
Layer(s) to apply the mouse glow effect to.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKGROUNDBackground color only.BOTHBoth foreground and background colors.FOREGROUNDForeground color only.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MouseGlowCellTransform.LayervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MouseGlowCellTransform.Layer[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FOREGROUND
public static final MouseGlowCellTransform.Layer FOREGROUND
Foreground color only.
-
BACKGROUND
public static final MouseGlowCellTransform.Layer BACKGROUND
Background color only.
-
BOTH
public static final MouseGlowCellTransform.Layer BOTH
Both foreground and background colors.
-
-
Method Detail
-
values
public static MouseGlowCellTransform.Layer[] 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 (MouseGlowCellTransform.Layer c : MouseGlowCellTransform.Layer.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MouseGlowCellTransform.Layer 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
-
-