|
Homepage | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetx.jnlp.cache.DefaultDownloadIndicator
public class DefaultDownloadIndicator
Show the progress of downloads.
Nested Class Summary | |
---|---|
(package private) static class |
DefaultDownloadIndicator.DownloadPanel
Groups the url progress in a panel. |
(package private) static class |
DefaultDownloadIndicator.ProgressPanel
A progress bar with the URL next to it. |
Field Summary | |
---|---|
(package private) static java.awt.GridBagConstraints |
vertical
shared constraint |
(package private) static java.awt.GridBagConstraints |
verticalIndent
|
Constructor Summary | |
---|---|
DefaultDownloadIndicator()
|
Method Summary | |
---|---|
void |
disposeListener(javax.jnlp.DownloadServiceListener listener)
Remove a download service listener that was obtained by calling the getDownloadListener method from the shared download info window. |
int |
getInitialDelay()
Return the initial delay before obtaining a listener. |
javax.jnlp.DownloadServiceListener |
getListener(ApplicationInstance app,
java.lang.String downloadName,
java.net.URL[] resources)
Return a download service listener that displays the progress in a shared download info window. |
int |
getUpdateRate()
Return the update rate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static java.awt.GridBagConstraints vertical
static java.awt.GridBagConstraints verticalIndent
Constructor Detail |
---|
public DefaultDownloadIndicator()
Method Detail |
---|
public int getUpdateRate()
getUpdateRate
in interface DownloadIndicator
public int getInitialDelay()
getInitialDelay
in interface DownloadIndicator
public javax.jnlp.DownloadServiceListener getListener(ApplicationInstance app, java.lang.String downloadName, java.net.URL[] resources)
getListener
in interface DownloadIndicator
app
- the downloading application, or null if N/AdownloadName
- name identifying the download to the userresources
- initial urls to display (not required)public void disposeListener(javax.jnlp.DownloadServiceListener listener)
disposeListener
in interface DownloadIndicator
listener
- the listener that is no longer in use
|
Homepage | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |