org.formaria.aria.events
Interface ListenerHelper

All Known Implementing Classes:
CheckList, EditTable, List, Spinner, Table, Table, TableModelView, TabPanel, Tree, TreeTable

public interface ListenerHelper

An interface to support addition of component specific event handling from the AriaBuilder class without having to know specific details of the component or the event.

Copyright (c) Formaria Ltd., 2008

$Revision: 2.4 $

License: see License.txt


Method Summary
 void addHandler(java.lang.Object page, java.lang.String handlerType, java.lang.String methodName)
          Add an event handler response method to a component such that the page's response method is invoked when the event occurs
 

Method Detail

addHandler

void addHandler(java.lang.Object page,
                java.lang.String handlerType,
                java.lang.String methodName)
                throws java.lang.NoSuchMethodException
Add an event handler response method to a component such that the page's response method is invoked when the event occurs

Parameters:
page - the page containing the method
handlerType - the type of event handler
methodName - the method to invoke
Throws:
java.lang.NoSuchMethodException - throw if the named Method cannot be found