JFCML - JFC/Swing
XML Markup Language

com.metasolutions.jfcml.helpers
Class ListenerProxy

java.lang.Object
  extended by com.metasolutions.jfcml.helpers.ListenerProxy
All Implemented Interfaces:
InvocationHandler

public class ListenerProxy
extends Object
implements InvocationHandler

TODO Add a description for this type!

Version:
0.9 Jun 3, 2005
Author:
Shawn Curry, Mathias Henze

Constructor Summary
ListenerProxy(Class c, Element elem, ScriptHandler handler)
           
 
Method Summary
 Object addMethod(String name, String text)
           
 String getMethod(String name)
           
 Object invoke(Object proxy, Method method, Object[] args)
           
static Object newProxyInstance(Class c, Element elem, ScriptHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerProxy

public ListenerProxy(Class c,
                     Element elem,
                     ScriptHandler handler)
Method Detail

newProxyInstance

public static Object newProxyInstance(Class c,
                                      Element elem,
                                      ScriptHandler handler)

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

getMethod

public String getMethod(String name)
Parameters:
key -
Returns:

addMethod

public Object addMethod(String name,
                        String text)
Parameters:
key -
value -
Returns:

SourceForge.net
java.net

Copyright 2004-2005 Shawn Curry, http://jfcml.sourceforge.net
Licensed under the Academic Free License version 2.1