public class ProgressBarTransferListener extends java.lang.Object implements FileTransferListener
| Constructor and Description |
|---|
ProgressBarTransferListener(java.lang.String messagePrefix,
java.awt.Window window) |
| Modifier and Type | Method and Description |
|---|---|
double |
getLaunchDelay()
Returns the time in seconds that we should wait before launching the
progress panel.
|
double |
getLaunchThreshold()
Returns the ETA in seconds required to launch the progress panel.
|
void |
setLaunchDelay(double delay)
Sets the time in seconds that we should wait before launching the
progress panel.
|
void |
setLaunchThreshold(double eta)
Sets the ETA in seconds required to launch the progress panel.
|
void |
transferCompleted(FileTransferEvent event)
Called when the file transfer is done.
|
void |
transferStarted(FileTransferEvent event)
Called when the file transfer begins.
|
void |
transferUpdated(FileTransferEvent event)
Called while the file transfer is in progress.
|
public ProgressBarTransferListener(java.lang.String messagePrefix,
java.awt.Window window)
public double getLaunchDelay()
public void setLaunchDelay(double delay)
public double getLaunchThreshold()
public void setLaunchThreshold(double eta)
public void transferUpdated(FileTransferEvent event)
transferUpdated in interface FileTransferListenerpublic void transferStarted(FileTransferEvent event)
transferStarted in interface FileTransferListenerpublic void transferCompleted(FileTransferEvent event)
transferCompleted in interface FileTransferListener