Enum RightsDenotationOption
- java.lang.Object
-
- java.lang.Enum<RightsDenotationOption>
-
- com._1c.g5.v8.dt.rights.ui.sections.RightsDenotationOption
-
- All Implemented Interfaces:
Serializable,Comparable<RightsDenotationOption>
public enum RightsDenotationOption extends Enum<RightsDenotationOption>
Rights column denotation option.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PICTUREPICTURE_AND_TEXTTEXT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Stringget(int index)Gets localized name by index.static String[]getLocalizedNames()Gets localized names.static intindexOfLocalizedName(String localizedName)Gets localized name index.StringtoString()static RightsDenotationOptionvalueOf(String name)Returns the enum constant of this type with the specified name.static RightsDenotationOptionvalueOfLocalizedName(String localizedName)Gets value from localized name.static RightsDenotationOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PICTURE
public static final RightsDenotationOption PICTURE
-
TEXT
public static final RightsDenotationOption TEXT
-
PICTURE_AND_TEXT
public static final RightsDenotationOption PICTURE_AND_TEXT
-
-
Method Detail
-
values
public static RightsDenotationOption[] 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 (RightsDenotationOption c : RightsDenotationOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RightsDenotationOption 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 String get(int index)
Gets localized name by index.- Parameters:
index- the index- Returns:
- the localized name
-
getLocalizedNames
public static String[] getLocalizedNames()
Gets localized names.- Returns:
- the localized names
-
indexOfLocalizedName
public static int indexOfLocalizedName(String localizedName)
Gets localized name index.- Parameters:
localizedName- the localized name- Returns:
- the index
-
valueOfLocalizedName
public static RightsDenotationOption valueOfLocalizedName(String localizedName)
Gets value from localized name.- Parameters:
localizedName- the localized name- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classEnum<RightsDenotationOption>
-
-