org.gudy.azureus2.ui.swt
Class BrowserWrapper

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.BrowserWrapper
Direct Known Subclasses:
BrowserWrapperFake, BrowserWrapperSWT

public abstract class BrowserWrapper
extends Object


Nested Class Summary
static class BrowserWrapper.BrowserFunction
           
 
Constructor Summary
protected BrowserWrapper()
           
 
Method Summary
abstract  BrowserWrapper.BrowserFunction addBrowserFunction(String name, BrowserWrapper.BrowserFunction bf)
           
abstract  void addCloseWindowListener(org.eclipse.swt.browser.CloseWindowListener l)
           
abstract  void addDisposeListener(org.eclipse.swt.events.DisposeListener l)
           
abstract  void addListener(int type, org.eclipse.swt.widgets.Listener l)
           
abstract  void addLocationListener(org.eclipse.swt.browser.LocationListener l)
           
abstract  void addOpenWindowListener(org.eclipse.swt.browser.OpenWindowListener l)
           
abstract  void addProgressListener(org.eclipse.swt.browser.ProgressListener l)
           
abstract  void addStatusTextListener(org.eclipse.swt.browser.StatusTextListener l)
           
abstract  void addTitleListener(org.eclipse.swt.browser.TitleListener l)
           
abstract  void back()
           
static BrowserWrapper createBrowser(org.eclipse.swt.widgets.Composite composite, int style)
           
abstract  void dispose()
           
abstract  boolean execute(String str)
           
abstract  org.eclipse.swt.widgets.Composite getControl()
           
abstract  Object getData(String key)
           
abstract  org.eclipse.swt.widgets.Display getDisplay()
           
abstract  Object getLayoutData()
           
abstract  org.eclipse.swt.widgets.Composite getParent()
           
abstract  org.eclipse.swt.widgets.Shell getShell()
           
abstract  String getUrl()
           
abstract  boolean isBackEnabled()
           
abstract  boolean isDisposed()
           
abstract  boolean isFake()
           
abstract  boolean isVisible()
           
abstract  void refresh()
           
abstract  void removeDisposeListener(org.eclipse.swt.events.DisposeListener l)
           
abstract  void removeLocationListener(org.eclipse.swt.browser.LocationListener l)
           
abstract  void removeProgressListener(org.eclipse.swt.browser.ProgressListener l)
           
abstract  void removeStatusTextListener(org.eclipse.swt.browser.StatusTextListener l)
           
abstract  void setBrowser(org.eclipse.swt.browser.WindowEvent event)
           
abstract  void setData(String key, Object value)
           
abstract  void setFocus()
           
abstract  void setLayoutData(Object data)
           
abstract  void setText(String text)
           
abstract  void setUrl(String url)
           
abstract  void setVisible(boolean visible)
           
abstract  void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserWrapper

protected BrowserWrapper()
Method Detail

createBrowser

public static BrowserWrapper createBrowser(org.eclipse.swt.widgets.Composite composite,
                                           int style)

isFake

public abstract boolean isFake()

getControl

public abstract org.eclipse.swt.widgets.Composite getControl()

setBrowser

public abstract void setBrowser(org.eclipse.swt.browser.WindowEvent event)

setVisible

public abstract void setVisible(boolean visible)

isVisible

public abstract boolean isVisible()

isDisposed

public abstract boolean isDisposed()

dispose

public abstract void dispose()

execute

public abstract boolean execute(String str)

isBackEnabled

public abstract boolean isBackEnabled()

getUrl

public abstract String getUrl()

setUrl

public abstract void setUrl(String url)

setText

public abstract void setText(String text)

setData

public abstract void setData(String key,
                             Object value)

getData

public abstract Object getData(String key)

back

public abstract void back()

refresh

public abstract void refresh()

update

public abstract void update()

getShell

public abstract org.eclipse.swt.widgets.Shell getShell()

getDisplay

public abstract org.eclipse.swt.widgets.Display getDisplay()

getParent

public abstract org.eclipse.swt.widgets.Composite getParent()

getLayoutData

public abstract Object getLayoutData()

setLayoutData

public abstract void setLayoutData(Object data)

setFocus

public abstract void setFocus()

addListener

public abstract void addListener(int type,
                                 org.eclipse.swt.widgets.Listener l)

addLocationListener

public abstract void addLocationListener(org.eclipse.swt.browser.LocationListener l)

removeLocationListener

public abstract void removeLocationListener(org.eclipse.swt.browser.LocationListener l)

addTitleListener

public abstract void addTitleListener(org.eclipse.swt.browser.TitleListener l)

addProgressListener

public abstract void addProgressListener(org.eclipse.swt.browser.ProgressListener l)

removeProgressListener

public abstract void removeProgressListener(org.eclipse.swt.browser.ProgressListener l)

addOpenWindowListener

public abstract void addOpenWindowListener(org.eclipse.swt.browser.OpenWindowListener l)

addCloseWindowListener

public abstract void addCloseWindowListener(org.eclipse.swt.browser.CloseWindowListener l)

addDisposeListener

public abstract void addDisposeListener(org.eclipse.swt.events.DisposeListener l)

removeDisposeListener

public abstract void removeDisposeListener(org.eclipse.swt.events.DisposeListener l)

addStatusTextListener

public abstract void addStatusTextListener(org.eclipse.swt.browser.StatusTextListener l)

removeStatusTextListener

public abstract void removeStatusTextListener(org.eclipse.swt.browser.StatusTextListener l)

addBrowserFunction

public abstract BrowserWrapper.BrowserFunction addBrowserFunction(String name,
                                                                  BrowserWrapper.BrowserFunction bf)