Package com._1c.g5.v8.dt.bp.scheme.model
Enum GraphicalSchemePictureStyle
- java.lang.Object
-
- java.lang.Enum<GraphicalSchemePictureStyle>
-
- com._1c.g5.v8.dt.bp.scheme.model.GraphicalSchemePictureStyle
-
- All Implemented Interfaces:
Serializable,Comparable<GraphicalSchemePictureStyle>,org.eclipse.emf.common.util.Enumerator
public enum GraphicalSchemePictureStyle extends Enum<GraphicalSchemePictureStyle> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Graphical Scheme Picture Style', and utility methods for working with them.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_SIZEThe 'Auto Size' literal object.BY_FONT_SIZEThe 'By Font Size' literal object.PROPORTIONALLYThe 'Proportionally' literal object.REAL_SIZEThe 'Real Size' literal object.STRETCHThe 'Stretch' literal object.TILEThe 'Tile' literal object.
-
Field Summary
Fields Modifier and Type Field Description static intAUTO_SIZE_VALUEThe 'Auto Size' literal value.static intBY_FONT_SIZE_VALUEThe 'By Font Size' literal value.static intPROPORTIONALLY_VALUEThe 'Proportionally' literal value.static intREAL_SIZE_VALUEThe 'Real Size' literal value.static intSTRETCH_VALUEThe 'Stretch' literal value.static intTILE_VALUEThe 'Tile' literal value.static List<GraphicalSchemePictureStyle>VALUESA public read-only list of all the 'Graphical Scheme Picture Style' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GraphicalSchemePictureStyleget(int value)Returns the 'Graphical Scheme Picture Style' literal with the specified integer value.static GraphicalSchemePictureStyleget(String literal)Returns the 'Graphical Scheme Picture Style' literal with the specified literal value.static GraphicalSchemePictureStylegetByName(String name)Returns the 'Graphical Scheme Picture Style' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static GraphicalSchemePictureStylevalueOf(String name)Returns the enum constant of this type with the specified name.static GraphicalSchemePictureStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REAL_SIZE
public static final GraphicalSchemePictureStyle REAL_SIZE
The 'Real Size' literal object.- See Also:
REAL_SIZE_VALUE
-
STRETCH
public static final GraphicalSchemePictureStyle STRETCH
The 'Stretch' literal object.- See Also:
STRETCH_VALUE
-
PROPORTIONALLY
public static final GraphicalSchemePictureStyle PROPORTIONALLY
The 'Proportionally' literal object.- See Also:
PROPORTIONALLY_VALUE
-
TILE
public static final GraphicalSchemePictureStyle TILE
The 'Tile' literal object.- See Also:
TILE_VALUE
-
AUTO_SIZE
public static final GraphicalSchemePictureStyle AUTO_SIZE
The 'Auto Size' literal object.- See Also:
AUTO_SIZE_VALUE
-
BY_FONT_SIZE
public static final GraphicalSchemePictureStyle BY_FONT_SIZE
The 'By Font Size' literal object.- See Also:
BY_FONT_SIZE_VALUE
-
-
Field Detail
-
REAL_SIZE_VALUE
public static final int REAL_SIZE_VALUE
The 'Real Size' literal value.- See Also:
REAL_SIZE, Constant Field Values
-
STRETCH_VALUE
public static final int STRETCH_VALUE
The 'Stretch' literal value.- See Also:
STRETCH, Constant Field Values
-
PROPORTIONALLY_VALUE
public static final int PROPORTIONALLY_VALUE
The 'Proportionally' literal value.- See Also:
PROPORTIONALLY, Constant Field Values
-
TILE_VALUE
public static final int TILE_VALUE
The 'Tile' literal value.- See Also:
TILE, Constant Field Values
-
AUTO_SIZE_VALUE
public static final int AUTO_SIZE_VALUE
The 'Auto Size' literal value.- See Also:
AUTO_SIZE, Constant Field Values
-
BY_FONT_SIZE_VALUE
public static final int BY_FONT_SIZE_VALUE
The 'By Font Size' literal value.- See Also:
BY_FONT_SIZE, Constant Field Values
-
VALUES
public static final List<GraphicalSchemePictureStyle> VALUES
A public read-only list of all the 'Graphical Scheme Picture Style' enumerators.
-
-
Method Detail
-
values
public static GraphicalSchemePictureStyle[] 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 (GraphicalSchemePictureStyle c : GraphicalSchemePictureStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GraphicalSchemePictureStyle 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 GraphicalSchemePictureStyle get(String literal)
Returns the 'Graphical Scheme Picture Style' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
public static GraphicalSchemePictureStyle getByName(String name)
Returns the 'Graphical Scheme Picture Style' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
public static GraphicalSchemePictureStyle get(int value)
Returns the 'Graphical Scheme Picture Style' 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<GraphicalSchemePictureStyle>
-
-