sk.baka.ambient
Interface IApplicationListener

All Known Implementing Classes:
AbstractPlaylistController, AmpacheController, ContextController, PlayerController, PlaylistController, StaticPlaylistController

public interface IApplicationListener

Listener for application-wide events.

Author:
Martin Vysny

Method Summary
 void clipboardChanged()
          The clipboard has been changed.
 void configChanged(ConfigurationBean config)
          The configuration was changed.
 void offline(boolean offline)
          Informs that the application has entered an offline/online mode.
 void stateChanged(AppState state)
          The application state was changed.
 

Method Detail

configChanged

void configChanged(ConfigurationBean config)
The configuration was changed.

Parameters:
config - the configuration instance, must NOT be modified.

stateChanged

void stateChanged(AppState state)
The application state was changed.

Parameters:
state - the state instance, must NOT be modified.

clipboardChanged

void clipboardChanged()
The clipboard has been changed.


offline

void offline(boolean offline)
Informs that the application has entered an offline/online mode.

Parameters:
offline - if true then we are currently offline. If false then we are online.


Copyright © 2007-2008. All Rights Reserved.