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 AUTOThe 'Auto' literal object.BOTTOM_LEFTThe 'Bottom Left' literal object.BOTTOM_RIGHTThe 'Bottom Right' literal object.CENTERThe 'Center' literal object.EDGEThe 'Edge' literal object.EDGE_AUTOThe 'Edge Auto' literal object.EDGE_INSIDEThe 'Edge Inside' literal object.EMPTY_SPACEThe 'Empty Space' literal object.TOP_AND_LEFT_SPECIFIEDThe 'Top And Left Specified' literal object.TOP_LEFTThe 'Top Left' literal object.TOP_RIGHTThe 'Top Right' literal object.
-
Field Summary
Fields Modifier and Type Field Description static intAUTO_VALUEThe 'Auto' literal value.static intBOTTOM_LEFT_VALUEThe 'Bottom Left' literal value.static intBOTTOM_RIGHT_VALUEThe 'Bottom Right' literal value.static intCENTER_VALUEThe 'Center' literal value.static intEDGE_AUTO_VALUEThe 'Edge Auto' literal value.static intEDGE_INSIDE_VALUEThe 'Edge Inside' literal value.static intEDGE_VALUEThe 'Edge' literal value.static intEMPTY_SPACE_VALUEThe 'Empty Space' literal value.static intTOP_AND_LEFT_SPECIFIED_VALUEThe 'Top And Left Specified' literal value.static intTOP_LEFT_VALUEThe 'Top Left' literal value.static intTOP_RIGHT_VALUEThe 'Top Right' literal value.static List<ChartLabelLocation>VALUESA 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 ChartLabelLocationget(int value)Returns the 'Label Location' literal with the specified integer value.static ChartLabelLocationget(String literal)Returns the 'Label Location' literal with the specified literal value.static ChartLabelLocationgetByName(String name)Returns the 'Label Location' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static ChartLabelLocationvalueOf(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:
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<ChartLabelLocation>
-
-