bibliothek.gui.dock.event
Interface UIListener


public interface UIListener

A listener added to the DockController. This listener gets informed when the LookAndFeel or the DockTheme changes.

Author:
Benjamin Sigg

Method Summary
 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.
 

Method Detail

updateUI

void updateUI(DockController controller)
Called when the LookAndFeel has been exchanged.

Parameters:
controller - the calling controller

themeWillChange

void themeWillChange(DockController controller,
                     DockTheme oldTheme,
                     DockTheme newTheme)
Called before the DockTheme of controller changes.

Parameters:
controller - the source of the event
oldTheme - the current theme
newTheme - the theme that gets applied

themeChanged

void themeChanged(DockController controller,
                  DockTheme oldTheme,
                  DockTheme newTheme)
Called after the DockTheme of controller was changed.

Parameters:
controller - the source of the event
oldTheme - the theme that was used before the event
newTheme - the current theme