1 21 24 package org.lobobrowser.html; 25 26 import java.net.URL ; 27 import org.w3c.dom.html2.*; 28 29 36 public interface HtmlRendererContext { 37 43 public void navigate(URL url, String target); 44 45 49 public HTMLCollection getFrames(); 50 51 60 public void submitForm(String method, URL action, String target, String enctype, FormInput[] formInputs); 61 62 65 public BrowserFrame createBrowserFrame(); 66 67 73 76 public UserAgentContext getUserAgentContext(); 77 78 88 public HtmlObject getHtmlObject(org.w3c.dom.html2.HTMLElement element); 89 90 92 96 public void alert(String message); 97 98 101 public void back(); 102 103 106 public void blur(); 107 108 112 public void close(); 113 114 119 public boolean confirm(String message); 120 121 124 public void focus(); 125 126 135 public HtmlRendererContext open(String absoluteUrl, String windowName, String windowFeatures, boolean replace); 136 137 145 public HtmlRendererContext open(java.net.URL url, String windowName, String windowFeatures, boolean replace); 146 147 153 public String prompt(String message, String inputDefault); 154 155 160 public void scroll(int x, int y); 161 162 165 public boolean isClosed(); 166 167 public String getDefaultStatus(); 168 public void setDefaultStatus(String value); 169 170 173 public String getName(); 174 175 178 public HtmlRendererContext getParent(); 179 180 183 public HtmlRendererContext getOpener(); 184 185 189 public void setOpener(HtmlRendererContext opener); 190 191 194 public String getStatus(); 195 196 200 public void setStatus(String message); 201 202 205 public HtmlRendererContext getTop(); 206 207 210 public boolean isVisitedLink(HTMLLinkElement link); 211 212 217 public boolean isMedia(String mediaName); 218 219 222 public void reload(); 223 } 224 | Popular Tags |