|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FormatColor>
com.sap.sl.sdk.authoring.businesslayer.FormatColor
public enum FormatColor
A representation of the literals of the enumeration 'Format Color', and utility methods to work with them.
This enum represents the different colors that can be associated with a custom display format of a business object.
Enum Constant Summary | |
---|---|
AUTOMATIC
The 'Automatic' literal object. |
|
BLACK
The 'Black' literal object. |
|
BLUE
The 'Blue' literal object. |
|
CYAN
The 'Cyan' literal object. |
|
DARK_BLUE
The 'Dark Blue' literal object. |
|
DARK_CYAN
The 'Dark Cyan' literal object. |
|
DARK_GREEN
The 'Dark Green' literal object. |
|
DARK_MAGENTA
The 'Dark Magenta' literal object. |
|
DARK_RED
The 'Dark Red' literal object. |
|
DARK_YELLOW
The 'Dark Yellow' literal object. |
|
GRAY
The 'Gray' literal object. |
|
GREEN
The 'Green' literal object. |
|
LIGHT_GRAY
The 'Light Gray' literal object. |
|
MAGENTA
The 'Magenta' literal object. |
|
RED
The 'Red' literal object. |
|
WHITE
The 'White' literal object. |
|
YELLOW
The 'Yellow' literal object. |
Field Summary | |
---|---|
static int |
AUTOMATIC_VALUE
The 'Automatic' literal value. |
static int |
BLACK_VALUE
The 'Black' literal value. |
static int |
BLUE_VALUE
The 'Blue' literal value. |
static int |
CYAN_VALUE
The 'Cyan' literal value. |
static int |
DARK_BLUE_VALUE
The 'Dark Blue' literal value. |
static int |
DARK_CYAN_VALUE
The 'Dark Cyan' literal value. |
static int |
DARK_GREEN_VALUE
The 'Dark Green' literal value. |
static int |
DARK_MAGENTA_VALUE
The 'Dark Magenta' literal value. |
static int |
DARK_RED_VALUE
The 'Dark Red' literal value. |
static int |
DARK_YELLOW_VALUE
The 'Dark Yellow' literal value. |
static int |
GRAY_VALUE
The 'Gray' literal value. |
static int |
GREEN_VALUE
The 'Green' literal value. |
static int |
LIGHT_GRAY_VALUE
The 'Light Gray' literal value. |
static int |
MAGENTA_VALUE
The 'Magenta' literal value. |
static int |
RED_VALUE
The 'Red' literal value. |
static java.util.List<FormatColor> |
VALUES
A public read-only list of all the 'Format Color' enumerators. |
static int |
WHITE_VALUE
The 'White' literal value. |
static int |
YELLOW_VALUE
The 'Yellow' literal value. |
Method Summary | |
---|---|
static FormatColor |
get(int value)
Returns the 'Format Color' literal with the specified integer value. |
static FormatColor |
get(java.lang.String literal)
Returns the 'Format Color' literal with the specified literal value. |
static FormatColor |
getByName(java.lang.String name)
Returns the 'Format Color' literal with the specified name. |
java.lang.String |
getLiteral()
Returns the string representation of the enumerator. |
java.lang.String |
getName()
Returns the literal name of the enumerator. |
int |
getValue()
Returns the literal integer value of the enumerator. |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static FormatColor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FormatColor[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FormatColor AUTOMATIC
This is the default value that means no color is defined with the format.
AUTOMATIC_VALUE
public static final FormatColor BLACK
BLACK_VALUE
public static final FormatColor WHITE
WHITE_VALUE
public static final FormatColor RED
RED_VALUE
public static final FormatColor GREEN
GREEN_VALUE
public static final FormatColor BLUE
BLUE_VALUE
public static final FormatColor YELLOW
YELLOW_VALUE
public static final FormatColor MAGENTA
MAGENTA_VALUE
public static final FormatColor CYAN
CYAN_VALUE
public static final FormatColor DARK_RED
DARK_RED_VALUE
public static final FormatColor DARK_GREEN
DARK_GREEN_VALUE
public static final FormatColor DARK_BLUE
DARK_BLUE_VALUE
public static final FormatColor DARK_YELLOW
DARK_YELLOW_VALUE
public static final FormatColor DARK_MAGENTA
DARK_MAGENTA_VALUE
public static final FormatColor DARK_CYAN
DARK_CYAN_VALUE
public static final FormatColor LIGHT_GRAY
LIGHT_GRAY_VALUE
public static final FormatColor GRAY
GRAY_VALUE
Field Detail |
---|
public static final int AUTOMATIC_VALUE
AUTOMATIC
,
Constant Field Valuespublic static final int BLACK_VALUE
BLACK
,
Constant Field Valuespublic static final int WHITE_VALUE
WHITE
,
Constant Field Valuespublic static final int RED_VALUE
RED
,
Constant Field Valuespublic static final int GREEN_VALUE
GREEN
,
Constant Field Valuespublic static final int BLUE_VALUE
BLUE
,
Constant Field Valuespublic static final int YELLOW_VALUE
YELLOW
,
Constant Field Valuespublic static final int MAGENTA_VALUE
MAGENTA
,
Constant Field Valuespublic static final int CYAN_VALUE
CYAN
,
Constant Field Valuespublic static final int DARK_RED_VALUE
DARK_RED
,
Constant Field Valuespublic static final int DARK_GREEN_VALUE
DARK_GREEN
,
Constant Field Valuespublic static final int DARK_BLUE_VALUE
DARK_BLUE
,
Constant Field Valuespublic static final int DARK_YELLOW_VALUE
DARK_YELLOW
,
Constant Field Valuespublic static final int DARK_MAGENTA_VALUE
DARK_MAGENTA
,
Constant Field Valuespublic static final int DARK_CYAN_VALUE
DARK_CYAN
,
Constant Field Valuespublic static final int LIGHT_GRAY_VALUE
LIGHT_GRAY
,
Constant Field Valuespublic static final int GRAY_VALUE
GRAY
,
Constant Field Valuespublic static final java.util.List<FormatColor> VALUES
Method Detail |
---|
public static FormatColor[] values()
for (FormatColor c : FormatColor.values()) System.out.println(c);
public static FormatColor valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static FormatColor get(java.lang.String literal)
literal
- The enumerator literal as a string
FormatColor
object
public static FormatColor getByName(java.lang.String name)
name
- The literal name of the enumerator
FormatColor
object
public static FormatColor get(int value)
value
- The literal integer value of the enumerator
FormatColor
object
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<FormatColor>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |