Java org.eclipse.swt.browser Browser fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.swt.browser Browser fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.swt.browser Browser.

The text is from its open source code.

Constructor

Browser(Composite parent, int style)
Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.

Method

voidaddLocationListener(LocationListener listener)
Adds the listener to the collection of listeners who will be notified when the current location has changed or is about to change.
voidaddProgressListener(ProgressListener listener)
Adds the listener to the collection of listeners who will be notified when a progress is made during the loading of the current URL or when the loading of the current URL has been completed.
voiddispose()
Disposes of the operating system resources associated with the receiver and all its descendents.
Objectevaluate(String script)
Returns the result, if any, of executing the specified script.
booleanexecute(String script)
Execute the specified script.
ObjectgetData(String key)
Returns the application defined property of the receiver with the specified name, or null if it has not been set.
ShellgetShell()
Returns the receiver's shell.
voidremoveLocationListener(LocationListener listener)
Removes the listener from the collection of listeners who will be notified when the current location is changed or about to be changed.
voidsetBounds(int x, int y, int width, int height)
Sets the receiver's size and location to the rectangular area specified by the arguments.
voidsetData(String key, Object value)
voidsetLayoutData(Object layoutData)
Sets the layout data associated with the receiver to the argument.
voidsetSize(int width, int height)
Sets the receiver's size to the point specified by the arguments.
booleansetText(String html)
Renders HTML.
booleansetUrl(String url)
Loads a URL.