Package com._1c.g5.v8.dt.moxel.content
Enum TextPlacement
- java.lang.Object
- 
- java.lang.Enum<TextPlacement>
- 
- com._1c.g5.v8.dt.moxel.content.TextPlacement
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<TextPlacement>,- org.eclipse.emf.common.util.Enumerator
 
 public enum TextPlacement extends Enum<TextPlacement> implements org.eclipse.emf.common.util.Enumerator A representation of the literals of the enumeration 'Text Placement', and utility methods for working with them.- See Also:
- ContentPackage.getTextPlacement()
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intAUTO_VALUEThe 'Auto' literal value.static intBLOCK_VALUEThe 'Block' literal value.static intCUT_VALUEThe 'Cut' literal value.static List<TextPlacement>VALUESA public read-only list of all the 'Text Placement' enumerators.static intWRAP_VALUEThe 'Wrap' literal value.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextPlacementget(int value)Returns the 'Text Placement' literal with the specified integer value.static TextPlacementget(String literal)Returns the 'Text Placement' literal with the specified literal value.static TextPlacementgetByName(String name)Returns the 'Text Placement' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static TextPlacementvalueOf(String name)Returns the enum constant of this type with the specified name.static TextPlacement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
AUTOpublic static final TextPlacement AUTO The 'Auto' literal object.- See Also:
- AUTO_VALUE
 
 - 
CUTpublic static final TextPlacement CUT The 'Cut' literal object.- See Also:
- CUT_VALUE
 
 - 
BLOCKpublic static final TextPlacement BLOCK The 'Block' literal object.- See Also:
- BLOCK_VALUE
 
 - 
WRAPpublic static final TextPlacement WRAP The 'Wrap' literal object.- See Also:
- WRAP_VALUE
 
 
- 
 - 
Field Detail- 
AUTO_VALUEpublic static final int AUTO_VALUE The 'Auto' literal value.- See Also:
- AUTO, Constant Field Values
 
 - 
CUT_VALUEpublic static final int CUT_VALUE The 'Cut' literal value.- See Also:
- CUT, Constant Field Values
 
 - 
BLOCK_VALUEpublic static final int BLOCK_VALUE The 'Block' literal value.- See Also:
- BLOCK, Constant Field Values
 
 - 
WRAP_VALUEpublic static final int WRAP_VALUE The 'Wrap' literal value.- See Also:
- WRAP, Constant Field Values
 
 - 
VALUESpublic static final List<TextPlacement> VALUES A public read-only list of all the 'Text Placement' enumerators.
 
- 
 - 
Method Detail- 
valuespublic static TextPlacement[] 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 (TextPlacement c : TextPlacement.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static TextPlacement 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 name
- NullPointerException- if the argument is null
 
 - 
getpublic static TextPlacement get(String literal) Returns the 'Text Placement' literal with the specified literal value.- Parameters:
- literal- the literal.
- Returns:
- the matching enumerator or null.
 
 - 
getByNamepublic static TextPlacement getByName(String name) Returns the 'Text Placement' literal with the specified name.- Parameters:
- name- the name.
- Returns:
- the matching enumerator or null.
 
 - 
getpublic static TextPlacement get(int value) Returns the 'Text Placement' literal with the specified integer value.- Parameters:
- value- the integer value.
- Returns:
- the matching enumerator or null.
 
 - 
getValuepublic int getValue() - Specified by:
- getValuein interface- org.eclipse.emf.common.util.Enumerator
 
 - 
getNamepublic String getName() - Specified by:
- getNamein interface- org.eclipse.emf.common.util.Enumerator
 
 - 
getLiteralpublic String getLiteral() - Specified by:
- getLiteralin interface- org.eclipse.emf.common.util.Enumerator
 
 - 
toStringpublic String toString() Returns the literal value of the enumerator, which is its string representation.- Overrides:
- toStringin class- Enum<TextPlacement>
 
 
- 
 
-