|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jniwrapper.win32.ie.FrameBrowserSupport
public class FrameBrowserSupport
This class represents a frame browser object.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.jniwrapper.win32.ie.WebBrowser |
---|
WebBrowser.Properties |
Constructor Summary | |
---|---|
FrameBrowserSupport(com.jniwrapper.win32.shdocvw.IWebBrowser2 browser,
WebBrowser parent)
Create frame browser wrapper. |
Method Summary | |
---|---|
void |
addBrowserWindowListener(BrowserWindowListener listener)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
addDisposeListener(DisposeListener listener)
This methd always throw UnsupportedOperationException
error because the FrameImpl implementation doesn't
support this functionality yet. |
void |
addNavigationListener(NavigationEventListener l)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
addNewWindowListener(NewWindowEventListener listener)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
addStatusListener(StatusEventListener l)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
close()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
execute(BrowserCommand command)
Executes the specified WebBrowser command. |
java.lang.Object |
executeScript(java.lang.String javaScript)
Executes specified JavaScript code in a currently opened document. |
AuthenticationHandler |
getAuthenticationHandler()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
java.lang.Object |
getBrowserPeer()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
java.lang.String |
getContent()
Returns the string that represents HTML content of a currently loaded document in WebBrowser. |
java.lang.String |
getContent(boolean original)
Returns the string that represents HTML content of a currently loaded document in WebBrowser. |
java.util.Set<Cookie> |
getCookies(java.lang.String url)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
java.util.Set<Cookie> |
getCookies(java.net.URL url)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
DialogEventHandler |
getDialogEventHandler()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
DisposeListener[] |
getDisposeListeners()
This methd always throw UnsupportedOperationException
error because the FrameImpl implementation doesn't
support this functionality yet. |
org.w3c.dom.html.HTMLDocument |
getDocument()
Returns an instance of HTMLDocument that
represents the HTML document currently loaded into
the WebBrowser and provides access to the contents of
the HTML Document Object Model (DOM). |
WebBrowserEventsHandler |
getEventHandler()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
HttpSecurityHandler |
getHttpSecurityHandler()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
KeyFilter |
getKeyFilter()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
java.lang.String |
getLocationURL()
Returns the string that represents a URL of the resource that WebBrowser component is currently displayed. |
java.util.List<NavigationEventListener> |
getNavigationListeners()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
NewWindowEventHandler |
getNewWindowHandler()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
java.util.List<NewWindowEventListener> |
getNewWindowListeners()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
com.jniwrapper.win32.automation.OleMessageLoop |
getOleMessageLoop()
Returns the OleMessageLoop thread in which executes all WebBrowser component operations. |
WebBrowser |
getParentBrowser()
Returns the parent of the current WebBrowser instance or null if it hasn't parent. |
WebBrowser.Properties |
getProperties()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
ProxyConfiguration |
getProxy()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
ReadyState |
getReadyState()
Returns the current ReadyState of the WebBrowser Control. |
WebBrowser |
getRecentChild()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
ScriptErrorListener |
getScriptErrorListener()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
java.util.List<StatusEventListener> |
getStatusListeners()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
int |
getZoomValue()
|
void |
goBack()
Navigates backward one item in the history list. |
void |
goForward()
Navigates forward one item in the history list. |
void |
goHome()
Navigates to the current home or start page. |
boolean |
isClosed()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
boolean |
isSilent()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
navigate(java.lang.String location)
Navigates to a resource identified by a URL or to a file identified by a full path. |
void |
navigate(java.lang.String location,
java.lang.String postData)
Navigates to a web resource specified by a HTTP URL with HTTP post data. |
void |
navigate(java.lang.String location,
java.lang.String targetName,
java.lang.String postData)
Navigates to an entire web resource specified by a HTTP URL with HTTP post data into a specified window defined by targetName. |
void |
navigate(java.lang.String location,
java.lang.String targetName,
java.lang.String postData,
java.lang.String headers)
Navigates to an entire web resource specified by a HTTP URL with HTTP post data into a specified window defined by targetName. |
void |
refresh()
Reloads the file that is currently displayed in the object. |
void |
removeBrowserWindowListener(BrowserWindowListener listener)
Removes window listener. |
void |
removeDisposeListener(DisposeListener listener)
This methd always throw UnsupportedOperationException
error because the FrameImpl implementation doesn't
support this functionality yet. |
void |
removeNavigationListener(NavigationEventListener l)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
removeNewWindowListener(NewWindowEventListener listener)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
removeStatusListener(StatusEventListener l)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
setAuthenticationHandler(AuthenticationHandler handler)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
setContent(java.lang.String htmlContent)
Sets the specified HTML content to the current WebBrowser document. |
void |
setCookie(java.lang.String url,
Cookie cookie)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
setCookies(java.net.URL url,
java.util.Set<Cookie> cookies)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
setDialogEventHandler(DialogEventHandler handler)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
setEventHandler(WebBrowserEventsHandler handler)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
setHttpSecurityHandler(HttpSecurityHandler h)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
setKeyFilter(KeyFilter keyFilter)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
setNewWindowHandler(NewWindowEventHandler newWindowHandler)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
setParentBrowser(WebBrowser webBrowser)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
setProxy(ProxyConfiguration conf)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
setScriptErrorListener(ScriptErrorListener listener)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
setSilent(boolean isSilent)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
setZoomValue(int value)
|
void |
stop()
Cancels any pending navigation or download operation and stops any dynamic page elements, such as background sounds and animations. |
void |
trackChildren()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
WebBrowser |
waitChildCreation()
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
WebBrowser |
waitChildCreation(java.lang.Runnable operationThatCreatesChild)
This methd always throw UnsupportedOperationException
error because the FrameBrowserSupport implementation doesn't
support this functionality yet. |
void |
waitReady()
Causes a current thread to wait for the completion of the current operation in the browser. |
void |
waitReady(long timeout)
Causes a current thread to wait for the completion of a current operation in the browser for a specified amount of milliseconds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FrameBrowserSupport(com.jniwrapper.win32.shdocvw.IWebBrowser2 browser, WebBrowser parent)
browser
- interface reference to Internet Explorer COM objectparent
- parent browserMethod Detail |
---|
public void navigate(java.lang.String location)
navigate
in interface WebBrowser
location
- the URL of the resource to display or
the full path to the file location. The
parameter cannot be null
.
java.lang.IllegalArgumentException
- when location parameter is null.
java.lang.IllegalStateException
- when WebBrowser component was
disposed by invoking WebBrowser.close()
method or for some unknown reasons.navigate(String, String)
,
navigate(String, String, String)
,
NavigationEventListener.entireDocumentCompleted(WebBrowser, String)
public void navigate(java.lang.String location, java.lang.String postData)
navigate
in interface WebBrowser
location
- the URL of the resource to display or
the full path to the file location. The
parameter cannot be null
.postData
- HTTP post data (for example, "name=Alex&product=Pizza"),
can be null
.
java.lang.IllegalArgumentException
- when location parameter is null.
java.lang.IllegalStateException
- when WebBrowser component was
disposed by invoking WebBrowser.close()
method or for some unknown reasons.navigate(String)
,
navigate(String, String, String)
,
NavigationEventListener.entireDocumentCompleted(WebBrowser, String)
public void navigate(java.lang.String location, java.lang.String targetName, java.lang.String postData)
navigate
in interface WebBrowser
location
- the URL of the resource to display or
the full path to the file location. The
parameter cannot be null
.targetName
- The string that contains the name of the
frame in which to display the resource.
The possible values for this parameter are.
postData
- HTTP post data (for example, "name=Alex&product=Pizza").
java.lang.IllegalStateException
- when WebBrowser component was
disposed by invoking WebBrowser.close()
method or for some unknown reasons.navigate(String)
,
navigate(String, String)
,
NavigationEventListener.entireDocumentCompleted(WebBrowser, String)
public void navigate(java.lang.String location, java.lang.String targetName, java.lang.String postData, java.lang.String headers)
WebBrowser
navigate
in interface WebBrowser
location
- the URL of the resource to display or
the full path to the file location. The
parameter cannot be null
.targetName
- The string that contains the name of the
frame in which to display the resource.
The possible values for this parameter are.
postData
- HTTP post data (for example, "name=Alex&product=Pizza").headers
- The string that contains additional HTTP headers to send
to the server. These headers are added to the default
Windows Internet Explorer headers. For example, headers
can specify the action required of the server, the type
of data being passed to the server, or a status code.
This parameter is ignored if the URL is not an HTTP
(or HTTPS) URL.WebBrowser.navigate(String)
,
WebBrowser.navigate(String, String)
,
NavigationEventListener.entireDocumentCompleted(WebBrowser, String)
public java.lang.String getLocationURL()
getLocationURL
in interface WebBrowser
java.lang.IllegalStateException
- when WebBrowser component was
disposed by invoking WebBrowser.close()
method or for some unknown reasons.NavigationEventListener.entireDocumentCompleted(WebBrowser, String)
public org.w3c.dom.html.HTMLDocument getDocument()
HTMLDocument
that
represents the HTML document currently loaded into
the WebBrowser and provides access to the contents of
the HTML Document Object Model (DOM).
Before receiving an instance of HTMLDocument
make sure that the entire document is loaded completely.
For this you can use the
NavigationEventListener.entireDocumentCompleted(WebBrowser, String)
event.
getDocument
in interface WebBrowser
java.lang.IllegalStateException
- when WebBrowser.waitReady()
method isn't called after last call of
WebBrowser.navigate()
or
WebBrowser.setContent()
methods;
or when WebBrowser component was
disposed by invoking WebBrowser.close()
method or for some unknown reasons.WebBrowser.waitReady()
,
WebBrowser.navigate(String)
,
WebBrowser.setContent(String)
,
NavigationEventListener.entireDocumentCompleted(WebBrowser, String)
public WebBrowser getParentBrowser()
WebBrowser
null
if it hasn't parent. If the WebBrowser
control is in a frame, this method returns the WebBrowser
instance of the main document that contains this frame.
Otherwise, it delegates to the top-level WebBrowser control,
if there is one.
getParentBrowser
in interface WebBrowser
null
if the browser hasn't parent.Browser.getParentBrowser()
,
HeadlessBrowser.getParentBrowser()
,
IEAutomation.getParentBrowser()
public void setParentBrowser(WebBrowser webBrowser)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
setParentBrowser
in interface WebBrowser
webBrowser
- the parent of the browser.
java.lang.UnsupportedOperationException
- alwayspublic void goForward()
StatusEventListener.forwardButtonEnabled
event to check the enabled state of forward navigation.
To manage WebBrowser's history use the BrowserHistory
class.
goForward
in interface WebBrowser
java.lang.IllegalStateException
- when WebBrowser component was
disposed by invoking WebBrowser.close()
method or for some unknown reasons.WebBrowser.goBack()
,
WebBrowser.goHome()
,
BrowserHistory
public void goBack()
StatusEventListener.backButtonEnabled
event to check the enabled state of back navigation.
To manage WebBrowser's history use the BrowserHistory
class.
goBack
in interface WebBrowser
java.lang.IllegalStateException
- when WebBrowser component was
disposed by invoking WebBrowser.close()
method or for some unknown reasons.WebBrowser.goForward()
,
WebBrowser.goHome()
,
BrowserHistory
public void goHome()
goHome
in interface WebBrowser
java.lang.IllegalStateException
- when WebBrowser component was
disposed by invoking WebBrowser.close()
method or for some unknown reasons.WebBrowser.goForward()
,
WebBrowser.goBack()
public void stop()
stop
in interface WebBrowser
java.lang.IllegalStateException
- when WebBrowser component was
disposed by invoking WebBrowser.close()
method or for some unknown reasons.refresh()
,
navigate(String)
,
NavigationEventListener.entireDocumentCompleted(WebBrowser, String)
public void refresh()
WebBrowser
refresh
in interface WebBrowser
public void execute(BrowserCommand command)
WebBrowser
BrowserCommand
abstract class.
For example, to print currently loaded web page, the following
command should be executed:
WebBrowser browser = new HeadlessBrowser();
browser.execute(new PrintCommand());
execute
in interface WebBrowser
command
- the specified WebBrowser command.PrintCommand
,
PrintPreviewCommand
,
SaveAsCommand
public void setContent(java.lang.String htmlContent)
WebBrowser
NavigationEventListener.entireDocumentCompleted
event.
It may be necessary when the document contains some resources
(such as images or JavaScript files) that require some time to
download.
setContent
in interface WebBrowser
htmlContent
- a string that represents HTML content
to set to the current document.WebBrowser.navigate(String)
,
WebBrowser.navigate(String, String)
,
WebBrowser.navigate(String, String, String)
,
WebBrowser.getContent()
,
WebBrowser.getContent(boolean)
,
NavigationEventListener.entireDocumentCompleted(WebBrowser, String)
public java.lang.String getContent()
WebBrowser
NavigationEventListener.entireDocumentCompleted
event.
Note: the outerHTML propertry of the document HTML element
is used in this method. So, it always returns the actual HTML of
the document. To get the HTML that was downloaded from the server
use the getContent(true)
method.
getContent
in interface WebBrowser
WebBrowser.setContent(String)
,
WebBrowser.getContent(boolean)
,
NavigationEventListener.entireDocumentCompleted(WebBrowser, String)
public java.lang.String getContent(boolean original)
WebBrowser
NavigationEventListener.entireDocumentCompleted
event.
getContent
in interface WebBrowser
original
- if true
then returns the original
HTML content (like View Source command in context
menu of Internet Explorer browser), otherwise this method
returns the actual content of a document according to its DOM.
WebBrowser.getContent()
,
WebBrowser.setContent(String)
,
NavigationEventListener.entireDocumentCompleted(WebBrowser, String)
public java.lang.Object executeScript(java.lang.String javaScript)
WebBrowser
IHTMLWindow2.execScript
method
can access all global variables available to the calling script.
executeScript
in interface WebBrowser
javaScript
- the string that specifies the code to be executed.
public ReadyState getReadyState()
WebBrowser
ReadyState
of the WebBrowser Control.
getReadyState
in interface WebBrowser
public void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
addPropertyChangeListener
in interface WebBrowser
propertyName
- property name.listener
- listener instance.
java.lang.UnsupportedOperationException
- alwayspublic void removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
removePropertyChangeListener
in interface WebBrowser
propertyName
- property name.listener
- listener instance.
java.lang.UnsupportedOperationException
- alwayspublic void waitReady()
WebBrowser
Important: successful call of this method guaranties that you
can get DOM document of loaded page.
Please see typical usage of this method in the code below:
// navigate to Google page
browser.navigate("google.com");
// wait until page completely loaded
browser.waitReady();
// DOM document is available
Document document = browser.getDocument();
WebBrowser.waitReady()
call after navigation call
then IllegalStateException is thrown in WebBrowser.getDocument()
call.
waitReady
in interface WebBrowser
WebBrowser.navigate(String)
,
WebBrowser.setContent(String)
,
WebBrowser.getDocument()
public void waitReady(long timeout)
WebBrowser
waitReady
in interface WebBrowser
timeout
- the number of milliseconds to wait.public java.lang.Object getBrowserPeer()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getBrowserPeer
in interface WebBrowser
java.lang.UnsupportedOperationException
- alwayspublic void addNavigationListener(NavigationEventListener l)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
addNavigationListener
in interface WebBrowser
l
- browser event listener.
java.lang.UnsupportedOperationException
- alwayspublic void removeNavigationListener(NavigationEventListener l)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
removeNavigationListener
in interface WebBrowser
l
- browser event listener.
java.lang.UnsupportedOperationException
- alwayspublic void addStatusListener(StatusEventListener l)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
addStatusListener
in interface WebBrowser
l
- browser event listener.
java.lang.UnsupportedOperationException
- alwayspublic void removeStatusListener(StatusEventListener l)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
removeStatusListener
in interface WebBrowser
l
- browser event listener.
java.lang.UnsupportedOperationException
- alwayspublic java.util.List<NavigationEventListener> getNavigationListeners()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getNavigationListeners
in interface WebBrowser
java.lang.UnsupportedOperationException
- alwayspublic java.util.List<StatusEventListener> getStatusListeners()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getStatusListeners
in interface WebBrowser
java.lang.UnsupportedOperationException
- alwayspublic WebBrowserEventsHandler getEventHandler()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getEventHandler
in interface WebBrowser
java.lang.UnsupportedOperationException
- alwayspublic void setAuthenticationHandler(AuthenticationHandler handler)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
setAuthenticationHandler
in interface WebBrowser
handler
- the authentication handler
java.lang.UnsupportedOperationException
- alwaysWebBrowser.getAuthenticationHandler()
public AuthenticationHandler getAuthenticationHandler()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getAuthenticationHandler
in interface WebBrowser
null
.
java.lang.UnsupportedOperationException
- alwaysWebBrowser.setAuthenticationHandler(AuthenticationHandler)
public void setEventHandler(WebBrowserEventsHandler handler)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
setEventHandler
in interface WebBrowser
handler
- event handler
java.lang.UnsupportedOperationException
- alwayspublic DialogEventHandler getDialogEventHandler()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getDialogEventHandler
in interface WebBrowser
null
if it's
was not specified.
java.lang.UnsupportedOperationException
- alwaysWebBrowser.setDialogEventHandler(DialogEventHandler)
,
WebBrowser.setSilent(boolean)
,
WebBrowser.isSilent()
,
Browser.getDialogEventHandler()
,
HeadlessBrowser.getDialogEventHandler()
public void setDialogEventHandler(DialogEventHandler handler)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
setDialogEventHandler
in interface WebBrowser
handler
- dialog event handler
java.lang.UnsupportedOperationException
- alwaysWebBrowser.getDialogEventHandler()
,
WebBrowser.setSilent(boolean)
,
WebBrowser.isSilent()
,
Browser.setDialogEventHandler(com.jniwrapper.win32.ie.event.DialogEventHandler)
,
HeadlessBrowser.setDialogEventHandler(com.jniwrapper.win32.ie.event.DialogEventHandler)
public void setScriptErrorListener(ScriptErrorListener listener)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
setScriptErrorListener
in interface WebBrowser
listener
- javascript error listener
java.lang.UnsupportedOperationException
- alwayspublic ScriptErrorListener getScriptErrorListener()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getScriptErrorListener
in interface WebBrowser
java.lang.UnsupportedOperationException
- alwayspublic void close()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
close
in interface WebBrowser
java.lang.UnsupportedOperationException
- alwaysWebBrowser.isClosed()
public boolean isClosed()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
isClosed
in interface WebBrowser
true
if the WebBrowser instance is closed and disposed.
java.lang.UnsupportedOperationException
- alwaysWebBrowser.close()
public void setSilent(boolean isSilent)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
setSilent
in interface WebBrowser
isSilent
- if true then enter to silent mode else leave silent mode.
java.lang.UnsupportedOperationException
- alwayspublic boolean isSilent()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
isSilent
in interface WebBrowser
java.lang.UnsupportedOperationException
- alwayspublic void setCookie(java.lang.String url, Cookie cookie)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
setCookie
in interface WebBrowser
url
- specifies an URL, a new cookie will be associated with.cookie
- specifies a new cookie.
java.lang.UnsupportedOperationException
- alwayspublic java.util.Set<Cookie> getCookies(java.lang.String url)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getCookies
in interface WebBrowser
url
- specifies an URL.
java.lang.UnsupportedOperationException
- alwayspublic void setNewWindowHandler(NewWindowEventHandler newWindowHandler)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
setNewWindowHandler
in interface WebBrowser
newWindowHandler
- new window handler
java.lang.UnsupportedOperationException
- alwayspublic NewWindowEventHandler getNewWindowHandler()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getNewWindowHandler
in interface WebBrowser
java.lang.UnsupportedOperationException
- alwayspublic void addNewWindowListener(NewWindowEventListener listener)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
addNewWindowListener
in interface WebBrowser
listener
- new window listener
java.lang.UnsupportedOperationException
- alwayspublic void removeNewWindowListener(NewWindowEventListener listener)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
removeNewWindowListener
in interface WebBrowser
listener
- new window listener
java.lang.UnsupportedOperationException
- alwayspublic java.util.List<NewWindowEventListener> getNewWindowListeners()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getNewWindowListeners
in interface WebBrowser
java.lang.UnsupportedOperationException
- alwayspublic void trackChildren()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
trackChildren
in interface ParentWindow
java.lang.UnsupportedOperationException
- alwayspublic WebBrowser getRecentChild()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getRecentChild
in interface ParentWindow
trackChildren()
method call.
If there isn't opened windows after this call then returns null.
java.lang.UnsupportedOperationException
- alwayspublic WebBrowser waitChildCreation()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
waitChildCreation
in interface ParentWindow
java.lang.UnsupportedOperationException
- alwayspublic WebBrowser waitChildCreation(java.lang.Runnable operationThatCreatesChild)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
waitChildCreation
in interface ParentWindow
operationThatCreatesChild
- operation
java.lang.UnsupportedOperationException
- alwayspublic void setKeyFilter(KeyFilter keyFilter)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
setKeyFilter
in interface WebBrowser
keyFilter
- key filter
java.lang.UnsupportedOperationException
- alwayspublic KeyFilter getKeyFilter()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getKeyFilter
in interface WebBrowser
java.lang.UnsupportedOperationException
- alwayspublic WebBrowser.Properties getProperties()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getProperties
in interface WebBrowser
java.lang.UnsupportedOperationException
- alwayspublic void addBrowserWindowListener(BrowserWindowListener listener)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
addBrowserWindowListener
in interface WebBrowser
listener
- the window listener
java.lang.UnsupportedOperationException
- alwayspublic void removeBrowserWindowListener(BrowserWindowListener listener)
WebBrowser
removeBrowserWindowListener
in interface WebBrowser
listener
- the window listenerpublic com.jniwrapper.win32.automation.OleMessageLoop getOleMessageLoop()
WebBrowser
getOleMessageLoop
in interface WebBrowser
public void setProxy(ProxyConfiguration conf)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
setProxy
in interface WebBrowser
conf
- the proxy settings. This parameter cannot be
null
.
java.lang.UnsupportedOperationException
- alwaysWebBrowser.getProxy()
,
Browsers.setProxy(ProxyConfiguration)
public ProxyConfiguration getProxy()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getProxy
in interface WebBrowser
java.lang.UnsupportedOperationException
- alwaysWebBrowser.setProxy(ProxyConfiguration)
,
Browsers.getProxy()
public java.util.Set<Cookie> getCookies(java.net.URL url)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getCookies
in interface WebBrowser
url
- specifies an URL.
java.lang.UnsupportedOperationException
- alwayspublic void setCookies(java.net.URL url, java.util.Set<Cookie> cookies)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
setCookies
in interface WebBrowser
url
- specifies an URL, a new cookie will be associated with.cookies
- the collection of Cookie
objects.
java.lang.UnsupportedOperationException
- alwayspublic void setHttpSecurityHandler(HttpSecurityHandler h)
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
setHttpSecurityHandler
in interface WebBrowser
h
- the specified HTTP security handler.
java.lang.UnsupportedOperationException
- alwaysWebBrowser.getHttpSecurityHandler()
public HttpSecurityHandler getHttpSecurityHandler()
UnsupportedOperationException
error because the FrameBrowserSupport
implementation doesn't
support this functionality yet.
getHttpSecurityHandler
in interface WebBrowser
null
if it's not present
java.lang.UnsupportedOperationException
- alwaysWebBrowser.setHttpSecurityHandler(com.jniwrapper.win32.ie.event.HttpSecurityHandler)
public void addDisposeListener(DisposeListener listener)
UnsupportedOperationException
error because the FrameImpl
implementation doesn't
support this functionality yet.
addDisposeListener
in interface WebBrowser
listener
- the listener to receive browser dispose events.
java.lang.UnsupportedOperationException
- alwayspublic void removeDisposeListener(DisposeListener listener)
UnsupportedOperationException
error because the FrameImpl
implementation doesn't
support this functionality yet.
removeDisposeListener
in interface WebBrowser
listener
- the listener to remove.
java.lang.UnsupportedOperationException
- alwayspublic DisposeListener[] getDisposeListeners()
UnsupportedOperationException
error because the FrameImpl
implementation doesn't
support this functionality yet.
getDisposeListeners
in interface WebBrowser
java.lang.UnsupportedOperationException
- alwayspublic int getZoomValue()
getZoomValue
in interface WebBrowser
public void setZoomValue(int value)
setZoomValue
in interface WebBrowser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |