cz.vity.freerapid.gui.actions
Class DownloadsActions

java.lang.Object
  extended by cz.vity.freerapid.gui.actions.DownloadsActions

public final class DownloadsActions
extends Object

Author:
Ladislav Vitasek

Field Summary
static EnumSet<DownloadState> cancelEnabledStates
          set of states in which user can press cancel button
static EnumSet<DownloadState> completedStates
          states those indicates that file is completed
static EnumSet<DownloadState> forceEnabledStates
          set of states in which user can press force download action
static EnumSet<DownloadState> pauseEnabledStates
          set of states in which user can press pause button
static EnumSet<DownloadState> recheckExistingStates
          set of states in which user can press validate links download action
static EnumSet<DownloadState> resumeEnabledStates
          set of states in which user can press resume button
 
Method Summary
static boolean isProcessState(DownloadState s)
          Checks whether state download state means "working"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pauseEnabledStates

public static EnumSet<DownloadState> pauseEnabledStates
set of states in which user can press pause button


resumeEnabledStates

public static EnumSet<DownloadState> resumeEnabledStates
set of states in which user can press resume button


cancelEnabledStates

public static EnumSet<DownloadState> cancelEnabledStates
set of states in which user can press cancel button


forceEnabledStates

public static EnumSet<DownloadState> forceEnabledStates
set of states in which user can press force download action


recheckExistingStates

public static EnumSet<DownloadState> recheckExistingStates
set of states in which user can press validate links download action


completedStates

public static EnumSet<DownloadState> completedStates
states those indicates that file is completed

Method Detail

isProcessState

public static boolean isProcessState(DownloadState s)
Checks whether state download state means "working"

Parameters:
s - given state
Returns:
true if state is in working phase