|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBrowser
Represents a web browser that can be used by clients to display documents for the given URLs.
| Method Summary | |
|---|---|
void |
close()
Closes the browser. |
void |
displayURL(String url)
Displays document with the given URL, and makes the browser visible. |
boolean |
isCloseSupported()
Queries the browser if close method is supported. |
boolean |
isSetLocationSupported()
Queries the browser if setLocation method is supported. |
boolean |
isSetSizeSupported()
Queries the browser if setSize method is supported. |
void |
setLocation(int x,
int y)
Causes the browser to be moved to the specified location. |
void |
setSize(int width,
int height)
Causes the browser to be resized to the specified size. |
| Method Detail |
|---|
void close()
boolean isCloseSupported()
void displayURL(String url)
throws Exception
url - the URL to display in the browser
Exceptionboolean isSetLocationSupported()
boolean isSetSizeSupported()
void setLocation(int x,
int y)
x - horizontal coordinates of the left-top external cornery - vertical coordinates of the left-top external corner
void setSize(int width,
int height)
width - width in pixelsheight - height in pixels external corner
|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.