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 ComponentgetHelpTextComponent(String plainText, String title, String helpTopic)static JComponentgetWebsiteButton(String title, String url, String opt_local_folder, String optIntroText, String optIntroDialogTitle)static JComponentgetWebsiteDownloadButton(String title, String optUrlManualDownloadWebsite, String target_dir_null_ask_user, String optIntroText, String[] downloadURLs, String optIntroDialogTitle, FileDownloadStatusInformationProvider statusProvider)static JComponentgetWebsiteDownloadButton(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 booleanperformDownload(String downloadURL, String opt_local_folder, BackgroundTaskStatusProviderSupportingExternalCallImpl status)static booleanperformDownload(String downloadURL, String opt_local_folder, BackgroundTaskStatusProviderSupportingExternalCallImpl status, String targetfilename)static intshowMessageDialog(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)
-