|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xj3d.ui.swt.widgets.LoadProgressListener
public class LoadProgressListener
An implementation of the URI progress listener for distributing load progress messages to registered loggers and reporters.
| Constructor Summary | |
|---|---|
LoadProgressListener(StatusReporter statusRep,
ErrorReporter errorRep)
Create a new listener that puts information regarding the load process into the status line and an error logger. |
|
| Method Summary | |
|---|---|
void |
connectionEstablished(org.ietf.uri.event.ProgressEvent evt)
A connection to the resource has been established. |
void |
downloadEnded(org.ietf.uri.event.ProgressEvent evt)
The download has ended. |
void |
downloadError(org.ietf.uri.event.ProgressEvent evt)
An error has occurred during the download. |
void |
downloadStarted(org.ietf.uri.event.ProgressEvent evt)
The download has started. |
void |
downloadUpdate(org.ietf.uri.event.ProgressEvent evt)
The download has updated its status. |
void |
handshakeInProgress(org.ietf.uri.event.ProgressEvent evt)
The header information reading and handshaking is taking place. |
void |
setStatusText(java.lang.String msg)
The default sink for status messages if no status reporter has been established at instantiation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoadProgressListener(StatusReporter statusRep,
ErrorReporter errorRep)
statusRep - - The reporter of current loading status. If null, the
status messages will be quietly dropped.errorRep - - The logger of loading status messages. If null, the logged
messages will be directed to the DefaultErrorReporter.| Method Detail |
|---|
public void connectionEstablished(org.ietf.uri.event.ProgressEvent evt)
connectionEstablished in interface org.ietf.uri.event.ProgressListenerevt - The event that caused this method to be called.public void handshakeInProgress(org.ietf.uri.event.ProgressEvent evt)
handshakeInProgress in interface org.ietf.uri.event.ProgressListenerevt - The event that caused this method to be called.public void downloadStarted(org.ietf.uri.event.ProgressEvent evt)
downloadStarted in interface org.ietf.uri.event.ProgressListenerevt - The event that caused this method to be called.public void downloadUpdate(org.ietf.uri.event.ProgressEvent evt)
downloadUpdate in interface org.ietf.uri.event.ProgressListenerevt - The event that caused this method to be called.public void downloadEnded(org.ietf.uri.event.ProgressEvent evt)
downloadEnded in interface org.ietf.uri.event.ProgressListenerevt - The event that caused this method to be called.public void downloadError(org.ietf.uri.event.ProgressEvent evt)
downloadError in interface org.ietf.uri.event.ProgressListenerevt - The event that caused this method to be called.public void setStatusText(java.lang.String msg)
setStatusText in interface StatusReportermsg - - The current status message
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||