public interface UIListener
DockController
. This listener gets informed
when the LookAndFeel
or the DockTheme
changes.Modifier and Type | Method and Description |
---|---|
void |
themeChanged(DockController controller,
DockTheme oldTheme,
DockTheme newTheme)
Called after the
DockTheme of controller was changed. |
void |
themeWillChange(DockController controller,
DockTheme oldTheme,
DockTheme newTheme)
Called before the
DockTheme of controller changes. |
void |
updateUI(DockController controller)
Called when the
LookAndFeel has been exchanged. |
void updateUI(DockController controller)
LookAndFeel
has been exchanged.controller
- the calling controllervoid themeWillChange(DockController controller, DockTheme oldTheme, DockTheme newTheme)
DockTheme
of controller
changes.controller
- the source of the eventoldTheme
- the current themenewTheme
- the theme that gets appliedvoid themeChanged(DockController controller, DockTheme oldTheme, DockTheme newTheme)
DockTheme
of controller
was changed.controller
- the source of the eventoldTheme
- the theme that was used before the eventnewTheme
- the current theme