Enum ElementPlacement
- java.lang.Object
-
- java.lang.Enum<ElementPlacement>
-
- com.vladsch.flexmark.util.format.options.ElementPlacement
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ElementPlacement>
public enum ElementPlacement extends java.lang.Enum<ElementPlacement>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AS_IS
DOCUMENT_BOTTOM
DOCUMENT_TOP
GROUP_WITH_FIRST
GROUP_WITH_LAST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isBottom()
boolean
isChange()
boolean
isGroupFirst()
boolean
isGroupLast()
boolean
isNoChange()
boolean
isTop()
static ElementPlacement
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ElementPlacement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AS_IS
public static final ElementPlacement AS_IS
-
DOCUMENT_TOP
public static final ElementPlacement DOCUMENT_TOP
-
GROUP_WITH_FIRST
public static final ElementPlacement GROUP_WITH_FIRST
-
GROUP_WITH_LAST
public static final ElementPlacement GROUP_WITH_LAST
-
DOCUMENT_BOTTOM
public static final ElementPlacement DOCUMENT_BOTTOM
-
-
Method Detail
-
values
public static ElementPlacement[] 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 (ElementPlacement c : ElementPlacement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ElementPlacement 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
-
isNoChange
public boolean isNoChange()
-
isChange
public boolean isChange()
-
isTop
public boolean isTop()
-
isBottom
public boolean isBottom()
-
isGroupFirst
public boolean isGroupFirst()
-
isGroupLast
public boolean isGroupLast()
-
-