Enum FieldSet.LabelPosition
- java.lang.Object
-
- java.lang.Enum<FieldSet.LabelPosition>
-
- net.n2oapp.framework.api.metadata.meta.fieldset.FieldSet.LabelPosition
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FieldSet.LabelPosition>
- Enclosing class:
- FieldSet
public static enum FieldSet.LabelPosition extends java.lang.Enum<FieldSet.LabelPosition>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()static FieldSet.LabelPositionmap(N2oFieldSet.FieldLabelLocation location, N2oFieldSet.FieldLabelAlign align)static FieldSet.LabelPositionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FieldSet.LabelPosition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEFT
public static final FieldSet.LabelPosition LEFT
-
RIGHT
public static final FieldSet.LabelPosition RIGHT
-
TOP_LEFT
public static final FieldSet.LabelPosition TOP_LEFT
-
TOP_RIGHT
public static final FieldSet.LabelPosition TOP_RIGHT
-
-
Method Detail
-
values
public static FieldSet.LabelPosition[] 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 (FieldSet.LabelPosition c : FieldSet.LabelPosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FieldSet.LabelPosition 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
-
getId
public java.lang.String getId()
-
map
public static FieldSet.LabelPosition map(N2oFieldSet.FieldLabelLocation location, N2oFieldSet.FieldLabelAlign align)
-
-