net.xoetrope.xui.events
Interface XEventAdapter

All Known Implementing Classes:
XChangeEventHelper, XEventProxy

public interface XEventAdapter


Method Summary
 java.lang.String getAddMethodName()
          Get the name of the adder method e.g. addActionListener
 long getEventMask()
          Get the event mask
 java.lang.String getListenerInterfaceName()
          Get the name of the listener e.g. java.awt.event.ActionListener
 void setEventHandler(XuiEventHandler xeh)
          Set the current event handler
 

Method Detail

setEventHandler

void setEventHandler(XuiEventHandler xeh)
Set the current event handler

Parameters:
xeh - the event handler

getAddMethodName

java.lang.String getAddMethodName()
Get the name of the adder method e.g. addActionListener

Returns:
the method name

getListenerInterfaceName

java.lang.String getListenerInterfaceName()
Get the name of the listener e.g. java.awt.event.ActionListener

Returns:
the listener name

getEventMask

long getEventMask()
Get the event mask

Returns:
the mask e.g. AWTEvent.ACTION_MASK