public static enum SyntaxHighlighter.ThemeType extends Enum<SyntaxHighlighter.ThemeType>
Used by the TextUtils.DocumentBuilder to auto-select an appropriate
highlight theme that matches the document's Markdown theme.
| Enum Constant and Description |
|---|
DARK
Dark background with light text — suitable for dark document themes.
|
LIGHT
Light background with dark text — suitable for light document themes.
|
NEUTRAL
Ambiguous or mid-tone background — works with either light or dark documents.
|
| Modifier and Type | Method and Description |
|---|---|
static SyntaxHighlighter.ThemeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyntaxHighlighter.ThemeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyntaxHighlighter.ThemeType LIGHT
public static final SyntaxHighlighter.ThemeType DARK
public static final SyntaxHighlighter.ThemeType NEUTRAL
public static SyntaxHighlighter.ThemeType[] values()
for (SyntaxHighlighter.ThemeType c : SyntaxHighlighter.ThemeType.values()) System.out.println(c);
public static SyntaxHighlighter.ThemeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.