code::ActionListenerAdapter Class Reference

Inheritance diagram for code::ActionListenerAdapter:

code::EventCallback List of all members.

Detailed Description

Takes an ActionListener and makes it behave like an EventCallback.

Author:
Lakshman
Version:
Id
code_ActionListenerAdapter.h,v 1.3 2009/06/02 20:17:39 lakshman Exp


Public Member Functions

 ActionListenerAdapter (SmartPtr< ActionListener > listener, SmartPtr< ActionEvent > event)
virtual void actionPerformed (const Buffer &)
 the buffer is ignored.
virtual ~ActionListenerAdapter ()
virtual void actionPerformedOnError ()
 This is the function that will be invoked when there is a system error making event notification not possible, either for the particular event requested or for all events.


Constructor & Destructor Documentation

code::ActionListenerAdapter::ActionListenerAdapter ( SmartPtr< ActionListener listener,
SmartPtr< ActionEvent event 
) [inline]

virtual code::ActionListenerAdapter::~ActionListenerAdapter (  )  [virtual]


Member Function Documentation

virtual void code::ActionListenerAdapter::actionPerformed ( const Buffer  )  [inline, virtual]

the buffer is ignored.

Implements code::EventCallback.

virtual void code::EventCallback::actionPerformedOnError (  )  [inline, virtual, inherited]

This is the function that will be invoked when there is a system error making event notification not possible, either for the particular event requested or for all events.

Additional arguments may be simply obtained by adding the appropriate arguments to your EventCallback subclass. (See for example, the more rounded LBEventCallback, which gives you access to the LB name used for update notification).


Generated on Fri May 4 13:40:12 2012 for WDSS-IIw2 by  doxygen 1.4.7