jigcell.compare.ui
Class MenuBuilder.ScriptActionTrampoline

java.lang.Object
  extended by jigcell.compare.ui.MenuBuilder.ScriptActionTrampoline
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
MenuBuilder

protected class MenuBuilder.ScriptActionTrampoline
extends java.lang.Object
implements java.awt.event.ActionListener

Handles and dispatches menu events to handlers. A new interpreter is created for every event so reentrant event code is legal.


Field Summary
protected  java.util.Map handlers
          Item handlers
protected static java.lang.String VARIABLE_EVENT
          Variable at which the event can be reached
protected static java.lang.String VARIABLE_TARGET
          Variable at which the target can be reached
 
Constructor Summary
MenuBuilder.ScriptActionTrampoline()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 java.util.Map getHandlers()
          The script handlers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VARIABLE_EVENT

protected static final java.lang.String VARIABLE_EVENT
Variable at which the event can be reached

See Also:
Constant Field Values

VARIABLE_TARGET

protected static final java.lang.String VARIABLE_TARGET
Variable at which the target can be reached

See Also:
Constant Field Values

handlers

protected java.util.Map handlers
Item handlers

Constructor Detail

MenuBuilder.ScriptActionTrampoline

public MenuBuilder.ScriptActionTrampoline()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

getHandlers

public java.util.Map getHandlers()
The script handlers.