Package ro.sync.exml.workspace.api.util
Interface ColorTheme
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface ColorTheme
A theme manager is an object that is able to provide information about
the color theme used by oXygen.
The color theme is used to style all the views and controls used by oxygen
as well as the editors.
- Since:
- 16.1
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the current theme is a dark theme.booleanCheck if the current theme is a high contrast one.booleanCheck if the current theme is a high contrast white theme.
-
Method Details
-
isHighContrastTheme
boolean isHighContrastTheme()Check if the current theme is a high contrast one.- Returns:
trueif is a high contrast theme.- Since:
- 16.1
-
isHighContrastWhiteTheme
boolean isHighContrastWhiteTheme()Check if the current theme is a high contrast white theme.- Returns:
trueif is a high contrast theme.- Since:
- 16.1
-
isDarkTheme
boolean isDarkTheme()Check if the current theme is a dark theme.- Returns:
trueif is a dark theme.- Since:
- 17
-