Class GUIhelper
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.services.GUIhelper
public class GUIhelper extends Object
-
Constructor Summary
Constructors Constructor Description GUIhelper()
-
Method Summary
Modifier and Type Method Description static Component
getHelpTextComponent(String plainText, String title, String helpTopic)
static JComponent
getWebsiteButton(String title, String url, String opt_local_folder, String optIntroText, String optIntroDialogTitle)
static JComponent
getWebsiteDownloadButton(String title, String optUrlManualDownloadWebsite, String target_dir_null_ask_user, String optIntroText, String[] downloadURLs, String optIntroDialogTitle, FileDownloadStatusInformationProvider statusProvider)
static JComponent
getWebsiteDownloadButton(String title, String optUrlManualDownloadWebsite, String target_dir_null_ask_user, String optIntroText, String[] downloadURLs, String optIntroDialogTitle, FileDownloadStatusInformationProvider statusProvider, Runnable optFinishSwingTask)
static ArrayList<String>
performDirectoryListing(String downloadURL, BackgroundTaskStatusProviderSupportingExternalCall status)
static boolean
performDownload(String downloadURL, String opt_local_folder, BackgroundTaskStatusProviderSupportingExternalCallImpl status)
static boolean
performDownload(String downloadURL, String opt_local_folder, BackgroundTaskStatusProviderSupportingExternalCallImpl status, String targetfilename)
static int
showMessageDialog(Object guiComponentOrText, String title, String[] buttons)
-
Constructor Details
-
GUIhelper
public GUIhelper()
-
-
Method Details
-
getHelpTextComponent
-
showMessageDialog
-
getWebsiteButton
-
getWebsiteDownloadButton
public static JComponent getWebsiteDownloadButton(String title, String optUrlManualDownloadWebsite, String target_dir_null_ask_user, String optIntroText, String[] downloadURLs, String optIntroDialogTitle, FileDownloadStatusInformationProvider statusProvider) -
getWebsiteDownloadButton
public static JComponent getWebsiteDownloadButton(String title, String optUrlManualDownloadWebsite, String target_dir_null_ask_user, String optIntroText, String[] downloadURLs, String optIntroDialogTitle, FileDownloadStatusInformationProvider statusProvider, Runnable optFinishSwingTask) -
performDownload
public static boolean performDownload(String downloadURL, String opt_local_folder, BackgroundTaskStatusProviderSupportingExternalCallImpl status) -
performDirectoryListing
public static ArrayList<String> performDirectoryListing(String downloadURL, BackgroundTaskStatusProviderSupportingExternalCall status) -
performDownload
public static boolean performDownload(String downloadURL, String opt_local_folder, BackgroundTaskStatusProviderSupportingExternalCallImpl status, String targetfilename)
-