Package com._1c.g5.v8.dt.form.model
Enum TooltipRepresentation
- java.lang.Object
-
- java.lang.Enum<TooltipRepresentation>
-
- com._1c.g5.v8.dt.form.model.TooltipRepresentation
-
- All Implemented Interfaces:
Serializable,Comparable<TooltipRepresentation>,org.eclipse.emf.common.util.Enumerator
public enum TooltipRepresentation extends Enum<TooltipRepresentation> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Tooltip Representation', and utility methods for working with them.- See Also:
FormPackage.getTooltipRepresentation()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOThe 'Auto' literal object.BALLOONThe 'Balloon' literal object.BUTTONThe 'Button' literal object.NONEThe 'None' literal object.SHOW_AUTOThe 'Show Auto' literal object.SHOW_BOTTOMThe 'Show Bottom' literal object.SHOW_LEFTThe 'Show Left' literal object.SHOW_RIGHTThe 'Show Right' literal object.SHOW_TOPThe 'Show Top' literal object.
-
Field Summary
Fields Modifier and Type Field Description static intAUTO_VALUEThe 'Auto' literal value.static intBALLOON_VALUEThe 'Balloon' literal value.static intBUTTON_VALUEThe 'Button' literal value.static intNONE_VALUEThe 'None' literal value.static intSHOW_AUTO_VALUEThe 'Show Auto' literal value.static intSHOW_BOTTOM_VALUEThe 'Show Bottom' literal value.static intSHOW_LEFT_VALUEThe 'Show Left' literal value.static intSHOW_RIGHT_VALUEThe 'Show Right' literal value.static intSHOW_TOP_VALUEThe 'Show Top' literal value.static List<TooltipRepresentation>VALUESA public read-only list of all the 'Tooltip Representation' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TooltipRepresentationget(int value)Returns the 'Tooltip Representation' literal with the specified integer value.static TooltipRepresentationget(String literal)Returns the 'Tooltip Representation' literal with the specified literal value.static TooltipRepresentationgetByName(String name)Returns the 'Tooltip Representation' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static TooltipRepresentationvalueOf(String name)Returns the enum constant of this type with the specified name.static TooltipRepresentation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final TooltipRepresentation AUTO
The 'Auto' literal object.- See Also:
AUTO_VALUE
-
NONE
public static final TooltipRepresentation NONE
The 'None' literal object.- See Also:
NONE_VALUE
-
BALLOON
public static final TooltipRepresentation BALLOON
The 'Balloon' literal object.- See Also:
BALLOON_VALUE
-
BUTTON
public static final TooltipRepresentation BUTTON
The 'Button' literal object.- See Also:
BUTTON_VALUE
-
SHOW_AUTO
public static final TooltipRepresentation SHOW_AUTO
The 'Show Auto' literal object.- See Also:
SHOW_AUTO_VALUE
-
SHOW_TOP
public static final TooltipRepresentation SHOW_TOP
The 'Show Top' literal object.- See Also:
SHOW_TOP_VALUE
-
SHOW_LEFT
public static final TooltipRepresentation SHOW_LEFT
The 'Show Left' literal object.- See Also:
SHOW_LEFT_VALUE
-
SHOW_BOTTOM
public static final TooltipRepresentation SHOW_BOTTOM
The 'Show Bottom' literal object.- See Also:
SHOW_BOTTOM_VALUE
-
SHOW_RIGHT
public static final TooltipRepresentation SHOW_RIGHT
The 'Show Right' literal object.- See Also:
SHOW_RIGHT_VALUE
-
-
Field Detail
-
AUTO_VALUE
public static final int AUTO_VALUE
The 'Auto' literal value.- See Also:
AUTO, Constant Field Values
-
NONE_VALUE
public static final int NONE_VALUE
The 'None' literal value.- See Also:
NONE, Constant Field Values
-
BALLOON_VALUE
public static final int BALLOON_VALUE
The 'Balloon' literal value.- See Also:
BALLOON, Constant Field Values
-
BUTTON_VALUE
public static final int BUTTON_VALUE
The 'Button' literal value.- See Also:
BUTTON, Constant Field Values
-
SHOW_AUTO_VALUE
public static final int SHOW_AUTO_VALUE
The 'Show Auto' literal value.- See Also:
SHOW_AUTO, Constant Field Values
-
SHOW_TOP_VALUE
public static final int SHOW_TOP_VALUE
The 'Show Top' literal value.- See Also:
SHOW_TOP, Constant Field Values
-
SHOW_LEFT_VALUE
public static final int SHOW_LEFT_VALUE
The 'Show Left' literal value.- See Also:
SHOW_LEFT, Constant Field Values
-
SHOW_BOTTOM_VALUE
public static final int SHOW_BOTTOM_VALUE
The 'Show Bottom' literal value.- See Also:
SHOW_BOTTOM, Constant Field Values
-
SHOW_RIGHT_VALUE
public static final int SHOW_RIGHT_VALUE
The 'Show Right' literal value.- See Also:
SHOW_RIGHT, Constant Field Values
-
VALUES
public static final List<TooltipRepresentation> VALUES
A public read-only list of all the 'Tooltip Representation' enumerators.
-
-
Method Detail
-
values
public static TooltipRepresentation[] 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 (TooltipRepresentation c : TooltipRepresentation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TooltipRepresentation 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 TooltipRepresentation get(String literal)
Returns the 'Tooltip Representation' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
public static TooltipRepresentation getByName(String name)
Returns the 'Tooltip Representation' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
public static TooltipRepresentation get(int value)
Returns the 'Tooltip Representation' 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<TooltipRepresentation>
-
-