org.formaria.aria.events
Interface EventAdapter

All Known Implementing Classes:
ChangeEventHelper, EventProxy, SaveBeforeActionHandler, ValidateAndSaveBeforeActionHandler

public interface EventAdapter


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

Method Detail

setEventHandler

void setEventHandler(AriaEventHandler 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