Enum FractionFormatting
- java.lang.Object
-
- java.lang.Enum<FractionFormatting>
-
- net.n2oapp.framework.api.metadata.control.plain.FractionFormatting
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FractionFormatting>
public enum FractionFormatting extends java.lang.Enum<FractionFormatting>
Режим форматирования дробной части компонента
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FractionFormattingvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FractionFormatting[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
off
public static final FractionFormatting off
Форматирования дробной части отключено
-
manual
public static final FractionFormatting manual
Ручное форматирование дробной части
-
auto
public static final FractionFormatting auto
Автозаполнение дробной части
-
-
Method Detail
-
values
public static FractionFormatting[] 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 (FractionFormatting c : FractionFormatting.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FractionFormatting valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-