public class DownloadListChangedEvent extends EventObject
| Modifier and Type | Class and Description |
|---|---|
static class |
DownloadListChangedEvent.Action
An enumeration representing the action of a download.
|
source| Constructor and Description |
|---|
DownloadListChangedEvent(Object source,
Collection<Download> downloads,
DownloadListChangedEvent.Action action)
Creates a new DownloadListChangedEvent object.
|
DownloadListChangedEvent(Object source,
Download download,
DownloadListChangedEvent.Action action)
Creates a new DownloadListChangedEvent object.
|
| Modifier and Type | Method and Description |
|---|---|
DownloadListChangedEvent.Action |
getAction()
Returns the change action.
|
Collection<Download> |
getDownloads()
Returns the changed downloads.
|
getSource, toStringpublic DownloadListChangedEvent(Object source, Download download, DownloadListChangedEvent.Action action)
source - The source object.download - The download.action - The change action.public DownloadListChangedEvent(Object source, Collection<Download> downloads, DownloadListChangedEvent.Action action)
source - The source object.downloads - The changed downloads.action - The change aciton.public Collection<Download> getDownloads()
public DownloadListChangedEvent.Action getAction()
Copyright © 2012–2026 cismet GmbH. All rights reserved.