|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.baka.ambient.AppState
public final class AppState
A serializable application state.
| 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. |
java.lang.String |
welcomeVersion
A welcome dialog was shown for this version of Ambient. |
java.util.EnumMap<ZoomEnum,java.lang.Integer> |
zoom
Is GUI zoomed? |
| Constructor Summary | |
|---|---|
AppState()
|
|
| Method Summary | |
|---|---|
void |
setZoom(java.util.EnumMap<ZoomEnum,java.lang.Integer> zoom2)
Merges zoom levels. |
void |
setZoomLevel(ZoomEnum category,
int level)
Returns zoom level for given category. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public IPlaylistStrategy playlist
public PlayerStateEnum state
public int position
public Repeat repeat
public Random random
public int visibleController
MainActivity visible controller.
public boolean online
public java.util.EnumMap<ZoomEnum,java.lang.Integer> zoom
public AmpacheClientBean ampacheClient
public java.lang.String welcomeVersion
| Constructor Detail |
|---|
public AppState()
| Method Detail |
|---|
public void setZoom(java.util.EnumMap<ZoomEnum,java.lang.Integer> zoom2)
zoom2 - new zoom levels.
public void setZoomLevel(ZoomEnum category,
int level)
category - the category to query.level - the level
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||