Class UiTheme
java.lang.Object
wiiuu.ui.UiTheme
An immutable palette and font policy for the built-in Swing controls.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolours()static UiThemedark()The built-in dark appearance.font(int style, float size) static UiThemefrom(ThemeScript.Result result) Use an evaluated .wtheme, including its font preferences.booleanisDark()static UiThemelight()The built-in light appearance.onAccent()Readable foreground for an accent-filled control, including custom theme accents.
-
Constructor Details
-
UiTheme
-
-
Method Details
-
light
The built-in light appearance. -
dark
The built-in dark appearance. No OS process is invoked. -
from
Use an evaluated .wtheme, including its font preferences. -
colour
-
colours
-
font
-
isDark
public boolean isDark() -
onAccent
Readable foreground for an accent-filled control, including custom theme accents.
-