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 AUTO
The 'Auto' literal object.BALLOON
The 'Balloon' literal object.BUTTON
The 'Button' literal object.NONE
The 'None' literal object.SHOW_AUTO
The 'Show Auto' literal object.SHOW_BOTTOM
The 'Show Bottom' literal object.SHOW_LEFT
The 'Show Left' literal object.SHOW_RIGHT
The 'Show Right' literal object.SHOW_TOP
The 'Show Top' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
AUTO_VALUE
The 'Auto' literal value.static int
BALLOON_VALUE
The 'Balloon' literal value.static int
BUTTON_VALUE
The 'Button' literal value.static int
NONE_VALUE
The 'None' literal value.static int
SHOW_AUTO_VALUE
The 'Show Auto' literal value.static int
SHOW_BOTTOM_VALUE
The 'Show Bottom' literal value.static int
SHOW_LEFT_VALUE
The 'Show Left' literal value.static int
SHOW_RIGHT_VALUE
The 'Show Right' literal value.static int
SHOW_TOP_VALUE
The 'Show Top' literal value.static List<TooltipRepresentation>
VALUES
A 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 TooltipRepresentation
get(int value)
Returns the 'Tooltip Representation' literal with the specified integer value.static TooltipRepresentation
get(String literal)
Returns the 'Tooltip Representation' literal with the specified literal value.static TooltipRepresentation
getByName(String name)
Returns the 'Tooltip Representation' 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 TooltipRepresentation
valueOf(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:
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<TooltipRepresentation>
-
-