Example usage for Java org.eclipse.swt.browser Browser fields, constructors, methods, implement or subclass
The text is from its open source code.
Browser(Composite parent, int style) Constructs a new instance of this class given its parent and a style value describing its behavior and appearance. |
void | addLocationListener(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. |
void | addProgressListener(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. |
void | dispose() Disposes of the operating system resources associated with the receiver and all its descendents. |
Object | evaluate(String script) Returns the result, if any, of executing the specified script. |
boolean | execute(String script) Execute the specified script. |
Object | getData(String key) Returns the application defined property of the receiver with the specified name, or null if it has not been set. |
Shell | getShell() Returns the receiver's shell. |
void | removeLocationListener(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. |
void | setBounds(int x, int y, int width, int height) Sets the receiver's size and location to the rectangular area specified by the arguments. |
void | setData(String key, Object value) |
void | setLayoutData(Object layoutData) Sets the layout data associated with the receiver to the argument. |
void | setSize(int width, int height) Sets the receiver's size to the point specified by the arguments. |
boolean | setText(String html) Renders HTML. |
boolean | setUrl(String url) Loads a URL. |