Enum ThemeSystemColor
- java.lang.Object
-
- java.lang.Enum<ThemeSystemColor>
-
- com._1c.g5.v8.dt.form.presentation.theme.ThemeSystemColor
-
- All Implemented Interfaces:
Serializable
,Comparable<ThemeSystemColor>
,org.eclipse.emf.common.util.Enumerator
public enum ThemeSystemColor extends Enum<ThemeSystemColor> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'System Color', and utility methods for working with them.- See Also:
ThemePackage.getThemeSystemColor()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LIST_BACKGROUND
The 'List Background' literal object.LIST_FOREGROUND
The 'List Foreground' literal object.TITLE_BACKGROUND
The 'Title Background' literal object.TITLE_BACKGROUND_GRADIENT
The 'Title Background Gradient' literal object.TITLE_FOREGROUND
The 'Title Foreground' literal object.WIDGET_BACKGROUND
The 'Widget Background' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
LIST_BACKGROUND_VALUE
The 'List Background' literal value.static int
LIST_FOREGROUND_VALUE
The 'List Foreground' literal value.static int
TITLE_BACKGROUND_GRADIENT_VALUE
The 'Title Background Gradient' literal value.static int
TITLE_BACKGROUND_VALUE
The 'Title Background' literal value.static int
TITLE_FOREGROUND_VALUE
The 'Title Foreground' literal value.static List<ThemeSystemColor>
VALUES
A public read-only list of all the 'System Color' enumerators.static int
WIDGET_BACKGROUND_VALUE
The 'Widget Background' literal value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThemeSystemColor
get(int value)
Returns the 'System Color' literal with the specified integer value.static ThemeSystemColor
get(String literal)
Returns the 'System Color' literal with the specified literal value.static ThemeSystemColor
getByName(String name)
Returns the 'System Color' literal with the specified name.String
getLiteral()
String
getName()
int
getValue()
String
toString()
Returns the literal value of the enumerator, which is its string representation.static ThemeSystemColor
valueOf(String name)
Returns the enum constant of this type with the specified name.static ThemeSystemColor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WIDGET_BACKGROUND
public static final ThemeSystemColor WIDGET_BACKGROUND
The 'Widget Background' literal object.- See Also:
WIDGET_BACKGROUND_VALUE
-
LIST_BACKGROUND
public static final ThemeSystemColor LIST_BACKGROUND
The 'List Background' literal object.- See Also:
LIST_BACKGROUND_VALUE
-
LIST_FOREGROUND
public static final ThemeSystemColor LIST_FOREGROUND
The 'List Foreground' literal object.- See Also:
LIST_FOREGROUND_VALUE
-
TITLE_BACKGROUND
public static final ThemeSystemColor TITLE_BACKGROUND
The 'Title Background' literal object.- See Also:
TITLE_BACKGROUND_VALUE
-
TITLE_BACKGROUND_GRADIENT
public static final ThemeSystemColor TITLE_BACKGROUND_GRADIENT
The 'Title Background Gradient' literal object.- See Also:
TITLE_BACKGROUND_GRADIENT_VALUE
-
TITLE_FOREGROUND
public static final ThemeSystemColor TITLE_FOREGROUND
The 'Title Foreground' literal object.- See Also:
TITLE_FOREGROUND_VALUE
-
-
Field Detail
-
WIDGET_BACKGROUND_VALUE
public static final int WIDGET_BACKGROUND_VALUE
The 'Widget Background' literal value.- See Also:
WIDGET_BACKGROUND
, Constant Field Values
-
LIST_BACKGROUND_VALUE
public static final int LIST_BACKGROUND_VALUE
The 'List Background' literal value.- See Also:
LIST_BACKGROUND
, Constant Field Values
-
LIST_FOREGROUND_VALUE
public static final int LIST_FOREGROUND_VALUE
The 'List Foreground' literal value.- See Also:
LIST_FOREGROUND
, Constant Field Values
-
TITLE_BACKGROUND_VALUE
public static final int TITLE_BACKGROUND_VALUE
The 'Title Background' literal value.- See Also:
TITLE_BACKGROUND
, Constant Field Values
-
TITLE_BACKGROUND_GRADIENT_VALUE
public static final int TITLE_BACKGROUND_GRADIENT_VALUE
The 'Title Background Gradient' literal value.- See Also:
TITLE_BACKGROUND_GRADIENT
, Constant Field Values
-
TITLE_FOREGROUND_VALUE
public static final int TITLE_FOREGROUND_VALUE
The 'Title Foreground' literal value.- See Also:
TITLE_FOREGROUND
, Constant Field Values
-
VALUES
public static final List<ThemeSystemColor> VALUES
A public read-only list of all the 'System Color' enumerators.
-
-
Method Detail
-
values
public static ThemeSystemColor[] 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 (ThemeSystemColor c : ThemeSystemColor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThemeSystemColor valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
get
public static ThemeSystemColor get(String literal)
Returns the 'System Color' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static ThemeSystemColor getByName(String name)
Returns the 'System Color' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static ThemeSystemColor get(int value)
Returns the 'System Color' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<ThemeSystemColor>
-
-