Package com._1c.g5.v8.dt.chart.model
Enum ScaleTitlePlacement
- java.lang.Object
-
- java.lang.Enum<ScaleTitlePlacement>
-
- com._1c.g5.v8.dt.chart.model.ScaleTitlePlacement
-
- All Implemented Interfaces:
Serializable,Comparable<ScaleTitlePlacement>,org.eclipse.emf.common.util.Enumerator
public enum ScaleTitlePlacement extends Enum<ScaleTitlePlacement> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Scale Title Placement', and utility methods for working with them.- See Also:
ChartPackage.getScaleTitlePlacement()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PLOT_AREAThe 'Plot Area' literal object.SPECIAL_AREAThe 'Special Area' literal object.WITH_AXISThe 'With Axis' literal object.
-
Field Summary
Fields Modifier and Type Field Description static intPLOT_AREA_VALUEThe 'Plot Area' literal value.static intSPECIAL_AREA_VALUEThe 'Special Area' literal value.static List<ScaleTitlePlacement>VALUESA public read-only list of all the 'Scale Title Placement' enumerators.static intWITH_AXIS_VALUEThe 'With Axis' literal value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScaleTitlePlacementget(int value)Returns the 'Scale Title Placement' literal with the specified integer value.static ScaleTitlePlacementget(String literal)Returns the 'Scale Title Placement' literal with the specified literal value.static ScaleTitlePlacementgetByName(String name)Returns the 'Scale Title Placement' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static ScaleTitlePlacementvalueOf(String name)Returns the enum constant of this type with the specified name.static ScaleTitlePlacement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WITH_AXIS
public static final ScaleTitlePlacement WITH_AXIS
The 'With Axis' literal object.- See Also:
WITH_AXIS_VALUE
-
PLOT_AREA
public static final ScaleTitlePlacement PLOT_AREA
The 'Plot Area' literal object.- See Also:
PLOT_AREA_VALUE
-
SPECIAL_AREA
public static final ScaleTitlePlacement SPECIAL_AREA
The 'Special Area' literal object.- See Also:
SPECIAL_AREA_VALUE
-
-
Field Detail
-
WITH_AXIS_VALUE
public static final int WITH_AXIS_VALUE
The 'With Axis' literal value.- See Also:
WITH_AXIS, Constant Field Values
-
PLOT_AREA_VALUE
public static final int PLOT_AREA_VALUE
The 'Plot Area' literal value.- See Also:
PLOT_AREA, Constant Field Values
-
SPECIAL_AREA_VALUE
public static final int SPECIAL_AREA_VALUE
The 'Special Area' literal value.- See Also:
SPECIAL_AREA, Constant Field Values
-
VALUES
public static final List<ScaleTitlePlacement> VALUES
A public read-only list of all the 'Scale Title Placement' enumerators.
-
-
Method Detail
-
values
public static ScaleTitlePlacement[] 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 (ScaleTitlePlacement c : ScaleTitlePlacement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScaleTitlePlacement 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 ScaleTitlePlacement get(String literal)
Returns the 'Scale Title Placement' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
public static ScaleTitlePlacement getByName(String name)
Returns the 'Scale Title Placement' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
public static ScaleTitlePlacement get(int value)
Returns the 'Scale Title Placement' 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<ScaleTitlePlacement>
-
-