sk.baka.ambient
Class AppState

java.lang.Object
  extended by sk.baka.ambient.AppState
All Implemented Interfaces:
Serializable

public final class AppState
extends Object
implements Serializable

A serializable application state.

Author:
Martin Vysny
See Also:
Serialized Form

Nested Class Summary
static interface AppState.IAppStateAware
          Implemented by components that are aware of the global application state.
 
Field Summary
 AmpacheClientBean ampacheClient
          The Ampache client configuration.
 boolean online
          Are we online?
 IPlaylistStrategy playlist
          The playlist strategy.
 int position
          Position in playback, in milliseconds.
 Random random
          The random state.
 Repeat repeat
          The repeat state.
 PlayerStateEnum state
          State of playback.
 int visibleController
          The MainActivity visible controller.
 String welcomeVersion
          A welcome dialog was shown for this version of Ambient.
 boolean zoomed
          Is GUI zoomed?
 
Constructor Summary
AppState()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

playlist

public IPlaylistStrategy playlist
The playlist strategy.


state

public PlayerStateEnum state
State of playback.


position

public int position
Position in playback, in milliseconds.


repeat

public Repeat repeat
The repeat state.


random

public Random random
The random state.


visibleController

public int visibleController
The MainActivity visible controller.


online

public boolean online
Are we online?


zoomed

public boolean zoomed
Is GUI zoomed?


ampacheClient

public AmpacheClientBean ampacheClient
The Ampache client configuration.


welcomeVersion

public String welcomeVersion
A welcome dialog was shown for this version of Ambient.

Constructor Detail

AppState

public AppState()


Copyright © 2007-2008. All Rights Reserved.