For each scheme, a theme key is defined. These keys can be used in a resource bundle that defines the theme name values for supported locales.
The high contrast feature may not be available on all platforms.
| Modifier and Type | Field and Description |
|---|---|
| public static final WindowsHighContrastScheme | |
| public static final WindowsHighContrastScheme | |
| public static final WindowsHighContrastScheme | |
| public static final WindowsHighContrastScheme | |
| public static final WindowsHighContrastScheme | |
| private static List | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static WindowsHighContrastScheme | Returns: the enum constant orNONE if not founda string with the localized theme name (for the locale of the OS, not the JVM) themeName)Given a theme name string, this method finds the possible enum constant for which the result of a function, applying its theme key, matches the theme name. |
| public static WindowsHighContrastScheme | |
| public static WindowsHighContrastScheme[] |
| HIGH_CONTRAST_1 | back to summary |
|---|---|
| public static final WindowsHighContrastScheme HIGH_CONTRAST_1 | |
| HIGH_CONTRAST_2 | back to summary |
|---|---|
| public static final WindowsHighContrastScheme HIGH_CONTRAST_2 | |
| HIGH_CONTRAST_BLACK | back to summary |
|---|---|
| public static final WindowsHighContrastScheme HIGH_CONTRAST_BLACK | |
| HIGH_CONTRAST_WHITE | back to summary |
|---|---|
| public static final WindowsHighContrastScheme HIGH_CONTRAST_WHITE | |
| NONE | back to summary |
|---|---|
| public static final WindowsHighContrastScheme NONE | |
| resourceBundles | back to summary |
|---|---|
| private static List<ResourceBundle> resourceBundles | |
| themeKey | back to summary |
|---|---|
| private final String themeKey | |
| WindowsHighContrastScheme | back to summary |
|---|---|
| private WindowsHighContrastScheme(String themeKey) | |
| fromThemeName | back to summary |
|---|---|
| pack-priv static WindowsHighContrastScheme fromThemeName(String themeName) Given a theme name string, this method finds the possible enum constant for which the result of a function, applying its theme key, matches the theme name.
| |
| valueOf | back to summary |
|---|---|
| public static WindowsHighContrastScheme valueOf(String name) | |
| values | back to summary |
|---|---|
| public static WindowsHighContrastScheme[] values() | |