Enum ShowHideIfMacroParameters.DisplayType
- java.lang.Object
-
- java.lang.Enum<ShowHideIfMacroParameters.DisplayType>
-
- com.xwiki.macros.showhideif.macro.ShowHideIfMacroParameters.DisplayType
-
- All Implemented Interfaces:
Serializable,Comparable<ShowHideIfMacroParameters.DisplayType>
- Enclosing class:
- ShowHideIfMacroParameters
public static enum ShowHideIfMacroParameters.DisplayType extends Enum<ShowHideIfMacroParameters.DisplayType>
- Since:
- 1.26.0
- Version:
- $Id: $
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ShowHideIfMacroParameters.DisplayTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ShowHideIfMacroParameters.DisplayType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ShowHideIfMacroParameters.DisplayType NONE
Display in any cases.
-
DEFAULT
public static final ShowHideIfMacroParameters.DisplayType DEFAULT
Dislay in general case except in PRINTABLE cases.
-
PRINTABLE
public static final ShowHideIfMacroParameters.DisplayType PRINTABLE
Display in printable case. This include ODT and PDF export and printing.
-
-
Method Detail
-
values
public static ShowHideIfMacroParameters.DisplayType[] 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 (ShowHideIfMacroParameters.DisplayType c : ShowHideIfMacroParameters.DisplayType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShowHideIfMacroParameters.DisplayType 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
-
-