public final class BrowserView
extends org.eclipse.swt.widgets.Composite
Browser
instance. This widget can
be embedded into any SWT composite such as Shell
, Composite
, etc.Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Point |
computeSize(int wHint,
int hHint,
boolean changed) |
Browser |
getBrowser()
Returns the
Browser instance of the current view. |
static BrowserView |
newInstance(org.eclipse.swt.widgets.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(org.eclipse.swt.graphics.Rectangle rectangle) |
void |
setSize(int width,
int height) |
void |
setVisible(boolean visible) |
changed, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setTextDirection, setToolTipText, setTouchEnabled, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
addDisposeListener, addListener, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, reskin, setData, setData, toString
public static BrowserView newInstance(org.eclipse.swt.widgets.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 org.eclipse.swt.graphics.Point computeSize(int wHint, int hHint, boolean changed)
computeSize
in class org.eclipse.swt.widgets.Composite
public void setSize(int width, int height)
setSize
in class org.eclipse.swt.widgets.Control
public void setBounds(int x, int y, int width, int height)
setBounds
in class org.eclipse.swt.widgets.Control
public void setBounds(org.eclipse.swt.graphics.Rectangle rectangle)
setBounds
in class org.eclipse.swt.widgets.Control
public void setVisible(boolean visible)
setVisible
in class org.eclipse.swt.widgets.Control