java.lang.Object
de.klassenserver7b.danceinterpreter.Main

public class Main extends Object
Author:
K7
  • Field Details

    • Instance

      public static Main Instance
    • exit

      public static boolean exit
    • errordetected

      public static boolean errordetected
    • spotify

      private SpotifyInteractions spotify
    • danceInterpreter

      private DanceInterpreter danceInterpreter
    • cfgWindow

      private ConfigWindow cfgWindow
    • songWindowServer

      private SongWindowServer songWindowServer
    • appMode

      private AppModes appMode
    • shutdownT

      private Thread shutdownT
    • log

      private final org.slf4j.Logger log
    • trayIcon

      private TrayIcon trayIcon
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • main

      public static void main(String[] args)
      Parameters:
      args -
    • load

      private boolean load()
      Returns:
    • askForAppMode

      protected AppModes askForAppMode()
      Returns:
    • initalizeUILayout

      protected boolean initalizeUILayout()
      Returns:
    • initSystemTray

      protected void initSystemTray()
    • startShutdownT

      protected void startShutdownT(AppModes appMode)
      Parameters:
      appMode -
    • onShutdown

      public void onShutdown(AppModes appMode)
      Parameters:
      appMode -
    • isWinOS

      public boolean isWinOS()
    • getHomeDir

      public String getHomeDir()
    • getAppMode

      public AppModes getAppMode()
      Returns:
    • getSpotifyAPI

      public se.michaelthelin.spotify.SpotifyApi getSpotifyAPI()
      Returns:
    • getDanceInterpreter

      public DanceInterpreter getDanceInterpreter()
      Returns:
    • getConfigWindow

      public ConfigWindow getConfigWindow()
      Returns:
    • getSongWindowServer

      public SongWindowServer getSongWindowServer()
      Returns:
    • getTrayIcon

      public TrayIcon getTrayIcon()
      Returns:
      the trayIcon