Package eu.miltema.uiannot
Enum ItemPos.Pos
- java.lang.Object
-
- java.lang.Enum<ItemPos.Pos>
-
- eu.miltema.uiannot.ItemPos.Pos
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ItemPos.Pos>
- Enclosing class:
- ItemPos
public static enum ItemPos.Pos extends java.lang.Enum<ItemPos.Pos>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LEADINGappears before list item main content area; multiple leading elements are permittedLINE1appears on the 1st line in main content area; multiple line elements are permittedLINE2appears on the 2nd line in main content area; multiple line elements are permittedLINE3appears on the 3rd line in main content area; multiple line elements are permittedTRAILINGappears after list item main content area; multiple trailing elements are permitted
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ItemPos.PosvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ItemPos.Pos[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEADING
public static final ItemPos.Pos LEADING
appears before list item main content area; multiple leading elements are permitted
-
LINE1
public static final ItemPos.Pos LINE1
appears on the 1st line in main content area; multiple line elements are permitted
-
LINE2
public static final ItemPos.Pos LINE2
appears on the 2nd line in main content area; multiple line elements are permitted
-
LINE3
public static final ItemPos.Pos LINE3
appears on the 3rd line in main content area; multiple line elements are permitted
-
TRAILING
public static final ItemPos.Pos TRAILING
appears after list item main content area; multiple trailing elements are permitted
-
-
Method Detail
-
values
public static ItemPos.Pos[] 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 (ItemPos.Pos c : ItemPos.Pos.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ItemPos.Pos 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
-
-