Enum ButtonContentLayouterBase.MetricId
- java.lang.Object
-
- java.lang.Enum<ButtonContentLayouterBase.MetricId>
-
- com._1c.g5.v8.dt.form.layout.commandpanels.ButtonContentLayouterBase.MetricId
-
- All Implemented Interfaces:
Serializable
,Comparable<ButtonContentLayouterBase.MetricId>
- Enclosing class:
- ButtonContentLayouterBase
protected static enum ButtonContentLayouterBase.MetricId extends Enum<ButtonContentLayouterBase.MetricId>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ArrowOffsetRatioY
ArrowPaddingX
ArrowSizeX
ArrowSizeY
DefImageSize
GlyphSize
ImagePaddingX
ImagePaddingY
ImageToArrow
ImageToText
kNumMetrics
TextPaddingX
TextPaddingY
TextToArrow
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static ButtonContentLayouterBase.MetricId
valueOf(String name)
Returns the enum constant of this type with the specified name.static ButtonContentLayouterBase.MetricId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GlyphSize
public static final ButtonContentLayouterBase.MetricId GlyphSize
-
DefImageSize
public static final ButtonContentLayouterBase.MetricId DefImageSize
-
ArrowSizeX
public static final ButtonContentLayouterBase.MetricId ArrowSizeX
-
ArrowSizeY
public static final ButtonContentLayouterBase.MetricId ArrowSizeY
-
ArrowOffsetRatioY
public static final ButtonContentLayouterBase.MetricId ArrowOffsetRatioY
-
ImagePaddingX
public static final ButtonContentLayouterBase.MetricId ImagePaddingX
-
ImagePaddingY
public static final ButtonContentLayouterBase.MetricId ImagePaddingY
-
TextPaddingX
public static final ButtonContentLayouterBase.MetricId TextPaddingX
-
TextPaddingY
public static final ButtonContentLayouterBase.MetricId TextPaddingY
-
ArrowPaddingX
public static final ButtonContentLayouterBase.MetricId ArrowPaddingX
-
ImageToText
public static final ButtonContentLayouterBase.MetricId ImageToText
-
ImageToArrow
public static final ButtonContentLayouterBase.MetricId ImageToArrow
-
TextToArrow
public static final ButtonContentLayouterBase.MetricId TextToArrow
-
kNumMetrics
public static final ButtonContentLayouterBase.MetricId kNumMetrics
-
-
Method Detail
-
values
public static ButtonContentLayouterBase.MetricId[] 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 (ButtonContentLayouterBase.MetricId c : ButtonContentLayouterBase.MetricId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ButtonContentLayouterBase.MetricId 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
-
getValue
public int getValue()
-
-