Package com.xwiki.macros.confluence
Enum ConfluenceFloatMacroParameterSide
- java.lang.Object
-
- java.lang.Enum<ConfluenceFloatMacroParameterSide>
-
- com.xwiki.macros.confluence.ConfluenceFloatMacroParameterSide
-
- All Implemented Interfaces:
Serializable,Comparable<ConfluenceFloatMacroParameterSide>
public enum ConfluenceFloatMacroParameterSide extends Enum<ConfluenceFloatMacroParameterSide>
Side parameter for float macro.- Since:
- 1.24.0
- Version:
- $Id: $
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfluenceFloatMacroParameterSidevalueOf(String name)Returns the enum constant of this type with the specified name.static ConfluenceFloatMacroParameterSide[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEFT
public static final ConfluenceFloatMacroParameterSide LEFT
Show float on left side.
-
RIGHT
public static final ConfluenceFloatMacroParameterSide RIGHT
Show float on right side.
-
-
Method Detail
-
values
public static ConfluenceFloatMacroParameterSide[] 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 (ConfluenceFloatMacroParameterSide c : ConfluenceFloatMacroParameterSide.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfluenceFloatMacroParameterSide 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
-
-