uic.output
Class AbstractWidget.ActionInformation

java.lang.Object
  extended by uic.output.AbstractWidget.ActionInformation
Direct Known Subclasses:
AbstractWidget.ZavalActionInformation
Enclosing class:
AbstractWidget

public static class AbstractWidget.ActionInformation
extends Object

For each connection this is the information to subscribe a signal to a widget. This is only the signal, the slot information is a simple string!


Constructor Summary
AbstractWidget.ActionInformation(String listener)
           
AbstractWidget.ActionInformation(String listener, String getter)
           
 
Method Summary
 MethodRepresenter getAddHandlerMethod(WidgetRepresenter sender, WidgetRepresenter receiver, String slotAction)
          Create a MethodRepresenter that can be used to add a listener to a widget.
 String getGetterMethodName()
           
 String getListenerClass()
           
 String getListenerFullClassname()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractWidget.ActionInformation

public AbstractWidget.ActionInformation(String listener,
                                        String getter)

AbstractWidget.ActionInformation

public AbstractWidget.ActionInformation(String listener)
Method Detail

getListenerClass

public String getListenerClass()

getListenerFullClassname

public String getListenerFullClassname()

getGetterMethodName

public String getGetterMethodName()

getAddHandlerMethod

public MethodRepresenter getAddHandlerMethod(WidgetRepresenter sender,
                                             WidgetRepresenter receiver,
                                             String slotAction)
Create a MethodRepresenter that can be used to add a listener to a widget. For example:
<sender>.addChangeListener(java.beans.EventHandler.create(ChangeListener.class, <receiver<, Value, source.Value)); Override this method to support other widget sets (For example zaval or swt)



Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence