cz.polous.andaria
Class Browser.LocalHtmlRendererContext

java.lang.Object
  extended by org.lobobrowser.html.test.SimpleHtmlRendererContext
      extended by cz.polous.andaria.Browser.LocalHtmlRendererContext
All Implemented Interfaces:
org.lobobrowser.html.HtmlRendererContext
Enclosing class:
Browser

private static class Browser.LocalHtmlRendererContext
extends org.lobobrowser.html.test.SimpleHtmlRendererContext


Field Summary
(package private)  org.lobobrowser.html.gui.HtmlPanel htmlPanel
           
 
Fields inherited from class org.lobobrowser.html.test.SimpleHtmlRendererContext
currentConnection
 
Constructor Summary
Browser.LocalHtmlRendererContext(org.lobobrowser.html.gui.HtmlPanel contextComponent)
           
 
Method Summary
protected  java.lang.String getDocumentCharset(java.net.URLConnection connection)
           
protected  void submitFormSync(java.lang.String method, java.net.URL action, java.lang.String target, java.lang.String enctype, org.lobobrowser.html.FormInput[] formInputs)
          Submits a form and/or navigates by making a synchronous request.
 
Methods inherited from class org.lobobrowser.html.test.SimpleHtmlRendererContext
alert, back, blur, close, confirm, createBrowserFrame, createDocument, error, error, focus, forward, getCurrentURL, getDefaultStatus, getFrames, getHistoryLength, getHtmlObject, getHtmlPanel, getName, getNextURL, getOpener, getParent, getPreviousURL, getProxy, getSourceCode, getStatus, getTop, getUserAgentContext, goToHistoryURL, isClosed, isImageLoadingEnabled, isNavigationAsynchronous, isVisitedLink, linkClicked, moveInHistory, navigate, navigate, onContextMenu, onDoubleClick, onMouseClick, onMouseOut, onMouseOver, open, open, prompt, reload, resizeBy, resizeTo, scroll, scrollBy, setDefaultStatus, setOpener, setStatus, submitForm, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

htmlPanel

org.lobobrowser.html.gui.HtmlPanel htmlPanel
Constructor Detail

Browser.LocalHtmlRendererContext

public Browser.LocalHtmlRendererContext(org.lobobrowser.html.gui.HtmlPanel contextComponent)
Method Detail

getDocumentCharset

protected java.lang.String getDocumentCharset(java.net.URLConnection connection)
Overrides:
getDocumentCharset in class org.lobobrowser.html.test.SimpleHtmlRendererContext

submitFormSync

protected void submitFormSync(java.lang.String method,
                              java.net.URL action,
                              java.lang.String target,
                              java.lang.String enctype,
                              org.lobobrowser.html.FormInput[] formInputs)
                       throws java.io.IOException,
                              org.xml.sax.SAXException
Submits a form and/or navigates by making a synchronous request. This method is invoked by SimpleHtmlRendererContext.submitForm(String, URL, String, String, FormInput[]).

Overrides:
submitFormSync in class org.lobobrowser.html.test.SimpleHtmlRendererContext
Parameters:
method - The request method.
action - The action URL.
target - The target identifier.
enctype - The encoding type.
formInputs - The form inputs.
Throws:
java.io.IOException
org.xml.sax.SAXException
See Also:
SimpleHtmlRendererContext.submitForm(String, URL, String, String, FormInput[])