java.lang.Object
org.jhotdraw8.theme.AbstractTheme
- All Implemented Interfaces:
Theme
- Direct Known Subclasses:
AbstractAtlantaFXTheme
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTheme(@NonNull String name, @NonNull String appearance) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jhotdraw8.theme.Theme
createUserAgentStylesheet
-
Constructor Details
-
AbstractTheme
-
-
Method Details
-
getAppearance
Description copied from interface:ThemeGets the appearance of the theme.This is an open-ended set of values. Common values are "light", "dark".
- light
- A light appearance ("day mode") consists of light background colors and dark foreground/text colors.
- dark
- A dark appearance ("night mode") consists of the opposite, with dark background colors and light foreground/text colors.
- Specified by:
getAppearancein interfaceTheme- Returns:
- the appearance
-
getName
Description copied from interface:ThemeGets the name of the theme.
-