Package com._1c.g5.v8.dt.md.ui
Enum FormattedStringSettings.Unit
- java.lang.Object
-
- java.lang.Enum<FormattedStringSettings.Unit>
-
- com._1c.g5.v8.dt.md.ui.FormattedStringSettings.Unit
-
- All Implemented Interfaces:
Serializable
,Comparable<FormattedStringSettings.Unit>
- Enclosing class:
- FormattedStringSettings
public static enum FormattedStringSettings.Unit extends Enum<FormattedStringSettings.Unit>
Possible css size-oriented units.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static FormattedStringSettings.Unit
valueOf(String name)
Returns the enum constant of this type with the specified name.static FormattedStringSettings.Unit[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final FormattedStringSettings.Unit NONE
-
PX
public static final FormattedStringSettings.Unit PX
-
PT
public static final FormattedStringSettings.Unit PT
-
MM
public static final FormattedStringSettings.Unit MM
-
IN
public static final FormattedStringSettings.Unit IN
-
PC
public static final FormattedStringSettings.Unit PC
-
EM
public static final FormattedStringSettings.Unit EM
-
EX
public static final FormattedStringSettings.Unit EX
-
CH
public static final FormattedStringSettings.Unit CH
-
REM
public static final FormattedStringSettings.Unit REM
-
VW
public static final FormattedStringSettings.Unit VW
-
VH
public static final FormattedStringSettings.Unit VH
-
VMIN
public static final FormattedStringSettings.Unit VMIN
-
VMAX
public static final FormattedStringSettings.Unit VMAX
-
PERCENT
public static final FormattedStringSettings.Unit PERCENT
-
-
Method Detail
-
values
public static FormattedStringSettings.Unit[] 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 (FormattedStringSettings.Unit c : FormattedStringSettings.Unit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormattedStringSettings.Unit 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<FormattedStringSettings.Unit>
-
-