Package io.smallrye.openapi.ui
Enum ThemeHref
- java.lang.Object
-
- java.lang.Enum<ThemeHref>
-
- io.smallrye.openapi.ui.ThemeHref
-
- All Implemented Interfaces:
Serializable,Comparable<ThemeHref>
public enum ThemeHref extends Enum<ThemeHref>
Available themes- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static ThemeHrefvalueOf(String name)Returns the enum constant of this type with the specified name.static ThemeHref[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
original
public static final ThemeHref original
-
feeling_blue
public static final ThemeHref feeling_blue
-
flattop
public static final ThemeHref flattop
-
material
public static final ThemeHref material
-
monokai
public static final ThemeHref monokai
-
muted
public static final ThemeHref muted
-
newspaper
public static final ThemeHref newspaper
-
outline
public static final ThemeHref outline
-
-
Method Detail
-
values
public static ThemeHref[] 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 (ThemeHref c : ThemeHref.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThemeHref 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
-
-