Enum Class SpringdocConfigurationProperties.Customer.Theme
java.lang.Object
java.lang.Enum<SpringdocConfigurationProperties.Customer.Theme>
tech.riemann.nif.openapi.SpringdocConfigurationProperties.Customer.Theme
- All Implemented Interfaces:
Serializable, Comparable<SpringdocConfigurationProperties.Customer.Theme>, Constable
- Enclosing class:
SpringdocConfigurationProperties.Customer
public static enum SpringdocConfigurationProperties.Customer.Theme
extends Enum<SpringdocConfigurationProperties.Customer.Theme>
主题枚举类,定义了多种可选的主题风格及其描述信息。
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescription根据给定的主题编码查找对应的枚举值。Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FEELING_BLUE
蓝色主题 -
MATERIAL
材质风格主题 -
MONOKAI
Monokai 风格主题(暗色系) -
FLATTOP
扁平化设计风格主题 -
MUTED
柔和色调主题 -
NEWSPAPER
报纸风格黑白主题 -
OUTLINE
边框线条突出主题
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
from
根据给定的主题编码查找对应的枚举值。- Parameters:
code- 编码字符串,不区分大小写- Returns:
- 匹配的 Theme 枚举实例;如果没有匹配项则返回 null
-