Package com._1c.g5.v8.dt.chart.model
Enum ChartLabelLocation
- java.lang.Object
-
- java.lang.Enum<ChartLabelLocation>
-
- com._1c.g5.v8.dt.chart.model.ChartLabelLocation
-
- All Implemented Interfaces:
Serializable
,Comparable<ChartLabelLocation>
,org.eclipse.emf.common.util.Enumerator
public enum ChartLabelLocation extends Enum<ChartLabelLocation> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Label Location', and utility methods for working with them.- See Also:
ChartPackage.getChartLabelLocation()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO
The 'Auto' literal object.BOTTOM_LEFT
The 'Bottom Left' literal object.BOTTOM_RIGHT
The 'Bottom Right' literal object.CENTER
The 'Center' literal object.EDGE
The 'Edge' literal object.EDGE_AUTO
The 'Edge Auto' literal object.EDGE_INSIDE
The 'Edge Inside' literal object.EMPTY_SPACE
The 'Empty Space' literal object.TOP_AND_LEFT_SPECIFIED
The 'Top And Left Specified' literal object.TOP_LEFT
The 'Top Left' literal object.TOP_RIGHT
The 'Top Right' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
AUTO_VALUE
The 'Auto' literal value.static int
BOTTOM_LEFT_VALUE
The 'Bottom Left' literal value.static int
BOTTOM_RIGHT_VALUE
The 'Bottom Right' literal value.static int
CENTER_VALUE
The 'Center' literal value.static int
EDGE_AUTO_VALUE
The 'Edge Auto' literal value.static int
EDGE_INSIDE_VALUE
The 'Edge Inside' literal value.static int
EDGE_VALUE
The 'Edge' literal value.static int
EMPTY_SPACE_VALUE
The 'Empty Space' literal value.static int
TOP_AND_LEFT_SPECIFIED_VALUE
The 'Top And Left Specified' literal value.static int
TOP_LEFT_VALUE
The 'Top Left' literal value.static int
TOP_RIGHT_VALUE
The 'Top Right' literal value.static List<ChartLabelLocation>
VALUES
A public read-only list of all the 'Label Location' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChartLabelLocation
get(int value)
Returns the 'Label Location' literal with the specified integer value.static ChartLabelLocation
get(String literal)
Returns the 'Label Location' literal with the specified literal value.static ChartLabelLocation
getByName(String name)
Returns the 'Label Location' 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 ChartLabelLocation
valueOf(String name)
Returns the enum constant of this type with the specified name.static ChartLabelLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EDGE
public static final ChartLabelLocation EDGE
The 'Edge' literal object.- See Also:
EDGE_VALUE
-
CENTER
public static final ChartLabelLocation CENTER
The 'Center' literal object.- See Also:
CENTER_VALUE
-
EDGE_INSIDE
public static final ChartLabelLocation EDGE_INSIDE
The 'Edge Inside' literal object.- See Also:
EDGE_INSIDE_VALUE
-
EDGE_AUTO
public static final ChartLabelLocation EDGE_AUTO
The 'Edge Auto' literal object.- See Also:
EDGE_AUTO_VALUE
-
AUTO
public static final ChartLabelLocation AUTO
The 'Auto' literal object.- See Also:
AUTO_VALUE
-
TOP_LEFT
public static final ChartLabelLocation TOP_LEFT
The 'Top Left' literal object.- See Also:
TOP_LEFT_VALUE
-
BOTTOM_LEFT
public static final ChartLabelLocation BOTTOM_LEFT
The 'Bottom Left' literal object.- See Also:
BOTTOM_LEFT_VALUE
-
TOP_RIGHT
public static final ChartLabelLocation TOP_RIGHT
The 'Top Right' literal object.- See Also:
TOP_RIGHT_VALUE
-
BOTTOM_RIGHT
public static final ChartLabelLocation BOTTOM_RIGHT
The 'Bottom Right' literal object.- See Also:
BOTTOM_RIGHT_VALUE
-
TOP_AND_LEFT_SPECIFIED
public static final ChartLabelLocation TOP_AND_LEFT_SPECIFIED
The 'Top And Left Specified' literal object.- See Also:
TOP_AND_LEFT_SPECIFIED_VALUE
-
EMPTY_SPACE
public static final ChartLabelLocation EMPTY_SPACE
The 'Empty Space' literal object.- See Also:
EMPTY_SPACE_VALUE
-
-
Field Detail
-
EDGE_VALUE
public static final int EDGE_VALUE
The 'Edge' literal value.- See Also:
EDGE
, Constant Field Values
-
CENTER_VALUE
public static final int CENTER_VALUE
The 'Center' literal value.- See Also:
CENTER
, Constant Field Values
-
EDGE_INSIDE_VALUE
public static final int EDGE_INSIDE_VALUE
The 'Edge Inside' literal value.- See Also:
EDGE_INSIDE
, Constant Field Values
-
EDGE_AUTO_VALUE
public static final int EDGE_AUTO_VALUE
The 'Edge Auto' literal value.- See Also:
EDGE_AUTO
, Constant Field Values
-
AUTO_VALUE
public static final int AUTO_VALUE
The 'Auto' literal value.- See Also:
AUTO
, Constant Field Values
-
TOP_LEFT_VALUE
public static final int TOP_LEFT_VALUE
The 'Top Left' literal value.- See Also:
TOP_LEFT
, Constant Field Values
-
BOTTOM_LEFT_VALUE
public static final int BOTTOM_LEFT_VALUE
The 'Bottom Left' literal value.- See Also:
BOTTOM_LEFT
, Constant Field Values
-
TOP_RIGHT_VALUE
public static final int TOP_RIGHT_VALUE
The 'Top Right' literal value.- See Also:
TOP_RIGHT
, Constant Field Values
-
BOTTOM_RIGHT_VALUE
public static final int BOTTOM_RIGHT_VALUE
The 'Bottom Right' literal value.- See Also:
BOTTOM_RIGHT
, Constant Field Values
-
TOP_AND_LEFT_SPECIFIED_VALUE
public static final int TOP_AND_LEFT_SPECIFIED_VALUE
The 'Top And Left Specified' literal value.- See Also:
TOP_AND_LEFT_SPECIFIED
, Constant Field Values
-
EMPTY_SPACE_VALUE
public static final int EMPTY_SPACE_VALUE
The 'Empty Space' literal value.- See Also:
EMPTY_SPACE
, Constant Field Values
-
VALUES
public static final List<ChartLabelLocation> VALUES
A public read-only list of all the 'Label Location' enumerators.
-
-
Method Detail
-
values
public static ChartLabelLocation[] 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 (ChartLabelLocation c : ChartLabelLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChartLabelLocation 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 ChartLabelLocation get(String literal)
Returns the 'Label Location' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static ChartLabelLocation getByName(String name)
Returns the 'Label Location' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static ChartLabelLocation get(int value)
Returns the 'Label Location' 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<ChartLabelLocation>
-
-