Package com.xwiki.macros.tab.macro
Enum TabGroupMacroParameters.Location
- java.lang.Object
-
- java.lang.Enum<TabGroupMacroParameters.Location>
-
- com.xwiki.macros.tab.macro.TabGroupMacroParameters.Location
-
- All Implemented Interfaces:
Serializable,Comparable<TabGroupMacroParameters.Location>
- Enclosing class:
- TabGroupMacroParameters
public static enum TabGroupMacroParameters.Location extends Enum<TabGroupMacroParameters.Location>
- Version:
- $Id: $
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TabGroupMacroParameters.LocationvalueOf(String name)Returns the enum constant of this type with the specified name.static TabGroupMacroParameters.Location[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP
public static final TabGroupMacroParameters.Location TOP
Top of the content.
-
BOTTOM
public static final TabGroupMacroParameters.Location BOTTOM
Bottom of the content.
-
LEFT
public static final TabGroupMacroParameters.Location LEFT
Left of the content.
-
RIGHT
public static final TabGroupMacroParameters.Location RIGHT
Right of the content.
-
NONE
public static final TabGroupMacroParameters.Location NONE
Don't show tap part.
-
-
Method Detail
-
values
public static TabGroupMacroParameters.Location[] 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 (TabGroupMacroParameters.Location c : TabGroupMacroParameters.Location.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TabGroupMacroParameters.Location 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
-
-