@Environment(value=CLIENT) class FileDownload.ProgressListener extends Object implements ActionListener
Modifier and Type | Field and Description |
---|---|
private RealmsDownloadLatestWorldScreen.DownloadStatus |
downloadStatus |
private LevelStorage |
levelStorageSource |
private File |
tempFile |
private String |
worldName |
Modifier | Constructor and Description |
---|---|
private |
ProgressListener(String worldName,
File tempFile,
LevelStorage storage,
RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
private final String worldName
private final File tempFile
private final LevelStorage levelStorageSource
private final RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus
private ProgressListener(String worldName, File tempFile, LevelStorage storage, RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus)
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener