Package com.levigo.jadice.server.nodes
Enum SeparatorPageNode.SeparatorPlacement
- java.lang.Object
-
- java.lang.Enum<SeparatorPageNode.SeparatorPlacement>
-
- com.levigo.jadice.server.nodes.SeparatorPageNode.SeparatorPlacement
-
- All Implemented Interfaces:
Serializable
,Comparable<SeparatorPageNode.SeparatorPlacement>
- Enclosing class:
- SeparatorPageNode
public static enum SeparatorPageNode.SeparatorPlacement extends Enum<SeparatorPageNode.SeparatorPlacement>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SeparatorPageNode.SeparatorPlacement
valueOf(String name)
Returns the enum constant of this type with the specified name.static SeparatorPageNode.SeparatorPlacement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE
public static final SeparatorPageNode.SeparatorPlacement BEFORE
Place the separator in front of the content it describes
-
AFTER
public static final SeparatorPageNode.SeparatorPlacement AFTER
Place the separator behind the content it describes
-
INSTEAD
public static final SeparatorPageNode.SeparatorPlacement INSTEAD
Let the separator replace the content it describes (whatever that may be good for)
-
-
Method Detail
-
values
public static SeparatorPageNode.SeparatorPlacement[] 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 (SeparatorPageNode.SeparatorPlacement c : SeparatorPageNode.SeparatorPlacement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SeparatorPageNode.SeparatorPlacement 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
-
-