org.apache.click.util
Class ActionListenerAdaptor

java.lang.Object
  extended by org.apache.click.util.ActionListenerAdaptor
All Implemented Interfaces:
Serializable, ActionListener

Deprecated. ActionListener only has a single method to implement, there is no need for an adaptor

public class ActionListenerAdaptor
extends Object
implements ActionListener, Serializable

Provides an ActionListener adaptor instance.

See Also:
Serialized Form

Field Summary
protected  Object listener
          Deprecated. The target listener object.
protected  String method
          Deprecated. The target listener method name.
 
Constructor Summary
ActionListenerAdaptor(Object target, String method)
          Deprecated. Create an ActionListener adaptor instance for the given listener target object and listener method.
 
Method Summary
 boolean onAction(Control source)
          Deprecated. Return true if the control and page processing should continue, or false otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listener

protected final Object listener
Deprecated. 
The target listener object.


method

protected final String method
Deprecated. 
The target listener method name.

Constructor Detail

ActionListenerAdaptor

public ActionListenerAdaptor(Object target,
                             String method)
Deprecated. 
Create an ActionListener adaptor instance for the given listener target object and listener method.

Parameters:
target - the listener object
method - the target listener method name
Method Detail

onAction

public boolean onAction(Control source)
Deprecated. 
Description copied from interface: ActionListener
Return true if the control and page processing should continue, or false otherwise.

Specified by:
onAction in interface ActionListener
Parameters:
source - the source of the action event
Returns:
true if control and page processing should continue or false otherwise.
See Also:
ActionListener.onAction(Control)