Class Main
java.lang.Object
de.klassenserver7b.danceinterpreter.Main
- Author:
- K7
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AppModes
private ConfigWindow
private DanceInterpreter
static boolean
static boolean
static Main
private final org.slf4j.Logger
private Thread
private SongWindowServer
private SpotifyInteractions
private TrayIcon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AppModes
se.michaelthelin.spotify.SpotifyApi
protected boolean
protected void
boolean
isWinOS()
private boolean
load()
static void
void
onShutdown
(AppModes appMode) protected void
startShutdownT
(AppModes appMode)
-
Field Details
-
Instance
-
exit
public static boolean exit -
errordetected
public static boolean errordetected -
spotify
-
danceInterpreter
-
cfgWindow
-
songWindowServer
-
appMode
-
shutdownT
-
log
private final org.slf4j.Logger log -
trayIcon
-
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
main
- Parameters:
args
-
-
load
private boolean load()- Returns:
-
askForAppMode
- Returns:
-
initalizeUILayout
protected boolean initalizeUILayout()- Returns:
-
initSystemTray
protected void initSystemTray() -
startShutdownT
- Parameters:
appMode
-
-
onShutdown
- Parameters:
appMode
-
-
isWinOS
public boolean isWinOS() -
getHomeDir
-
getAppMode
- Returns:
-
getSpotifyAPI
public se.michaelthelin.spotify.SpotifyApi getSpotifyAPI()- Returns:
-
getDanceInterpreter
- Returns:
-
getConfigWindow
- Returns:
-
getSongWindowServer
- Returns:
-
getTrayIcon
- Returns:
- the trayIcon
-