org.brains2b.coffee.plugin
Interface CoffeeExchangeView

All Superinterfaces:
CoffeeExchange
All Known Subinterfaces:
CfOptionView
All Known Implementing Classes:
BinaryOptions, CfBinarySend, CfCoffeeList, CfDetailView, CfEditHeaderPane, CfEditMessage, CfFrame, CfIdentity, CfMessagePane, CfOptions, CfQueView, CfServer, CfServerPane, CfStatusBar, NewsSearch, NzbGuiPanel

public interface CoffeeExchangeView
extends CoffeeExchange

Interface for defining a GUI plugin

Version:
$Revision: 1.6 $ $Date: 2009/10/05 02:17:18 $
Author:
dennis@brains2b.nl

Method Summary
 void activate()
           
 void addFocusListener(java.awt.event.FocusListener f)
           
 void deactivate()
           
 void fireCoffeeEvent(CoffeeExchange source, int action, java.lang.Object argument)
           
 javax.swing.JMenu[] getMenus()
           
 int getSelectEvent(int messageType)
          get the event ID for selecting a message in a connected View of type messageType that is needed by this View
 boolean isVisible()
           
 void removeFocusListener(java.awt.event.FocusListener f)
           
 
Methods inherited from interface org.brains2b.coffee.event.CoffeeExchange
setCurrentMessage
 

Method Detail

fireCoffeeEvent

void fireCoffeeEvent(CoffeeExchange source,
                     int action,
                     java.lang.Object argument)

getMenus

javax.swing.JMenu[] getMenus()

getSelectEvent

int getSelectEvent(int messageType)
get the event ID for selecting a message in a connected View of type messageType that is needed by this View

Parameters:
messageType - int, the message type of the event
Returns:
int the AWTEvent.getID() which is needed to populate this View

activate

void activate()

deactivate

void deactivate()

isVisible

boolean isVisible()

addFocusListener

void addFocusListener(java.awt.event.FocusListener f)

removeFocusListener

void removeFocusListener(java.awt.event.FocusListener f)