public static enum NIVision.FontColor extends Enum<NIVision.FontColor>
Enum Constant and Description |
---|
BLACK |
BLACK_ON_WHITE |
INVERT |
WHITE |
WHITE_ON_BLACK |
Modifier and Type | Method and Description |
---|---|
static NIVision.FontColor |
fromValue(int val) |
int |
getValue() |
static NIVision.FontColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NIVision.FontColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NIVision.FontColor WHITE
public static final NIVision.FontColor BLACK
public static final NIVision.FontColor INVERT
public static final NIVision.FontColor BLACK_ON_WHITE
public static final NIVision.FontColor WHITE_ON_BLACK
public static NIVision.FontColor[] values()
for (NIVision.FontColor c : NIVision.FontColor.values()) System.out.println(c);
public static NIVision.FontColor valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static NIVision.FontColor fromValue(int val)
public int getValue()
Copyright © 2015. All rights reserved.