public class SystemBrowserAdapter extends Object implements IBrowser
| Constructor and Description |
|---|
SystemBrowserAdapter()
Adapter constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public SystemBrowserAdapter()
public void displayURL(String url)
IBrowserdisplayURL in interface IBrowserurl - the URL to display in the browserpublic boolean isCloseSupported()
IBrowserisCloseSupported in interface IBrowserpublic boolean isSetLocationSupported()
IBrowserisSetLocationSupported in interface IBrowserpublic boolean isSetSizeSupported()
IBrowserisSetSizeSupported in interface IBrowserpublic void setLocation(int x, int y)
IBrowsersetLocation in interface IBrowserx - horizontal coordinates of the left-top external cornery - vertical coordinates of the left-top external corner