Package com._1c.g5.v8.dt.chart.model
Enum PaletteKind
- java.lang.Object
-
- java.lang.Enum<PaletteKind>
-
- com._1c.g5.v8.dt.chart.model.PaletteKind
-
- All Implemented Interfaces:
Serializable
,Comparable<PaletteKind>
,org.eclipse.emf.common.util.Enumerator
public enum PaletteKind extends Enum<PaletteKind> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Palette Kind', and utility methods for working with them.- See Also:
ChartPackage.getPaletteKind()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO
The 'Auto' literal object.BLUE
The 'Blue' literal object.BRIGHT
The 'Bright' literal object.COLD
The 'Cold' literal object.CUSTOM
The 'Custom' literal object.GRADIENT
The 'Gradient' literal object.GRAY
The 'Gray' literal object.GREEN
The 'Green' literal object.ORANGE
The 'Orange' literal object.PASTEL
The 'Pastel' literal object.PK_CLASSIC8
The 'PK Classic8' literal object.PK32
The 'PK32' literal object.SOFT
The 'Soft' literal object.SOFT_ADAPTIVE
The 'Soft Adaptive' literal object.WARM
The 'Warm' literal object.YELLOW
The 'Yellow' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
AUTO_VALUE
The 'Auto' literal value.static int
BLUE_VALUE
The 'Blue' literal value.static int
BRIGHT_VALUE
The 'Bright' literal value.static int
COLD_VALUE
The 'Cold' literal value.static int
CUSTOM_VALUE
The 'Custom' literal value.static int
GRADIENT_VALUE
The 'Gradient' literal value.static int
GRAY_VALUE
The 'Gray' literal value.static int
GREEN_VALUE
The 'Green' literal value.static int
ORANGE_VALUE
The 'Orange' literal value.static int
PASTEL_VALUE
The 'Pastel' literal value.static int
PK_CLASSIC8_VALUE
The 'PK Classic8' literal value.static int
PK32_VALUE
The 'PK32' literal value.static int
SOFT_ADAPTIVE_VALUE
The 'Soft Adaptive' literal value.static int
SOFT_VALUE
The 'Soft' literal value.static List<PaletteKind>
VALUES
A public read-only list of all the 'Palette Kind' enumerators.static int
WARM_VALUE
The 'Warm' literal value.static int
YELLOW_VALUE
The 'Yellow' literal value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaletteKind
get(int value)
Returns the 'Palette Kind' literal with the specified integer value.static PaletteKind
get(String literal)
Returns the 'Palette Kind' literal with the specified literal value.static PaletteKind
getByName(String name)
Returns the 'Palette Kind' 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 PaletteKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static PaletteKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PK_CLASSIC8
public static final PaletteKind PK_CLASSIC8
The 'PK Classic8' literal object.- See Also:
PK_CLASSIC8_VALUE
-
PK32
public static final PaletteKind PK32
The 'PK32' literal object.- See Also:
PK32_VALUE
-
PASTEL
public static final PaletteKind PASTEL
The 'Pastel' literal object.- See Also:
PASTEL_VALUE
-
BRIGHT
public static final PaletteKind BRIGHT
The 'Bright' literal object.- See Also:
BRIGHT_VALUE
-
SOFT
public static final PaletteKind SOFT
The 'Soft' literal object.- See Also:
SOFT_VALUE
-
WARM
public static final PaletteKind WARM
The 'Warm' literal object.- See Also:
WARM_VALUE
-
COLD
public static final PaletteKind COLD
The 'Cold' literal object.- See Also:
COLD_VALUE
-
BLUE
public static final PaletteKind BLUE
The 'Blue' literal object.- See Also:
BLUE_VALUE
-
ORANGE
public static final PaletteKind ORANGE
The 'Orange' literal object.- See Also:
ORANGE_VALUE
-
GREEN
public static final PaletteKind GREEN
The 'Green' literal object.- See Also:
GREEN_VALUE
-
YELLOW
public static final PaletteKind YELLOW
The 'Yellow' literal object.- See Also:
YELLOW_VALUE
-
GRAY
public static final PaletteKind GRAY
The 'Gray' literal object.- See Also:
GRAY_VALUE
-
CUSTOM
public static final PaletteKind CUSTOM
The 'Custom' literal object.- See Also:
CUSTOM_VALUE
-
GRADIENT
public static final PaletteKind GRADIENT
The 'Gradient' literal object.- See Also:
GRADIENT_VALUE
-
AUTO
public static final PaletteKind AUTO
The 'Auto' literal object.- See Also:
AUTO_VALUE
-
SOFT_ADAPTIVE
public static final PaletteKind SOFT_ADAPTIVE
The 'Soft Adaptive' literal object.- See Also:
SOFT_ADAPTIVE_VALUE
-
-
Field Detail
-
PK_CLASSIC8_VALUE
public static final int PK_CLASSIC8_VALUE
The 'PK Classic8' literal value.- See Also:
PK_CLASSIC8
, Constant Field Values
-
PK32_VALUE
public static final int PK32_VALUE
The 'PK32' literal value.- See Also:
PK32
, Constant Field Values
-
PASTEL_VALUE
public static final int PASTEL_VALUE
The 'Pastel' literal value.- See Also:
PASTEL
, Constant Field Values
-
BRIGHT_VALUE
public static final int BRIGHT_VALUE
The 'Bright' literal value.- See Also:
BRIGHT
, Constant Field Values
-
SOFT_VALUE
public static final int SOFT_VALUE
The 'Soft' literal value.- See Also:
SOFT
, Constant Field Values
-
WARM_VALUE
public static final int WARM_VALUE
The 'Warm' literal value.- See Also:
WARM
, Constant Field Values
-
COLD_VALUE
public static final int COLD_VALUE
The 'Cold' literal value.- See Also:
COLD
, Constant Field Values
-
BLUE_VALUE
public static final int BLUE_VALUE
The 'Blue' literal value.- See Also:
BLUE
, Constant Field Values
-
ORANGE_VALUE
public static final int ORANGE_VALUE
The 'Orange' literal value.- See Also:
ORANGE
, Constant Field Values
-
GREEN_VALUE
public static final int GREEN_VALUE
The 'Green' literal value.- See Also:
GREEN
, Constant Field Values
-
YELLOW_VALUE
public static final int YELLOW_VALUE
The 'Yellow' literal value.- See Also:
YELLOW
, Constant Field Values
-
GRAY_VALUE
public static final int GRAY_VALUE
The 'Gray' literal value.- See Also:
GRAY
, Constant Field Values
-
CUSTOM_VALUE
public static final int CUSTOM_VALUE
The 'Custom' literal value.- See Also:
CUSTOM
, Constant Field Values
-
GRADIENT_VALUE
public static final int GRADIENT_VALUE
The 'Gradient' literal value.- See Also:
GRADIENT
, Constant Field Values
-
AUTO_VALUE
public static final int AUTO_VALUE
The 'Auto' literal value.- See Also:
AUTO
, Constant Field Values
-
SOFT_ADAPTIVE_VALUE
public static final int SOFT_ADAPTIVE_VALUE
The 'Soft Adaptive' literal value.- See Also:
SOFT_ADAPTIVE
, Constant Field Values
-
VALUES
public static final List<PaletteKind> VALUES
A public read-only list of all the 'Palette Kind' enumerators.
-
-
Method Detail
-
values
public static PaletteKind[] 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 (PaletteKind c : PaletteKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaletteKind 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 PaletteKind get(String literal)
Returns the 'Palette Kind' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static PaletteKind getByName(String name)
Returns the 'Palette Kind' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static PaletteKind get(int value)
Returns the 'Palette Kind' 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<PaletteKind>
-
-