Class DisplayListener
- java.lang.Object
-
- com.biglybt.core.messenger.browser.listeners.AbstractBrowserMessageListener
-
- com.biglybt.ui.swt.browser.listener.DisplayListener
-
- All Implemented Interfaces:
BrowserMessageListener
public class DisplayListener extends AbstractBrowserMessageListener
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_LISTENER_ID
static java.lang.String
OP_BRING_TO_FRONT
static java.lang.String
OP_COPY_TO_CLIPBOARD
static java.lang.String
OP_OPEN_SEARCH
static java.lang.String
OP_SHOW_DONATION_WINDOW
-
Fields inherited from class com.biglybt.core.messenger.browser.listeners.AbstractBrowserMessageListener
context
-
-
Constructor Summary
Constructors Constructor Description DisplayListener()
DisplayListener(java.lang.String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
bringToFront()
void
handleMessage(BrowserMessage message)
Handles the given message, usually by parsing the parameters and calling the appropriate operation.-
Methods inherited from class com.biglybt.core.messenger.browser.listeners.AbstractBrowserMessageListener
debug, debug, getContext, getId, setContext
-
-
-
-
Field Detail
-
DEFAULT_LISTENER_ID
public static final java.lang.String DEFAULT_LISTENER_ID
- See Also:
- Constant Field Values
-
OP_COPY_TO_CLIPBOARD
public static final java.lang.String OP_COPY_TO_CLIPBOARD
- See Also:
- Constant Field Values
-
OP_BRING_TO_FRONT
public static final java.lang.String OP_BRING_TO_FRONT
- See Also:
- Constant Field Values
-
OP_SHOW_DONATION_WINDOW
public static final java.lang.String OP_SHOW_DONATION_WINDOW
- See Also:
- Constant Field Values
-
OP_OPEN_SEARCH
public static final java.lang.String OP_OPEN_SEARCH
- See Also:
- Constant Field Values
-
-
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 interfaceBrowserMessageListener
- Specified by:
handleMessage
in classAbstractBrowserMessageListener
- Parameters:
message
- holds all message information
-
bringToFront
private void bringToFront()
-
-