Package com._1c.g5.v8.dt.chart.model
Enum MaxSeriesMode
- java.lang.Object
-
- java.lang.Enum<MaxSeriesMode>
-
- com._1c.g5.v8.dt.chart.model.MaxSeriesMode
-
- All Implemented Interfaces:
Serializable,Comparable<MaxSeriesMode>,org.eclipse.emf.common.util.Enumerator
public enum MaxSeriesMode extends Enum<MaxSeriesMode> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Max Series Mode', and utility methods for working with them.- See Also:
ChartPackage.getMaxSeriesMode()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFINED_MODEThe 'Defined Mode' literal object.PERCENT_MODEThe 'Percent Mode' literal object.UNDEFINED_MODEThe 'Undefined Mode' literal object.
-
Field Summary
Fields Modifier and Type Field Description static intDEFINED_MODE_VALUEThe 'Defined Mode' literal value.static intPERCENT_MODE_VALUEThe 'Percent Mode' literal value.static intUNDEFINED_MODE_VALUEThe 'Undefined Mode' literal value.static List<MaxSeriesMode>VALUESA public read-only list of all the 'Max Series Mode' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaxSeriesModeget(int value)Returns the 'Max Series Mode' literal with the specified integer value.static MaxSeriesModeget(String literal)Returns the 'Max Series Mode' literal with the specified literal value.static MaxSeriesModegetByName(String name)Returns the 'Max Series Mode' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static MaxSeriesModevalueOf(String name)Returns the enum constant of this type with the specified name.static MaxSeriesMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED_MODE
public static final MaxSeriesMode UNDEFINED_MODE
The 'Undefined Mode' literal object.- See Also:
UNDEFINED_MODE_VALUE
-
DEFINED_MODE
public static final MaxSeriesMode DEFINED_MODE
The 'Defined Mode' literal object.- See Also:
DEFINED_MODE_VALUE
-
PERCENT_MODE
public static final MaxSeriesMode PERCENT_MODE
The 'Percent Mode' literal object.- See Also:
PERCENT_MODE_VALUE
-
-
Field Detail
-
UNDEFINED_MODE_VALUE
public static final int UNDEFINED_MODE_VALUE
The 'Undefined Mode' literal value.- See Also:
UNDEFINED_MODE, Constant Field Values
-
DEFINED_MODE_VALUE
public static final int DEFINED_MODE_VALUE
The 'Defined Mode' literal value.- See Also:
DEFINED_MODE, Constant Field Values
-
PERCENT_MODE_VALUE
public static final int PERCENT_MODE_VALUE
The 'Percent Mode' literal value.- See Also:
PERCENT_MODE, Constant Field Values
-
VALUES
public static final List<MaxSeriesMode> VALUES
A public read-only list of all the 'Max Series Mode' enumerators.
-
-
Method Detail
-
values
public static MaxSeriesMode[] 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 (MaxSeriesMode c : MaxSeriesMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaxSeriesMode 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 MaxSeriesMode get(String literal)
Returns the 'Max Series Mode' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
public static MaxSeriesMode getByName(String name)
Returns the 'Max Series Mode' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
public static MaxSeriesMode get(int value)
Returns the 'Max Series Mode' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null.
-
getValue
public int getValue()
- Specified by:
getValuein interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteralin interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toStringin classEnum<MaxSeriesMode>
-
-