|
JDIC API V0.9 Release 4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebBrowserListener
The listener interface for receiving WebBrowser events. The class that is
interested in processing a WebBrowser event implements this interface or
inherits the WebBrowserAdapter
abstract class.
The object created with that class is registered with a
WebBrowser
component, using the addWebBrowserListener
method. When the WebBrowser event occurs, that object's corresponding method
is invoked.
WebBrowserEvent
,
WebBrowser
Method Summary | |
---|---|
void |
documentCompleted(WebBrowserEvent event)
Invoked when the document loading has been completed. |
void |
downloadCompleted(WebBrowserEvent event)
Invoked when a download operation finishes, is halted, or fails. |
void |
downloadError(WebBrowserEvent event)
Invoked when an error occurs during a download operation. |
void |
downloadProgress(WebBrowserEvent event)
Invoked when the progress of a download operation is updated. |
void |
downloadStarted(WebBrowserEvent event)
Invoked when a download operation is beginning. |
void |
statusTextChange(WebBrowserEvent event)
Invoked when the status bar text is changed. |
void |
titleChange(WebBrowserEvent event)
Invoked when the title of a document is changed. |
void |
windowClose(WebBrowserEvent event)
Invoked in response to JavaScript window.close() |
Method Detail |
---|
void downloadStarted(WebBrowserEvent event)
event
- the WebBrowserEvent fired.void downloadCompleted(WebBrowserEvent event)
event
- the WebBrowserEvent fired.void downloadProgress(WebBrowserEvent event)
event
- the WebBrowserEvent fired.void downloadError(WebBrowserEvent event)
event
- the WebBrowserEvent fired.void documentCompleted(WebBrowserEvent event)
event
- the WebBrowserEvent fired.void titleChange(WebBrowserEvent event)
event
- the WebBrowserEvent fired.void statusTextChange(WebBrowserEvent event)
event
- the WebBrowserEvent fired.void windowClose(WebBrowserEvent event)
event
-
|
JDIC API V0.9 Release 4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, working code examples, license terms and bug report information.
Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.