net.xoetrope.xui.events
Interface XListenerHelper

All Known Implementing Classes:
XEditTable, XList, XTable, XTable, XTable2, XTree

public interface XListenerHelper

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

Copyright (c) Xoetrope Ltd., 2002-2005

$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