public interface DefaultsInitTask
Modifier and Type | Method and Description |
---|---|
default boolean |
onlyDuringInstallation()
Indicated that this task should only be run if the laf is actually installed.
|
void |
run(com.github.weisj.darklaf.theme.Theme currentTheme,
UIDefaults defaults)
Execute the task.
|
void run(com.github.weisj.darklaf.theme.Theme currentTheme, UIDefaults defaults)
UIResource
.
This is specifically important for FontUIResource
and
ColorUIResource
.currentTheme
- the current theme being initialized.defaults
- the current defaults to work with.default boolean onlyDuringInstallation()