org.lobobrowser.gui
Interface WindowCallback

All Known Implementing Classes:
BrowserPanel, NavigatorWindowImpl

public interface WindowCallback

A interface that receives calls during requests.


Method Summary
 java.awt.Component getComponent()
          Gets a component that may be used as a parent of prompt dialogs during requests.
 java.lang.String getDefaultStatus()
          Gets the current default status message or null if there's no default.
 java.lang.String getStatus()
          Gets the current window status message.
 void handleDocumentAccess(NavigatorFrame frame, ClientletResponse response)
          Called when a document has been accessed, but has not yet rendered.
 void handleDocumentRendering(NavigatorFrame frame, ClientletResponse response, ComponentContent content)
          Called when the document has either rendered or is beginning to be incrementally rendered.
 void handleError(NavigatorFrame frame, ClientletResponse response, java.lang.Throwable exception)
          Invoked when there's a request error.
 void setDefaultStatus(NavigatorFrame frame, java.lang.String defaultStatus)
          Called to set a default status message.
 void setStatus(NavigatorFrame frame, java.lang.String status)
          Called to set a status message.
 void updateProgress(NavigatorProgressEvent event)
          Updates request progress.
 

Method Detail

getComponent

java.awt.Component getComponent()
Gets a component that may be used as a parent of prompt dialogs during requests.


handleDocumentAccess

void handleDocumentAccess(NavigatorFrame frame,
                          ClientletResponse response)
Called when a document has been accessed, but has not yet rendered. Processing could be cancelled.


handleDocumentRendering

void handleDocumentRendering(NavigatorFrame frame,
                             ClientletResponse response,
                             ComponentContent content)
Called when the document has either rendered or is beginning to be incrementally rendered.


updateProgress

void updateProgress(NavigatorProgressEvent event)
Updates request progress.


handleError

void handleError(NavigatorFrame frame,
                 ClientletResponse response,
                 java.lang.Throwable exception)
Invoked when there's a request error.


setStatus

void setStatus(NavigatorFrame frame,
               java.lang.String status)
Called to set a status message.


setDefaultStatus

void setDefaultStatus(NavigatorFrame frame,
                      java.lang.String defaultStatus)
Called to set a default status message.


getStatus

java.lang.String getStatus()
Gets the current window status message.


getDefaultStatus

java.lang.String getDefaultStatus()
Gets the current default status message or null if there's no default.



SourceForge.net LogoCopyright © 2005, 2006, 2007 The Lobo Project. All Rights Reserved.
[Lobo Home]