com.aelitis.azureus.ui.swt.browser.listener
Class DisplayListener

java.lang.Object
  extended by com.aelitis.azureus.core.messenger.browser.listeners.AbstractBrowserMessageListener
      extended by com.aelitis.azureus.ui.swt.browser.listener.DisplayListener
All Implemented Interfaces:
BrowserMessageListener

public class DisplayListener
extends AbstractBrowserMessageListener


Field Summary
static String DEFAULT_LISTENER_ID
           
static String OP_BRING_TO_FRONT
           
static String OP_COPY_TO_CLIPBOARD
           
static String OP_GET_SELECTED_CONTENT
           
static String OP_IRC_SUPPORT
           
static String OP_OPEN_SEARCH
           
static String OP_OPEN_URL
           
static String OP_REFRESH_TAB
           
static String OP_REGISTER
           
static String OP_RESET_URL
           
static String OP_SEND_EMAIL
           
static String OP_SET_SELECTED_CONTENT
           
static String OP_SHOW_DONATION_WINDOW
           
static String OP_SWITCH_TO_TAB
           
static String VZ_NON_ACTIVE
           
 
Fields inherited from class com.aelitis.azureus.core.messenger.browser.listeners.AbstractBrowserMessageListener
context
 
Constructor Summary
DisplayListener(BrowserWrapper browser)
           
DisplayListener(String id, BrowserWrapper browser)
           
 
Method Summary
 void handleMessage(BrowserMessage message)
          Handles the given message, usually by parsing the parameters and calling the appropriate operation.
static void refreshTab(String tabID)
           
static void switchToTab(String tabID, String sourceRef)
           
 
Methods inherited from class com.aelitis.azureus.core.messenger.browser.listeners.AbstractBrowserMessageListener
debug, debug, getContext, getId, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LISTENER_ID

public static final String DEFAULT_LISTENER_ID
See Also:
Constant Field Values

OP_COPY_TO_CLIPBOARD

public static final String OP_COPY_TO_CLIPBOARD
See Also:
Constant Field Values

OP_OPEN_URL

public static final String OP_OPEN_URL
See Also:
Constant Field Values

OP_RESET_URL

public static final String OP_RESET_URL
See Also:
Constant Field Values

OP_SEND_EMAIL

public static final String OP_SEND_EMAIL
See Also:
Constant Field Values

OP_IRC_SUPPORT

public static final String OP_IRC_SUPPORT
See Also:
Constant Field Values

OP_BRING_TO_FRONT

public static final String OP_BRING_TO_FRONT
See Also:
Constant Field Values

OP_SWITCH_TO_TAB

public static final String OP_SWITCH_TO_TAB
See Also:
Constant Field Values

OP_REFRESH_TAB

public static final String OP_REFRESH_TAB
See Also:
Constant Field Values

VZ_NON_ACTIVE

public static final String VZ_NON_ACTIVE
See Also:
Constant Field Values

OP_SET_SELECTED_CONTENT

public static final String OP_SET_SELECTED_CONTENT
See Also:
Constant Field Values

OP_GET_SELECTED_CONTENT

public static final String OP_GET_SELECTED_CONTENT
See Also:
Constant Field Values

OP_SHOW_DONATION_WINDOW

public static final String OP_SHOW_DONATION_WINDOW
See Also:
Constant Field Values

OP_OPEN_SEARCH

public static final String OP_OPEN_SEARCH
See Also:
Constant Field Values

OP_REGISTER

public static final String OP_REGISTER
See Also:
Constant Field Values
Constructor Detail

DisplayListener

public DisplayListener(String id,
                       BrowserWrapper browser)

DisplayListener

public DisplayListener(BrowserWrapper browser)
Method Detail

handleMessage

public void handleMessage(BrowserMessage message)
Description copied from class: AbstractBrowserMessageListener
Handles the given message, usually by parsing the parameters and calling the appropriate operation.

Specified by:
handleMessage in interface BrowserMessageListener
Specified by:
handleMessage in class AbstractBrowserMessageListener
Parameters:
message - holds all message information

switchToTab

public static void switchToTab(String tabID,
                               String sourceRef)
Parameters:
string -
Since:
3.0.0.7

refreshTab

public static void refreshTab(String tabID)
Parameters:
string -
Since:
3.0.5.0