public final class BrowserView
extends Composite
Browser
instance. This widget can
be embedded into any SWT composite such as Shell
, Composite
, etc.Modifier and Type | Method and Description |
---|---|
Point |
computeSize(int wHint,
int hHint,
boolean changed) |
Browser |
getBrowser()
Returns the
Browser instance of the current view. |
static BrowserView |
newInstance(Composite parent,
Browser browser)
Creates a new
BrowserView instance that displays the given browser instance. |
void |
setBounds(int x,
int y,
int width,
int height) |
void |
setBounds(Rectangle rectangle) |
void |
setSize(int width,
int height) |
void |
setVisible(boolean aFlag) |
public static BrowserView newInstance(Composite parent, Browser browser)
BrowserView
instance that displays the given browser
instance.parent
- the parent container for the new BrowserView
instancebrowser
- Browser
instance that will be rendered in the current viewBrowserView
instancepublic Browser getBrowser()
Browser
instance of the current view.public Point computeSize(int wHint, int hHint, boolean changed)
public void setSize(int width, int height)
public void setBounds(int x, int y, int width, int height)
public void setBounds(Rectangle rectangle)
public void setVisible(boolean aFlag)